@ahrowe/ui 0.33.0 → 0.35.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 (566) hide show
  1. package/README.md +101 -40
  2. package/dist/esm/common/accordion/accordion.mjs +1 -1
  3. package/dist/esm/common/accordion/accordion.mjs.map +1 -1
  4. package/dist/esm/common/accordion/accordion.module.mjs +1 -1
  5. package/dist/esm/common/accordion/accordion.module.mjs.map +1 -1
  6. package/dist/esm/common/accordion/accordion.plain.module.mjs +1 -1
  7. package/dist/esm/common/accordion/accordion.plain.module.mjs.map +1 -1
  8. package/dist/esm/common/accordion/accordion.primary.module.mjs +1 -1
  9. package/dist/esm/common/accordion/accordion.primary.module.mjs.map +1 -1
  10. package/dist/esm/common/accordion/accordion.types.mjs +1 -1
  11. package/dist/esm/common/accordion/accordion.types.mjs.map +1 -1
  12. package/dist/esm/common/actionButtons/actionButtons.mjs +1 -1
  13. package/dist/esm/common/actionButtons/actionButtons.mjs.map +1 -1
  14. package/dist/esm/common/actionButtons/actionButtons.module.mjs +1 -1
  15. package/dist/esm/common/actionIcon/actionIcon.mjs +1 -1
  16. package/dist/esm/common/actionIcon/actionIcon.mjs.map +1 -1
  17. package/dist/esm/common/actionIcon/actionIcon.module.mjs +1 -1
  18. package/dist/esm/common/actionIcon/actionIcon.module.mjs.map +1 -1
  19. package/dist/esm/common/alert/alert.mjs +1 -1
  20. package/dist/esm/common/alert/alert.mjs.map +1 -1
  21. package/dist/esm/common/alert/alert.module.mjs +1 -1
  22. package/dist/esm/common/alert/alert.types.mjs +1 -1
  23. package/dist/esm/common/alert/alert.types.mjs.map +1 -1
  24. package/dist/esm/common/animatedIcon/animatedIcon.mjs +1 -1
  25. package/dist/esm/common/animatedIcon/animatedIcon.mjs.map +1 -1
  26. package/dist/esm/common/animatedIcon/animatedIcon.module.mjs +1 -1
  27. package/dist/esm/common/animatedLogo/animatedLogo.mjs +1 -1
  28. package/dist/esm/common/animatedLogo/animatedLogo.mjs.map +1 -1
  29. package/dist/esm/common/animatedLogo/animatedLogo.module.mjs +1 -1
  30. package/dist/esm/common/animatedText/animatedText.mjs +1 -1
  31. package/dist/esm/common/animatedText/animatedText.mjs.map +1 -1
  32. package/dist/esm/common/animatedText/animatedText.module.mjs +1 -1
  33. package/dist/esm/common/animatedText/animatedText.types.mjs +1 -1
  34. package/dist/esm/common/animatedText/animatedText.types.mjs.map +1 -1
  35. package/dist/esm/common/avatar/avatar.mjs +1 -1
  36. package/dist/esm/common/avatar/avatar.mjs.map +1 -1
  37. package/dist/esm/common/avatar/avatar.module.mjs +1 -1
  38. package/dist/esm/common/avatar/avatarGroup.mjs +1 -1
  39. package/dist/esm/common/avatar/avatarGroup.mjs.map +1 -1
  40. package/dist/esm/common/badge/badge.mjs +1 -1
  41. package/dist/esm/common/badge/badge.mjs.map +1 -1
  42. package/dist/esm/common/badge/badge.module.mjs +1 -1
  43. package/dist/esm/common/badge/badge.types.mjs +1 -1
  44. package/dist/esm/common/badge/badge.types.mjs.map +1 -1
  45. package/dist/esm/common/bodyEnd/bodyEnd.mjs +1 -1
  46. package/dist/esm/common/bodyEnd/bodyEnd.mjs.map +1 -1
  47. package/dist/esm/common/breadcrumb/breadcrumb.mjs +1 -1
  48. package/dist/esm/common/breadcrumb/breadcrumb.mjs.map +1 -1
  49. package/dist/esm/common/breadcrumb/breadcrumb.module.mjs +1 -1
  50. package/dist/esm/common/breadcrumb/breadcrumb.module.mjs.map +1 -1
  51. package/dist/esm/common/button/button.mjs +1 -1
  52. package/dist/esm/common/button/button.mjs.map +1 -1
  53. package/dist/esm/common/button/button.module.mjs +1 -1
  54. package/dist/esm/common/button/button.types.mjs +1 -1
  55. package/dist/esm/common/button/button.types.mjs.map +1 -1
  56. package/dist/esm/common/buttonGroup/buttonGroup.mjs +1 -1
  57. package/dist/esm/common/buttonGroup/buttonGroup.mjs.map +1 -1
  58. package/dist/esm/common/buttonGroup/buttonGroup.module.mjs +1 -1
  59. package/dist/esm/common/buttonGroup/buttonGroup.types.mjs +1 -1
  60. package/dist/esm/common/buttonGroup/buttonGroup.types.mjs.map +1 -1
  61. package/dist/esm/common/card/Card.mjs +1 -1
  62. package/dist/esm/common/card/Card.mjs.map +1 -1
  63. package/dist/esm/common/card/CardActions.mjs +1 -1
  64. package/dist/esm/common/card/CardActions.mjs.map +1 -1
  65. package/dist/esm/common/card/CardContent.mjs +1 -1
  66. package/dist/esm/common/card/CardContent.mjs.map +1 -1
  67. package/dist/esm/common/card/CardHeader.mjs +1 -1
  68. package/dist/esm/common/card/CardHeader.mjs.map +1 -1
  69. package/dist/esm/common/card/CardMedia.mjs +1 -1
  70. package/dist/esm/common/card/CardMedia.mjs.map +1 -1
  71. package/dist/esm/common/card/card.module.mjs +1 -1
  72. package/dist/esm/common/card/card.module.mjs.map +1 -1
  73. package/dist/esm/common/card/card.types.mjs +1 -1
  74. package/dist/esm/common/card/card.types.mjs.map +1 -1
  75. package/dist/esm/common/carousel/carousel.mjs +1 -1
  76. package/dist/esm/common/carousel/carousel.mjs.map +1 -1
  77. package/dist/esm/common/carousel/carousel.module.mjs +1 -1
  78. package/dist/esm/common/checkbox/checkbox.mjs +1 -1
  79. package/dist/esm/common/checkbox/checkbox.mjs.map +1 -1
  80. package/dist/esm/common/checkbox/checkbox.module.mjs +1 -1
  81. package/dist/esm/common/checkbox/checkbox.module.mjs.map +1 -1
  82. package/dist/esm/common/chip/chip.mjs +1 -1
  83. package/dist/esm/common/chip/chip.mjs.map +1 -1
  84. package/dist/esm/common/chip/chip.module.mjs +1 -1
  85. package/dist/esm/common/chip/chip.types.mjs +1 -1
  86. package/dist/esm/common/chip/chip.types.mjs.map +1 -1
  87. package/dist/esm/common/chip/chipContainer.mjs +1 -1
  88. package/dist/esm/common/chip/chipContainer.mjs.map +1 -1
  89. package/dist/esm/common/colorPicker/colorPicker.mjs +1 -1
  90. package/dist/esm/common/colorPicker/colorPicker.mjs.map +1 -1
  91. package/dist/esm/common/colorPicker/colorPicker.module.mjs +1 -1
  92. package/dist/esm/common/colorPicker/colorPicker.module.mjs.map +1 -1
  93. package/dist/esm/common/colorPicker/toHex.mjs +1 -1
  94. package/dist/esm/common/colorPicker/toHex.mjs.map +1 -1
  95. package/dist/esm/common/configProvider/configProvider.mjs +1 -1
  96. package/dist/esm/common/configProvider/configProvider.mjs.map +1 -1
  97. package/dist/esm/common/configProvider/presentation.types.mjs +2 -0
  98. package/dist/esm/common/configProvider/presentation.types.mjs.map +1 -0
  99. package/dist/esm/common/configProvider/useComponentDefaults.mjs +1 -1
  100. package/dist/esm/common/configProvider/useComponentDefaults.mjs.map +1 -1
  101. package/dist/esm/common/configProvider/useLabels.mjs +1 -1
  102. package/dist/esm/common/configProvider/useLabels.mjs.map +1 -1
  103. package/dist/esm/common/configProvider/usePresentationDefault.mjs +1 -1
  104. package/dist/esm/common/configProvider/usePresentationDefault.mjs.map +1 -1
  105. package/dist/esm/common/confirmModal/confirmModal.mjs +1 -1
  106. package/dist/esm/common/confirmModal/confirmModal.mjs.map +1 -1
  107. package/dist/esm/common/datePicker/components/datePickerMonth/datePickerMonth.mjs +1 -1
  108. package/dist/esm/common/datePicker/components/datePickerMonth/datePickerMonth.mjs.map +1 -1
  109. package/dist/esm/common/datePicker/components/datePickerMonth/datePickerMonth.module.mjs +1 -1
  110. package/dist/esm/common/datePicker/components/datePickerMonth/datePickerMonth.module.mjs.map +1 -1
  111. package/dist/esm/common/datePicker/dateFunctions.mjs +1 -1
  112. package/dist/esm/common/datePicker/dateFunctions.mjs.map +1 -1
  113. package/dist/esm/common/datePicker/datePicker.mjs +1 -1
  114. package/dist/esm/common/datePicker/datePicker.mjs.map +1 -1
  115. package/dist/esm/common/datePicker/datePicker.module.mjs +1 -1
  116. package/dist/esm/common/divider/divider.mjs +1 -1
  117. package/dist/esm/common/divider/divider.mjs.map +1 -1
  118. package/dist/esm/common/divider/divider.module.mjs +1 -1
  119. package/dist/esm/common/divider/divider.types.mjs +1 -1
  120. package/dist/esm/common/divider/divider.types.mjs.map +1 -1
  121. package/dist/esm/common/drawer/drawer.mjs +1 -1
  122. package/dist/esm/common/drawer/drawer.mjs.map +1 -1
  123. package/dist/esm/common/drawer/drawer.module.mjs +1 -1
  124. package/dist/esm/common/dropZone/dropZone.mjs +1 -1
  125. package/dist/esm/common/dropZone/dropZone.mjs.map +1 -1
  126. package/dist/esm/common/dropZone/dropZone.module.mjs +1 -1
  127. package/dist/esm/common/dropZone/dropZone.types.mjs +1 -1
  128. package/dist/esm/common/dropZone/dropZone.types.mjs.map +1 -1
  129. package/dist/esm/common/dropdown/dropdown.mjs +1 -1
  130. package/dist/esm/common/dropdown/dropdown.mjs.map +1 -1
  131. package/dist/esm/common/dropdown/dropdown.module.mjs +1 -1
  132. package/dist/esm/common/dropdown/dropdown.module.mjs.map +1 -1
  133. package/dist/esm/common/emptyState/emptyState.mjs +1 -1
  134. package/dist/esm/common/emptyState/emptyState.mjs.map +1 -1
  135. package/dist/esm/common/emptyState/emptyState.module.mjs +1 -1
  136. package/dist/esm/common/errorBoundary/errorBoundary.mjs +1 -1
  137. package/dist/esm/common/errorBoundary/errorBoundary.mjs.map +1 -1
  138. package/dist/esm/common/errorBoundary/errorBoundary.module.mjs +1 -1
  139. package/dist/esm/common/fab/components/fabBase/fabBase.mjs +1 -1
  140. package/dist/esm/common/fab/components/fabBase/fabBase.mjs.map +1 -1
  141. package/dist/esm/common/fab/components/fabBase/fabBase.module.mjs +1 -1
  142. package/dist/esm/common/fab/fab.mjs +1 -1
  143. package/dist/esm/common/fab/fab.mjs.map +1 -1
  144. package/dist/esm/common/fab/fab.module.mjs +1 -1
  145. package/dist/esm/common/fab/fab.module.mjs.map +1 -1
  146. package/dist/esm/common/flip/flip.mjs +1 -1
  147. package/dist/esm/common/flip/flip.mjs.map +1 -1
  148. package/dist/esm/common/flip/flip.module.mjs +1 -1
  149. package/dist/esm/common/floorPlan/floorPlan.faces.mjs +1 -1
  150. package/dist/esm/common/floorPlan/floorPlan.faces.mjs.map +1 -1
  151. package/dist/esm/common/floorPlan/floorPlan.geometry.mjs +1 -1
  152. package/dist/esm/common/floorPlan/floorPlan.geometry.mjs.map +1 -1
  153. package/dist/esm/common/floorPlan/floorPlan.graph.mjs +1 -1
  154. package/dist/esm/common/floorPlan/floorPlan.graph.mjs.map +1 -1
  155. package/dist/esm/common/floorPlan/floorPlan.hit.mjs +1 -1
  156. package/dist/esm/common/floorPlan/floorPlan.hit.mjs.map +1 -1
  157. package/dist/esm/common/floorPlan/floorPlan.json.mjs +1 -1
  158. package/dist/esm/common/floorPlan/floorPlan.json.mjs.map +1 -1
  159. package/dist/esm/common/floorPlan/floorPlan.mesh.mjs +1 -1
  160. package/dist/esm/common/floorPlan/floorPlan.mesh.mjs.map +1 -1
  161. package/dist/esm/common/floorPlan/floorPlan.path.mjs +1 -1
  162. package/dist/esm/common/floorPlan/floorPlan.path.mjs.map +1 -1
  163. package/dist/esm/common/floorPlan/floorPlan.plan.mjs +1 -1
  164. package/dist/esm/common/floorPlan/floorPlan.plan.mjs.map +1 -1
  165. package/dist/esm/common/floorPlan/floorPlan.rooms.mjs +1 -1
  166. package/dist/esm/common/floorPlan/floorPlan.rooms.mjs.map +1 -1
  167. package/dist/esm/common/floorPlan/floorPlan.snap.mjs +1 -1
  168. package/dist/esm/common/floorPlan/floorPlan.snap.mjs.map +1 -1
  169. package/dist/esm/common/floorPlan/floorPlan.triangulate.mjs +1 -1
  170. package/dist/esm/common/floorPlan/floorPlan.triangulate.mjs.map +1 -1
  171. package/dist/esm/common/floorPlan/floorPlan.types.mjs +1 -1
  172. package/dist/esm/common/floorPlan/floorPlan.types.mjs.map +1 -1
  173. package/dist/esm/common/floorPlan/legacySvg.mjs +1 -1
  174. package/dist/esm/common/floorPlan/legacySvg.mjs.map +1 -1
  175. package/dist/esm/common/hooks/useAnchorTracking.mjs +1 -1
  176. package/dist/esm/common/hooks/useAnchorTracking.mjs.map +1 -1
  177. package/dist/esm/common/hooks/useCoarsePointer.mjs +1 -1
  178. package/dist/esm/common/hooks/useCoarsePointer.mjs.map +1 -1
  179. package/dist/esm/common/hooks/useFocusBoundary.mjs +1 -1
  180. package/dist/esm/common/hooks/useFocusBoundary.mjs.map +1 -1
  181. package/dist/esm/common/hooks/useMediaQuery.mjs +1 -1
  182. package/dist/esm/common/hooks/useMediaQuery.mjs.map +1 -1
  183. package/dist/esm/common/hooks/useOverlay.mjs +1 -1
  184. package/dist/esm/common/hooks/useOverlay.mjs.map +1 -1
  185. package/dist/esm/common/hooks/useSheet.mjs +1 -1
  186. package/dist/esm/common/hooks/useSheet.mjs.map +1 -1
  187. package/dist/esm/common/hooks/useSwipeDismiss.mjs +1 -1
  188. package/dist/esm/common/hooks/useSwipeDismiss.mjs.map +1 -1
  189. package/dist/esm/common/hooks/useVisualViewportSize.mjs +1 -1
  190. package/dist/esm/common/hooks/useVisualViewportSize.mjs.map +1 -1
  191. package/dist/esm/common/iconPicker/iconPicker.mjs +1 -1
  192. package/dist/esm/common/iconPicker/iconPicker.mjs.map +1 -1
  193. package/dist/esm/common/iconPicker/iconPicker.module.mjs +1 -1
  194. package/dist/esm/common/idleManager/idleManager.mjs +1 -1
  195. package/dist/esm/common/idleManager/idleManager.mjs.map +1 -1
  196. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs +1 -1
  197. package/dist/esm/common/infiniteBlock/infiniteBlock.mjs.map +1 -1
  198. package/dist/esm/common/infiniteBlock/infiniteBlock.module.mjs +1 -1
  199. package/dist/esm/common/input/input.mjs +1 -1
  200. package/dist/esm/common/input/input.mjs.map +1 -1
  201. package/dist/esm/common/input/input.module.mjs +1 -1
  202. package/dist/esm/common/input/input.module.mjs.map +1 -1
  203. package/dist/esm/common/input/input.types.mjs +1 -1
  204. package/dist/esm/common/input/input.types.mjs.map +1 -1
  205. package/dist/esm/common/inputDropdown/inputDropdown.mjs +1 -1
  206. package/dist/esm/common/inputDropdown/inputDropdown.mjs.map +1 -1
  207. package/dist/esm/common/inputDropdown/inputDropdown.module.mjs +1 -1
  208. package/dist/esm/common/inputDropdown/inputDropdown.module.mjs.map +1 -1
  209. package/dist/esm/common/interactableDiv/index.mjs +1 -1
  210. package/dist/esm/common/interactableDiv/index.mjs.map +1 -1
  211. package/dist/esm/common/interactableDiv/interactableDiv.mjs +1 -1
  212. package/dist/esm/common/interactableDiv/interactableDiv.mjs.map +1 -1
  213. package/dist/esm/common/interactableDiv/interactableDiv.module.mjs +1 -1
  214. package/dist/esm/common/kanbanBoard/KanbanBoard.mjs +1 -1
  215. package/dist/esm/common/kanbanBoard/KanbanBoard.mjs.map +1 -1
  216. package/dist/esm/common/kanbanBoard/KanbanColumn.mjs +1 -1
  217. package/dist/esm/common/kanbanBoard/KanbanColumn.mjs.map +1 -1
  218. package/dist/esm/common/kanbanBoard/KanbanItem.mjs +1 -1
  219. package/dist/esm/common/kanbanBoard/KanbanItem.mjs.map +1 -1
  220. package/dist/esm/common/kanbanBoard/kanbanBoard.module.mjs +1 -1
  221. package/dist/esm/common/kanbanBoard/kanbanBoard.utils.mjs +1 -1
  222. package/dist/esm/common/kanbanBoard/kanbanBoard.utils.mjs.map +1 -1
  223. package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.mjs +1 -1
  224. package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.mjs.map +1 -1
  225. package/dist/esm/common/klipyPicker/components/gifPreview/gifPreview.module.mjs +1 -1
  226. package/dist/esm/common/klipyPicker/components/gifView/gifView.mjs +1 -1
  227. package/dist/esm/common/klipyPicker/components/gifView/gifView.mjs.map +1 -1
  228. package/dist/esm/common/klipyPicker/components/gifView/gifView.module.mjs +1 -1
  229. package/dist/esm/common/klipyPicker/klipyPicker.mjs +1 -1
  230. package/dist/esm/common/klipyPicker/klipyPicker.mjs.map +1 -1
  231. package/dist/esm/common/klipyPicker/klipyPicker.module.mjs +1 -1
  232. package/dist/esm/common/loading/iconLoading/iconLoading.mjs +1 -1
  233. package/dist/esm/common/loading/iconLoading/iconLoading.mjs.map +1 -1
  234. package/dist/esm/common/loading/iconLoading/iconLoading.module.mjs +1 -1
  235. package/dist/esm/common/loading/iconLoading/index.mjs +1 -1
  236. package/dist/esm/common/loading/iconLoading/index.mjs.map +1 -1
  237. package/dist/esm/common/loading/spinnerLoading/index.mjs +1 -1
  238. package/dist/esm/common/loading/spinnerLoading/index.mjs.map +1 -1
  239. package/dist/esm/common/loading/spinnerLoading/spinnerLoading.mjs +1 -1
  240. package/dist/esm/common/loading/spinnerLoading/spinnerLoading.mjs.map +1 -1
  241. package/dist/esm/common/loading/spinnerLoading/spinnerLoading.module.mjs +1 -1
  242. package/dist/esm/common/menu/menu.mjs +2 -0
  243. package/dist/esm/common/menu/menu.mjs.map +1 -0
  244. package/dist/esm/common/menu/menu.module.mjs +2 -0
  245. package/dist/esm/common/menu/menu.module.mjs.map +1 -0
  246. package/dist/esm/common/menu/menu.types.mjs +2 -0
  247. package/dist/esm/common/menu/menu.types.mjs.map +1 -0
  248. package/dist/esm/common/modal/modal.mjs +1 -1
  249. package/dist/esm/common/modal/modal.mjs.map +1 -1
  250. package/dist/esm/common/modal/modal.module.mjs +1 -1
  251. package/dist/esm/common/modal/modal.module.mjs.map +1 -1
  252. package/dist/esm/common/multiSelect/multiSelect.mjs +1 -1
  253. package/dist/esm/common/multiSelect/multiSelect.mjs.map +1 -1
  254. package/dist/esm/common/multiSelect/multiSelect.module.mjs +1 -1
  255. package/dist/esm/common/multiSelect/multiSelect.module.mjs.map +1 -1
  256. package/dist/esm/common/numberInput/index.mjs +1 -1
  257. package/dist/esm/common/numberInput/index.mjs.map +1 -1
  258. package/dist/esm/common/numberInput/numberInput.mjs +1 -1
  259. package/dist/esm/common/numberInput/numberInput.mjs.map +1 -1
  260. package/dist/esm/common/numberInput/numberInput.module.mjs +1 -1
  261. package/dist/esm/common/numberInput/useStepRepeat.mjs +1 -1
  262. package/dist/esm/common/numberInput/useStepRepeat.mjs.map +1 -1
  263. package/dist/esm/common/optionPicker/optionPicker.mjs +1 -1
  264. package/dist/esm/common/optionPicker/optionPicker.mjs.map +1 -1
  265. package/dist/esm/common/optionPicker/optionPicker.module.mjs +1 -1
  266. package/dist/esm/common/otpInput/otpInput.mjs +1 -1
  267. package/dist/esm/common/otpInput/otpInput.mjs.map +1 -1
  268. package/dist/esm/common/otpInput/otpInput.module.mjs +1 -1
  269. package/dist/esm/common/otpInput/otpInput.types.mjs +1 -1
  270. package/dist/esm/common/otpInput/otpInput.types.mjs.map +1 -1
  271. package/dist/esm/common/overscroll/overscroll.mjs +1 -1
  272. package/dist/esm/common/overscroll/overscroll.mjs.map +1 -1
  273. package/dist/esm/common/overscroll/overscroll.module.mjs +1 -1
  274. package/dist/esm/common/pagination/pagination.mjs +1 -1
  275. package/dist/esm/common/pagination/pagination.mjs.map +1 -1
  276. package/dist/esm/common/pagination/pagination.module.mjs +1 -1
  277. package/dist/esm/common/planCanvas/planCanvas.mjs +1 -1
  278. package/dist/esm/common/planCanvas/planCanvas.mjs.map +1 -1
  279. package/dist/esm/common/planCanvas/planCanvas.module.mjs +1 -1
  280. package/dist/esm/common/popover/popover.mjs +1 -1
  281. package/dist/esm/common/popover/popover.mjs.map +1 -1
  282. package/dist/esm/common/popover/popover.module.mjs +1 -1
  283. package/dist/esm/common/popover/popover.module.mjs.map +1 -1
  284. package/dist/esm/common/popover/popover.types.mjs +1 -1
  285. package/dist/esm/common/popover/popover.types.mjs.map +1 -1
  286. package/dist/esm/common/popover/usePopoverPosition.mjs +1 -1
  287. package/dist/esm/common/popover/usePopoverPosition.mjs.map +1 -1
  288. package/dist/esm/common/progressBar/progressBar.mjs +1 -1
  289. package/dist/esm/common/progressBar/progressBar.mjs.map +1 -1
  290. package/dist/esm/common/progressBar/progressBar.module.mjs +1 -1
  291. package/dist/esm/common/progressBar/progressBar.module.mjs.map +1 -1
  292. package/dist/esm/common/radioGroup/radioGroup.mjs +1 -1
  293. package/dist/esm/common/radioGroup/radioGroup.mjs.map +1 -1
  294. package/dist/esm/common/radioGroup/radioGroup.module.mjs +1 -1
  295. package/dist/esm/common/radioGroup/radioGroup.module.mjs.map +1 -1
  296. package/dist/esm/common/radioGroup/radioGroup.types.mjs +1 -1
  297. package/dist/esm/common/radioGroup/radioGroup.types.mjs.map +1 -1
  298. package/dist/esm/common/rating/rating.mjs +1 -1
  299. package/dist/esm/common/rating/rating.mjs.map +1 -1
  300. package/dist/esm/common/rating/rating.module.mjs +1 -1
  301. package/dist/esm/common/revealLens/revealLens.mjs +1 -1
  302. package/dist/esm/common/revealLens/revealLens.mjs.map +1 -1
  303. package/dist/esm/common/revealLens/revealLens.module.mjs +1 -1
  304. package/dist/esm/common/ripple/ripple.mjs +1 -1
  305. package/dist/esm/common/ripple/ripple.mjs.map +1 -1
  306. package/dist/esm/common/ripple/ripple.module.mjs +1 -1
  307. package/dist/esm/common/ripple/ripple.module.mjs.map +1 -1
  308. package/dist/esm/common/roomDrawer/roomDrawer.mjs +1 -1
  309. package/dist/esm/common/roomDrawer/roomDrawer.mjs.map +1 -1
  310. package/dist/esm/common/roomDrawer/roomDrawer.module.mjs +1 -1
  311. package/dist/esm/common/roomDrawer/usePlanHistory.mjs +1 -1
  312. package/dist/esm/common/roomDrawer/usePlanHistory.mjs.map +1 -1
  313. package/dist/esm/common/roomViewer/roomViewer.mjs +1 -1
  314. package/dist/esm/common/roomViewer/roomViewer.mjs.map +1 -1
  315. package/dist/esm/common/roomViewer/roomViewer.module.mjs +1 -1
  316. package/dist/esm/common/scrollbarProvider/index.mjs +1 -1
  317. package/dist/esm/common/scrollbarProvider/index.mjs.map +1 -1
  318. package/dist/esm/common/scrollbarProvider/scrollbarProvider.mjs +1 -1
  319. package/dist/esm/common/scrollbarProvider/scrollbarProvider.mjs.map +1 -1
  320. package/dist/esm/common/scrollbarProvider/scrollbarProvider.module.mjs +1 -1
  321. package/dist/esm/common/searchInput/searchInput.mjs +1 -1
  322. package/dist/esm/common/searchInput/searchInput.mjs.map +1 -1
  323. package/dist/esm/common/searchInput/searchInput.module.mjs +1 -1
  324. package/dist/esm/common/sectionHeader/sectionHeader.mjs +1 -1
  325. package/dist/esm/common/sectionHeader/sectionHeader.mjs.map +1 -1
  326. package/dist/esm/common/sectionHeader/sectionHeader.module.mjs +1 -1
  327. package/dist/esm/common/sectionHeader/sectionHeader.types.mjs +1 -1
  328. package/dist/esm/common/sectionHeader/sectionHeader.types.mjs.map +1 -1
  329. package/dist/esm/common/sheetBackdrop/sheetBackdrop.mjs +1 -1
  330. package/dist/esm/common/sheetBackdrop/sheetBackdrop.mjs.map +1 -1
  331. package/dist/esm/common/skeleton/skeleton.mjs +1 -1
  332. package/dist/esm/common/skeleton/skeleton.mjs.map +1 -1
  333. package/dist/esm/common/skeleton/skeleton.module.mjs +1 -1
  334. package/dist/esm/common/skeleton/skeleton.types.mjs +1 -1
  335. package/dist/esm/common/skeleton/skeleton.types.mjs.map +1 -1
  336. package/dist/esm/common/slider/slider.mjs +1 -1
  337. package/dist/esm/common/slider/slider.mjs.map +1 -1
  338. package/dist/esm/common/slider/slider.module.mjs +1 -1
  339. package/dist/esm/common/splitButton/splitButton.mjs +1 -1
  340. package/dist/esm/common/splitButton/splitButton.mjs.map +1 -1
  341. package/dist/esm/common/splitButton/splitButton.module.mjs +1 -1
  342. package/dist/esm/common/splitButton/splitButton.module.mjs.map +1 -1
  343. package/dist/esm/common/stepper/stepper.mjs +1 -1
  344. package/dist/esm/common/stepper/stepper.mjs.map +1 -1
  345. package/dist/esm/common/stepper/stepper.module.mjs +1 -1
  346. package/dist/esm/common/stepper/stepper.types.mjs +1 -1
  347. package/dist/esm/common/stepper/stepper.types.mjs.map +1 -1
  348. package/dist/esm/common/sticky/sticky.mjs +1 -1
  349. package/dist/esm/common/sticky/sticky.mjs.map +1 -1
  350. package/dist/esm/common/sticky/sticky.module.mjs +1 -1
  351. package/dist/esm/common/sticky/stickyStack.mjs +1 -1
  352. package/dist/esm/common/sticky/stickyStack.mjs.map +1 -1
  353. package/dist/esm/common/styles/sheet.module.mjs +1 -1
  354. package/dist/esm/common/styles/sheet.module.mjs.map +1 -1
  355. package/dist/esm/common/switch/switch.mjs +1 -1
  356. package/dist/esm/common/switch/switch.mjs.map +1 -1
  357. package/dist/esm/common/switch/switch.module.mjs +1 -1
  358. package/dist/esm/common/switch/switch.module.mjs.map +1 -1
  359. package/dist/esm/common/tabHeader/tabHeader.mjs +1 -1
  360. package/dist/esm/common/tabHeader/tabHeader.mjs.map +1 -1
  361. package/dist/esm/common/tabHeader/tabHeader.module.mjs +1 -1
  362. package/dist/esm/common/textarea/textarea.mjs +1 -1
  363. package/dist/esm/common/textarea/textarea.mjs.map +1 -1
  364. package/dist/esm/common/themeProvider/defaultTheme.mjs +1 -1
  365. package/dist/esm/common/themeProvider/defaultTheme.mjs.map +1 -1
  366. package/dist/esm/common/themeProvider/lightTheme.mjs +2 -0
  367. package/dist/esm/common/themeProvider/lightTheme.mjs.map +1 -0
  368. package/dist/esm/common/themeProvider/theme.module.mjs +1 -1
  369. package/dist/esm/common/themeProvider/themeProvider.mjs +1 -1
  370. package/dist/esm/common/themeProvider/themeProvider.mjs.map +1 -1
  371. package/dist/esm/common/themeProvider/themeVariablesContext.mjs +1 -1
  372. package/dist/esm/common/themeProvider/themeVariablesContext.mjs.map +1 -1
  373. package/dist/esm/common/themeProvider/useTheme.mjs +1 -1
  374. package/dist/esm/common/themeProvider/useTheme.mjs.map +1 -1
  375. package/dist/esm/common/tilt/tilt.mjs +1 -1
  376. package/dist/esm/common/tilt/tilt.mjs.map +1 -1
  377. package/dist/esm/common/tilt/tilt.module.mjs +1 -1
  378. package/dist/esm/common/tilt/tiltMath.mjs +1 -1
  379. package/dist/esm/common/tilt/tiltMath.mjs.map +1 -1
  380. package/dist/esm/common/tiltGroup/tiltGroup.mjs +1 -1
  381. package/dist/esm/common/tiltGroup/tiltGroup.mjs.map +1 -1
  382. package/dist/esm/common/timeInput/components/clockDial/clockDial.mjs +1 -1
  383. package/dist/esm/common/timeInput/components/clockDial/clockDial.mjs.map +1 -1
  384. package/dist/esm/common/timeInput/components/clockDial/clockDial.module.mjs +1 -1
  385. package/dist/esm/common/timeInput/timeFunctions.mjs +1 -1
  386. package/dist/esm/common/timeInput/timeFunctions.mjs.map +1 -1
  387. package/dist/esm/common/timeInput/timeInput.mjs +1 -1
  388. package/dist/esm/common/timeInput/timeInput.mjs.map +1 -1
  389. package/dist/esm/common/timeInput/timeInput.module.mjs +1 -1
  390. package/dist/esm/common/timeline/timeline.mjs +1 -1
  391. package/dist/esm/common/timeline/timeline.mjs.map +1 -1
  392. package/dist/esm/common/timeline/timeline.module.mjs +1 -1
  393. package/dist/esm/common/timeline/timeline.types.mjs +1 -1
  394. package/dist/esm/common/timeline/timeline.types.mjs.map +1 -1
  395. package/dist/esm/common/timer/timer.chime.mjs +1 -1
  396. package/dist/esm/common/timer/timer.chime.mjs.map +1 -1
  397. package/dist/esm/common/timer/timer.mjs +1 -1
  398. package/dist/esm/common/timer/timer.mjs.map +1 -1
  399. package/dist/esm/common/timer/timer.module.mjs +1 -1
  400. package/dist/esm/common/toast/toast.mjs +1 -1
  401. package/dist/esm/common/toast/toast.mjs.map +1 -1
  402. package/dist/esm/common/toast/toast.module.mjs +1 -1
  403. package/dist/esm/common/toast/toast.module.mjs.map +1 -1
  404. package/dist/esm/common/toast/toastProvider.mjs +1 -1
  405. package/dist/esm/common/toast/toastProvider.mjs.map +1 -1
  406. package/dist/esm/common/toast/toastService.mjs +1 -1
  407. package/dist/esm/common/toast/toastService.mjs.map +1 -1
  408. package/dist/esm/common/tooltip/tooltip.mjs +1 -1
  409. package/dist/esm/common/tooltip/tooltip.mjs.map +1 -1
  410. package/dist/esm/common/tooltip/tooltip.module.mjs +1 -1
  411. package/dist/esm/common/tooltip/tooltip.module.mjs.map +1 -1
  412. package/dist/esm/common/tree/flattenTree.mjs +1 -1
  413. package/dist/esm/common/tree/flattenTree.mjs.map +1 -1
  414. package/dist/esm/common/tree/tree.mjs +1 -1
  415. package/dist/esm/common/tree/tree.mjs.map +1 -1
  416. package/dist/esm/common/tree/tree.module.mjs +1 -1
  417. package/dist/esm/common/tree/tree.module.mjs.map +1 -1
  418. package/dist/esm/common/utils/activationKey.mjs +1 -1
  419. package/dist/esm/common/utils/activationKey.mjs.map +1 -1
  420. package/dist/esm/common/utils/mergeRefs.mjs +2 -0
  421. package/dist/esm/common/utils/mergeRefs.mjs.map +1 -0
  422. package/dist/esm/common/utils/renderIcon.mjs +1 -1
  423. package/dist/esm/common/utils/renderIcon.mjs.map +1 -1
  424. package/dist/esm/common/utils/scrollAncestors.mjs +1 -1
  425. package/dist/esm/common/utils/scrollAncestors.mjs.map +1 -1
  426. package/dist/esm/common/utils/visualViewport.mjs +1 -1
  427. package/dist/esm/common/utils/visualViewport.mjs.map +1 -1
  428. package/dist/esm/common/virtualList/useColumnResize.mjs +1 -1
  429. package/dist/esm/common/virtualList/useColumnResize.mjs.map +1 -1
  430. package/dist/esm/common/virtualList/useColumns.mjs +1 -1
  431. package/dist/esm/common/virtualList/useColumns.mjs.map +1 -1
  432. package/dist/esm/common/virtualList/useHeaderNavigation.mjs +1 -1
  433. package/dist/esm/common/virtualList/useHeaderNavigation.mjs.map +1 -1
  434. package/dist/esm/common/virtualList/useRowDrag.mjs +1 -1
  435. package/dist/esm/common/virtualList/useRowDrag.mjs.map +1 -1
  436. package/dist/esm/common/virtualList/useRowNavigation.mjs +1 -1
  437. package/dist/esm/common/virtualList/useRowNavigation.mjs.map +1 -1
  438. package/dist/esm/common/virtualList/useSelection.mjs +1 -1
  439. package/dist/esm/common/virtualList/useSelection.mjs.map +1 -1
  440. package/dist/esm/common/virtualList/useSorting.mjs +1 -1
  441. package/dist/esm/common/virtualList/useSorting.mjs.map +1 -1
  442. package/dist/esm/common/virtualList/useVirtualWindow.mjs +1 -1
  443. package/dist/esm/common/virtualList/useVirtualWindow.mjs.map +1 -1
  444. package/dist/esm/common/virtualList/virtualList.mjs +1 -1
  445. package/dist/esm/common/virtualList/virtualList.mjs.map +1 -1
  446. package/dist/esm/common/virtualList/virtualList.module.mjs +1 -1
  447. package/dist/esm/common/virtualList/virtualList.module.mjs.map +1 -1
  448. package/dist/esm/common/virtualList/virtualList.utils.mjs +1 -1
  449. package/dist/esm/common/virtualList/virtualList.utils.mjs.map +1 -1
  450. package/dist/esm/common/virtualList/virtualListHeader.mjs +1 -1
  451. package/dist/esm/common/virtualList/virtualListHeader.mjs.map +1 -1
  452. package/dist/esm/common/virtualList/virtualRow.mjs +1 -1
  453. package/dist/esm/common/virtualList/virtualRow.mjs.map +1 -1
  454. package/dist/esm/common/wizard/wizard.mjs +1 -1
  455. package/dist/esm/common/wizard/wizard.mjs.map +1 -1
  456. package/dist/esm/common/wizard/wizard.module.mjs +1 -1
  457. package/dist/esm/hooks/useWindowSize.mjs +1 -1
  458. package/dist/esm/hooks/useWindowSize.mjs.map +1 -1
  459. package/dist/esm/index.mjs +1 -1
  460. package/dist/esm/services/formValidation/FormValidatorGroupWithForm.mjs +1 -1
  461. package/dist/esm/services/formValidation/FormValidatorGroupWithForm.mjs.map +1 -1
  462. package/dist/esm/services/formValidation/index.mjs +1 -1
  463. package/dist/esm/services/formValidation/useFormValidatorGroup.mjs +1 -1
  464. package/dist/esm/services/formValidation/useFormValidatorGroup.mjs.map +1 -1
  465. package/dist/esm/services/formValidation/validatableComponent.mjs +1 -1
  466. package/dist/esm/services/formValidation/validatableComponent.mjs.map +1 -1
  467. package/dist/esm/services/klipy.mjs +1 -1
  468. package/dist/esm/services/klipy.mjs.map +1 -1
  469. package/dist/esm/services/localization.mjs +1 -1
  470. package/dist/esm/services/localization.mjs.map +1 -1
  471. package/dist/index.cjs +3 -3
  472. package/dist/index.cjs.map +1 -1
  473. package/dist/mcp.js +21096 -5
  474. package/dist/style.css +1 -1
  475. package/dist/types/common/actionIcon/actionIcon.types.d.ts +3 -1
  476. package/dist/types/common/card/card.types.d.ts +3 -1
  477. package/dist/types/common/checkbox/checkbox.types.d.ts +3 -1
  478. package/dist/types/common/colorPicker/colorPicker.types.d.ts +4 -0
  479. package/dist/types/common/configProvider/configProvider.d.ts +1 -1
  480. package/dist/types/common/configProvider/configProvider.types.d.ts +6 -3
  481. package/dist/types/common/configProvider/index.d.ts +1 -0
  482. package/dist/types/common/configProvider/presentation.types.d.ts +14 -0
  483. package/dist/types/common/configProvider/usePresentationDefault.d.ts +1 -1
  484. package/dist/types/common/dropdown/dropdown.types.d.ts +1 -1
  485. package/dist/types/common/flip/flip.d.ts +2 -2
  486. package/dist/types/common/flip/flip.types.d.ts +3 -1
  487. package/dist/types/common/hooks/useAnchorTracking.d.ts +1 -1
  488. package/dist/types/common/hooks/useFocusBoundary.d.ts +3 -3
  489. package/dist/types/common/hooks/useSheet.d.ts +1 -1
  490. package/dist/types/common/input/input.types.d.ts +5 -0
  491. package/dist/types/common/interactableDiv/interactableDiv.d.ts +3 -2
  492. package/dist/types/common/loading/spinnerLoading/spinnerLoading.d.ts +0 -5
  493. package/dist/types/common/menu/index.d.ts +2 -0
  494. package/dist/types/common/menu/menu.d.ts +14 -0
  495. package/dist/types/common/menu/menu.types.d.ts +55 -0
  496. package/dist/types/common/modal/modal.types.d.ts +1 -1
  497. package/dist/types/common/multiSelect/multiSelect.types.d.ts +1 -1
  498. package/dist/types/common/numberInput/numberInput.types.d.ts +2 -0
  499. package/dist/types/common/otpInput/otpInput.types.d.ts +2 -0
  500. package/dist/types/common/planCanvas/planCanvas.d.ts +1 -1
  501. package/dist/types/common/planCanvas/planCanvas.types.d.ts +3 -1
  502. package/dist/types/common/popover/popover.types.d.ts +34 -3
  503. package/dist/types/common/popover/usePopoverPosition.d.ts +20 -1
  504. package/dist/types/common/ripple/ripple.d.ts +1 -1
  505. package/dist/types/common/ripple/ripple.types.d.ts +1 -0
  506. package/dist/types/common/roomDrawer/roomDrawer.d.ts +2 -2
  507. package/dist/types/common/roomDrawer/roomDrawer.types.d.ts +3 -1
  508. package/dist/types/common/roomViewer/roomViewer.d.ts +2 -2
  509. package/dist/types/common/roomViewer/roomViewer.types.d.ts +3 -1
  510. package/dist/types/common/searchInput/searchInput.d.ts +1 -1
  511. package/dist/types/common/searchInput/searchInput.types.d.ts +3 -0
  512. package/dist/types/common/splitButton/splitButton.types.d.ts +3 -3
  513. package/dist/types/common/switch/switch.types.d.ts +3 -1
  514. package/dist/types/common/themeProvider/index.d.ts +1 -0
  515. package/dist/types/common/themeProvider/lightTheme.d.ts +13 -0
  516. package/dist/types/common/tilt/tilt.d.ts +2 -2
  517. package/dist/types/common/tilt/tilt.types.d.ts +3 -1
  518. package/dist/types/common/timer/timer.d.ts +2 -2
  519. package/dist/types/common/timer/timer.types.d.ts +3 -1
  520. package/dist/types/common/tooltip/tooltip.d.ts +1 -1
  521. package/dist/types/common/tooltip/tooltip.types.d.ts +7 -0
  522. package/dist/types/common/types/baseProps.types.d.ts +6 -0
  523. package/dist/types/common/utils/mergeRefs.d.ts +12 -0
  524. package/dist/types/common/virtualList/virtualList.d.ts +2 -4
  525. package/dist/types/common/virtualList/virtualList.types.d.ts +3 -1
  526. package/dist/types/index.d.ts +2 -2
  527. package/docs/Accordion.md +9 -0
  528. package/docs/ActionIcon.md +1 -0
  529. package/docs/Breadcrumb.md +2 -2
  530. package/docs/ButtonGroup.md +1 -1
  531. package/docs/CLAUDE.md +38 -1
  532. package/docs/Card.md +2 -1
  533. package/docs/Checkbox.md +1 -0
  534. package/docs/ColorPicker.md +13 -1
  535. package/docs/ConfigProvider.md +2 -2
  536. package/docs/Dropdown.md +1 -1
  537. package/docs/Input.md +1 -0
  538. package/docs/InputDropdown.md +1 -1
  539. package/docs/InteractableDiv.md +2 -0
  540. package/docs/KlipyPicker.md +1 -1
  541. package/docs/Menu.md +107 -0
  542. package/docs/Modal.md +1 -1
  543. package/docs/NumberInput.md +1 -0
  544. package/docs/OtpInput.md +1 -0
  545. package/docs/Popover.md +11 -5
  546. package/docs/SearchInput.md +1 -0
  547. package/docs/SplitButton.md +8 -4
  548. package/docs/Switch.md +1 -0
  549. package/docs/Textarea.md +1 -0
  550. package/docs/ThemeProvider.md +31 -2
  551. package/docs/Tooltip.md +23 -1
  552. package/docs/VirtualList.md +2 -2
  553. package/package.json +8 -7
  554. package/dist/esm/common/floatingMenu/floatingMenu.mjs +0 -2
  555. package/dist/esm/common/floatingMenu/floatingMenu.mjs.map +0 -1
  556. package/dist/esm/common/floatingMenu/floatingMenu.module.mjs +0 -2
  557. package/dist/esm/common/floatingMenu/floatingMenu.module.mjs.map +0 -1
  558. package/dist/esm/common/floatingMenu/floatingMenu.types.mjs +0 -2
  559. package/dist/esm/common/floatingMenu/floatingMenu.types.mjs.map +0 -1
  560. package/dist/esm/common/floatingMenu/useFloatingPosition.mjs +0 -2
  561. package/dist/esm/common/floatingMenu/useFloatingPosition.mjs.map +0 -1
  562. package/dist/types/common/floatingMenu/floatingMenu.d.ts +0 -3
  563. package/dist/types/common/floatingMenu/floatingMenu.types.d.ts +0 -32
  564. package/dist/types/common/floatingMenu/index.d.ts +0 -2
  565. package/dist/types/common/floatingMenu/useFloatingPosition.d.ts +0 -27
  566. package/docs/FloatingMenu.md +0 -90
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from 'react';
1
+ import { default as React, CSSProperties } from 'react';
2
2
  import { IconContent } from '../types/icon.types';
3
3
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
4
4
  export type ActionIconSlots = 'root' | 'icon';
@@ -8,6 +8,8 @@ export interface ActionIconProps extends HtmlProps {
8
8
  style?: CSSProperties;
9
9
  title?: string;
10
10
  onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
11
+ /** Ref to the root element. */
12
+ ref?: React.Ref<HTMLDivElement>;
11
13
  classNames?: SlotClassNames<ActionIconSlots>;
12
14
  styles?: SlotStyles<ActionIconSlots>;
13
15
  }
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  import { ButtonStyleType } from '../button/button.types';
3
3
  import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types';
4
4
  import { IconAction } from '../types/actions.types';
@@ -18,6 +18,8 @@ export interface CardProps extends Omit<HtmlProps, 'tabIndex'> {
18
18
  style?: React.CSSProperties;
19
19
  autoGap?: boolean;
20
20
  clip?: boolean;
21
+ /** Ref to the root element. */
22
+ ref?: React.Ref<HTMLDivElement>;
21
23
  /** Classes for the inner elements. See `CardSlots`. */
22
24
  classNames?: SlotClassNames<CardSlots>;
23
25
  /** Inline styles for the inner elements. See `CardSlots`. */
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { FormValidator } from '../../services/formValidation';
3
3
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
4
4
  export type CheckboxSlots = 'icon' | 'checkmark' | 'label';
@@ -20,6 +20,8 @@ export interface CheckboxProps extends Omit<HtmlProps, 'onToggle'> {
20
20
  children?: ReactNode;
21
21
  background?: string | null;
22
22
  isLoading?: boolean;
23
+ /** Ref to the root element. */
24
+ ref?: Ref<HTMLDivElement>;
23
25
  classNames?: SlotClassNames<CheckboxSlots>;
24
26
  styles?: SlotStyles<CheckboxSlots>;
25
27
  }
@@ -4,6 +4,10 @@ export type ColorPickerSlots = 'root' | 'swatch' | 'panel' | 'gradient' | 'hueSl
4
4
  export interface ColorPickerLabels {
5
5
  /** The eyedropper button, read out by screen readers. */
6
6
  pickFromScreen?: string;
7
+ /** The saturation and brightness square, read out by screen readers. */
8
+ saturationAndBrightness?: string;
9
+ /** Where the square's cursor currently sits, read out after every move. */
10
+ saturationAndBrightnessValue?: (saturation: number, brightness: number) => string;
7
11
  }
8
12
  export interface ColorPickerProps extends Omit<HtmlProps, 'onChange'> {
9
13
  className?: string;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { ComponentDefaults, ConfigProviderProps } from './configProvider.types';
3
- import { Presentation } from '../floatingMenu/floatingMenu.types';
3
+ import { Presentation } from '../configProvider/presentation.types';
4
4
  export declare const ConfigContext: React.Context<ComponentDefaults | null>;
5
5
  /**
6
6
  * One setting for every component that can present as a bottom sheet, kept separate from
@@ -12,6 +12,7 @@ import { ColorPickerLabels } from '../colorPicker/colorPicker.types';
12
12
  import { EmptyStateLabels } from '../emptyState/emptyState.types';
13
13
  import { KlipyPickerLabels } from '../klipyPicker/klipyPicker.types';
14
14
  import { SearchInputLabels } from '../searchInput/searchInput.types';
15
+ import { TooltipLabels } from '../tooltip/tooltip.types';
15
16
  import { VirtualListLabels } from '../virtualList/virtualList.types';
16
17
  import { ButtonProps } from '../button/button.types';
17
18
  import { ActionButtonsProps } from '../actionButtons/actionButtons.types';
@@ -39,9 +40,9 @@ import { PaginationProps } from '../pagination/pagination.types';
39
40
  import { TreeProps } from '../tree/tree.types';
40
41
  import { RoomDrawerProps } from '../roomDrawer/roomDrawer.types';
41
42
  import { RoomViewerProps } from '../roomViewer/roomViewer.types';
42
- import { FloatingMenuProps, Presentation } from '../floatingMenu/floatingMenu.types';
43
43
  import { PopoverProps } from '../popover/popover.types';
44
44
  import { ModalProps } from '../modal/modal.types';
45
+ import { Presentation } from '../configProvider/presentation.types';
45
46
  /**
46
47
  * Global default props keyed by component name.
47
48
  *
@@ -74,6 +75,9 @@ export interface ComponentDefaults {
74
75
  SearchInput?: {
75
76
  labels?: SearchInputLabels;
76
77
  };
78
+ Tooltip?: {
79
+ labels?: TooltipLabels;
80
+ };
77
81
  VirtualList?: {
78
82
  labels?: VirtualListLabels;
79
83
  };
@@ -112,7 +116,6 @@ export interface ComponentDefaults {
112
116
  Tree?: Partial<TreeProps>;
113
117
  RoomDrawer?: Partial<RoomDrawerProps>;
114
118
  RoomViewer?: Partial<RoomViewerProps>;
115
- FloatingMenu?: Partial<FloatingMenuProps>;
116
119
  Popover?: Partial<PopoverProps>;
117
120
  Modal?: Partial<ModalProps>;
118
121
  }
@@ -122,7 +125,7 @@ export interface ConfigProviderProps {
122
125
  defaultProps?: ComponentDefaults;
123
126
  /**
124
127
  * How every sheet-capable component presents by default: anchored to its trigger, always a
125
- * bottom sheet, or a sheet only on a small touch screen. One switch for `FloatingMenu`,
128
+ * bottom sheet, or a sheet only on a small touch screen. One switch for `Popover`,
126
129
  * `Dropdown`, `Popover` and `Modal` at once (and so for everything built on them). A
127
130
  * component-keyed entry in `defaultProps` overrides it, and an explicit prop overrides both.
128
131
  */
@@ -3,3 +3,4 @@ export { useComponentDefaults } from './useComponentDefaults';
3
3
  export { useLabels } from './useLabels';
4
4
  export { usePresentationDefault } from './usePresentationDefault';
5
5
  export type { ComponentDefaults, ConfigProviderProps } from './configProvider.types';
6
+ export { Presentation } from './presentation.types';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * How a surface is presented on screen. Lives here rather than with any one of
3
+ * the components that read it: `Modal`, `Popover`, `Dropdown` and `MultiSelect`
4
+ * all take it, and `ConfigProvider` owns the app-wide switch that sets it for
5
+ * every one of them at once.
6
+ */
7
+ export declare enum Presentation {
8
+ /** Wherever the component normally puts it: anchored to its trigger, or centred for a Modal. */
9
+ Default = "default",
10
+ /** Pinned to the bottom of the screen, full width up to a maximum. */
11
+ Sheet = "sheet",
12
+ /** A sheet on touch devices with a small screen, anchored everywhere else. */
13
+ Auto = "auto"
14
+ }
@@ -1,4 +1,4 @@
1
- import { Presentation } from '../floatingMenu/floatingMenu.types';
1
+ import { Presentation } from '../configProvider/presentation.types';
2
2
  /**
3
3
  * The nearest `ConfigProvider`'s app-wide `presentation`, or `undefined` when none is set.
4
4
  *
@@ -1,7 +1,7 @@
1
1
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
2
2
  import { ReactNode, Ref } from 'react';
3
3
  import { FormValidator } from '../../services/formValidation';
4
- import { Presentation } from '../floatingMenu/floatingMenu.types';
4
+ import { Presentation } from '../configProvider/presentation.types';
5
5
  export interface DropdownItem {
6
6
  key: string | number;
7
7
  label: ReactNode;
@@ -1,3 +1,3 @@
1
- import { FlipHandle, FlipProps } from './flip.types';
2
- declare const Flip: import('react').ForwardRefExoticComponent<FlipProps & import('react').RefAttributes<FlipHandle>>;
1
+ import { FlipProps } from './flip.types';
2
+ declare function Flip(props: FlipProps): import("react").JSX.Element;
3
3
  export default Flip;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
3
3
  export type FlipAxis = 'x' | 'y';
4
4
  export type FlipSlots = 'root' | 'perspective' | 'surface' | 'front' | 'back';
@@ -35,6 +35,8 @@ export interface FlipProps extends HtmlProps {
35
35
  onFlip?: (flipped: boolean) => void;
36
36
  /** Fires once the flip transition finishes settling on the new face, for any trigger (click, controlled prop change, or ref call). Fires synchronously under `prefers-reduced-motion: reduce`, since no transition runs to wait for. */
37
37
  onFlipEnd?: (flipped: boolean) => void;
38
+ /** Imperative handle for flipping without owning the state. */
39
+ ref?: Ref<FlipHandle>;
38
40
  className?: string;
39
41
  style?: CSSProperties;
40
42
  classNames?: SlotClassNames<FlipSlots>;
@@ -31,7 +31,7 @@ export interface UseAnchorTrackingArgs {
31
31
  * positioning on every scroll, viewport resize and tracked size change until it closes.
32
32
  *
33
33
  * Callers supply only the geometry (`update`) and the inline styles to clear again (`teardown`);
34
- * `useFloatingPosition` and `usePopoverPosition` are both built on this.
34
+ * `usePopoverPosition` is built on this.
35
35
  *
36
36
  * Position is deliberately written straight to the DOM by the caller rather than through React
37
37
  * state: going through setState -> re-render -> commit adds a round-trip that lags behind the
@@ -9,9 +9,9 @@ export interface UseFocusBoundaryArgs {
9
9
  }
10
10
  /**
11
11
  * Focus helpers for content portaled to the end of the DOM (e.g. via BodyEnd), where Tab can't
12
- * reach it in visual document order on its own. Shared by FloatingMenu and Popover, which both
13
- * need to hand focus back to the trigger on Escape / Shift+Tab out of the top, and continue
14
- * focus naturally past the trigger when Tab exits the bottom.
12
+ * reach it in visual document order on its own. Used by Popover and by Menu, which both need to
13
+ * hand focus back to the trigger on Escape / Shift+Tab out of the top, and continue focus
14
+ * naturally past the trigger when Tab exits the bottom.
15
15
  */
16
16
  export declare function useFocusBoundary({ triggerRef, contentRef }: UseFocusBoundaryArgs): {
17
17
  firstTriggerFocusable: () => HTMLElement | null;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { Presentation } from '../floatingMenu/floatingMenu.types';
2
+ import { Presentation } from '../configProvider/presentation.types';
3
3
  export interface Sheet {
4
4
  /** Whether the popup should render as a bottom sheet instead of anchored to its trigger. */
5
5
  isSheet: boolean;
@@ -71,6 +71,11 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
71
71
  multiline?: boolean;
72
72
  rows?: number;
73
73
  autoResize?: boolean;
74
+ /**
75
+ * Ref to the rendered `<input>` (or `<textarea>` when `multiline`). Not forwarded to a
76
+ * `customInput`, which owns its own ref.
77
+ */
78
+ ref?: React.Ref<HTMLInputElement | HTMLTextAreaElement>;
74
79
  classNames?: SlotClassNames<InputSlots>;
75
80
  styles?: SlotStyles<InputSlots>;
76
81
  /** Overrides the text Input renders of its own. Merged per key. */
@@ -1,7 +1,8 @@
1
- import { default as React } from 'react';
1
+ import { default as React, ReactElement } from 'react';
2
2
  import { DataProps } from '../types/baseProps.types';
3
3
  interface Properties extends DataProps, Omit<React.HTMLAttributes<HTMLDivElement>, 'tabIndex'> {
4
4
  tabIndex?: number | null;
5
+ ref?: React.Ref<HTMLDivElement>;
5
6
  }
6
- declare const InteractableDiv: React.ForwardRefExoticComponent<Properties & React.RefAttributes<HTMLDivElement>>;
7
+ declare function InteractableDiv({ className, children, onClick, onKeyDown, tabIndex, ref, ...props }: Properties): ReactElement;
7
8
  export default InteractableDiv;
@@ -3,9 +3,4 @@ interface Properties {
3
3
  className?: string | undefined;
4
4
  }
5
5
  declare function SpinnerLoading({ className }: Properties): ReactElement;
6
- declare namespace SpinnerLoading {
7
- var defaultProps: {
8
- className: undefined;
9
- };
10
- }
11
6
  export default SpinnerLoading;
@@ -0,0 +1,2 @@
1
+ export { default } from './menu';
2
+ export * from './menu.types';
@@ -0,0 +1,14 @@
1
+ import { ReactElement } from 'react';
2
+ import { MenuProps } from './menu.types';
3
+ /**
4
+ * A menu of actions on a trigger of your choosing.
5
+ *
6
+ * `Popover` does the anchoring, portalling and outside-click work but takes
7
+ * arbitrary `content`, which leaves every consumer to write their own `ul`/`li`
8
+ * and, in practice, to leave out the roles and the arrow keys. This is that list,
9
+ * done once: `role="menu"`, a roving focus that skips disabled entries, Escape
10
+ * back to the trigger, and separators and headings that stay out of the keyboard
11
+ * order.
12
+ */
13
+ declare function Menu({ items, children, onAction, isOpen: controlledOpen, onOpenChange, placement, align, presentation, className, style, classNames, styles: slotStyles, ...rest }: MenuProps): ReactElement;
14
+ export default Menu;
@@ -0,0 +1,55 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
3
+ import { IconContent } from '../types/icon.types';
4
+ import { PopoverAlign, PopoverPlacement } from '../popover/popover.types';
5
+ import { Presentation } from '../configProvider/presentation.types';
6
+ /** One thing the menu can do. */
7
+ export interface MenuAction {
8
+ /** Stable id, also what `onAction` reports. */
9
+ id: string;
10
+ label: ReactNode;
11
+ icon?: IconContent;
12
+ /**
13
+ * Keyboard hint on the trailing edge, e.g. `⌘K`. Display only: binding the
14
+ * shortcut is yours, since only you know what else is listening.
15
+ */
16
+ shortcut?: ReactNode;
17
+ disabled?: boolean;
18
+ /** Renders in the destructive colour. For deleting, discarding, revoking. */
19
+ danger?: boolean;
20
+ onClick?: () => void;
21
+ }
22
+ /** A line between groups of actions. */
23
+ export interface MenuSeparator {
24
+ separator: true;
25
+ }
26
+ /** A label over the actions that follow it. */
27
+ export interface MenuHeading {
28
+ heading: ReactNode;
29
+ }
30
+ export type MenuEntry = MenuAction | MenuSeparator | MenuHeading;
31
+ export declare function isMenuSeparator(entry: MenuEntry): entry is MenuSeparator;
32
+ export declare function isMenuHeading(entry: MenuEntry): entry is MenuHeading;
33
+ export declare function isMenuAction(entry: MenuEntry): entry is MenuAction;
34
+ export type MenuSlots = 'root' | 'trigger' | 'menu' | 'item' | 'itemIcon' | 'itemLabel' | 'itemShortcut' | 'separator' | 'heading';
35
+ export interface MenuProps extends Omit<HtmlProps, 'onSelect'> {
36
+ /** What the menu offers, in the order it is read. */
37
+ items: MenuEntry[];
38
+ /** The element that opens the menu. */
39
+ children?: ReactNode;
40
+ /** Called with the id of the action that was picked, after its own `onClick`. */
41
+ onAction?: (id: string) => void;
42
+ /** Controlled open state. Leave it out to let the menu manage its own. */
43
+ isOpen?: boolean;
44
+ onOpenChange?: (isOpen: boolean) => void;
45
+ /** Which side of the trigger the menu opens on (default `Bottom`). */
46
+ placement?: PopoverPlacement;
47
+ /** Which edge it lines up with on the cross axis (default `Start`). */
48
+ align?: PopoverAlign;
49
+ /** Anchored to the trigger, pinned to the bottom of the screen, or the latter only on touch. */
50
+ presentation?: Presentation;
51
+ className?: string;
52
+ style?: CSSProperties;
53
+ classNames?: SlotClassNames<MenuSlots>;
54
+ styles?: SlotStyles<MenuSlots>;
55
+ }
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
3
- import { Presentation } from '../floatingMenu/floatingMenu.types';
3
+ import { Presentation } from '../configProvider/presentation.types';
4
4
  export type ModalSlots = 'container' | 'backdrop' | 'modal' | 'header' | 'title' | 'closeButton' | 'body';
5
5
  /** Text Modal renders of its own, for translating it. */
6
6
  export interface ModalLabels {
@@ -1,7 +1,7 @@
1
1
  import { CSSProperties } from 'react';
2
2
  import { FormValidator } from '../../services/formValidation';
3
3
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
4
- import { Presentation } from '../floatingMenu/floatingMenu.types';
4
+ import { Presentation } from '../configProvider/presentation.types';
5
5
  export type MultiSelectValue = string | number;
6
6
  export interface MultiSelectItem {
7
7
  key: MultiSelectValue;
@@ -67,6 +67,8 @@ export interface NumberInputProps extends Omit<NumericFormatProps, 'onValueChang
67
67
  onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
68
68
  /** Overrides the text NumberInput renders of its own. Merged per key. */
69
69
  labels?: NumberInputLabels;
70
+ /** Ref to the inner `<input>`, for focusing the field. */
71
+ ref?: React.Ref<HTMLInputElement>;
70
72
  /** Classes for the inner elements. See `NumberInputSlots`. */
71
73
  classNames?: SlotClassNames<NumberInputSlots>;
72
74
  /** Inline styles for the inner elements. See `NumberInputSlots`. */
@@ -51,6 +51,8 @@ export interface OtpInputProps extends Omit<HtmlProps, 'onChange'> {
51
51
  autoFocus?: boolean;
52
52
  className?: string;
53
53
  style?: React.CSSProperties;
54
+ /** Ref to the root element. */
55
+ ref?: React.Ref<HTMLDivElement>;
54
56
  classNames?: SlotClassNames<OtpInputSlots>;
55
57
  styles?: SlotStyles<OtpInputSlots>;
56
58
  /** Overrides the text OtpInput renders of its own. Merged per key. */
@@ -3,5 +3,5 @@ import { PlanCanvasProps } from './planCanvas.types';
3
3
  * The ref lands on the `<svg>` itself, which is what a consumer wants for measuring or
4
4
  * screenshotting. Both the drawer and the viewer expose it as `getSvgElement()`.
5
5
  */
6
- declare const PlanCanvas: import('react').ForwardRefExoticComponent<PlanCanvasProps & import('react').RefAttributes<SVGSVGElement>>;
6
+ declare function PlanCanvas(props: PlanCanvasProps): import("react").JSX.Element;
7
7
  export default PlanCanvas;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { DerivedRoom, PlanFloor, PlanRoom, PlanSelection, PlanView } from '../floorPlan';
3
3
  import { SlotClassNames, SlotStyles } from '../types/slots.types';
4
4
  export type PlanCanvasSlots = 'canvas' | 'grid' | 'underlay' | 'rooms' | 'roomFill' | 'roomLabel' | 'walls' | 'wallBody' | 'openings' | 'opening' | 'overlay';
@@ -55,6 +55,8 @@ export interface PlanCanvasProps {
55
55
  height: number;
56
56
  };
57
57
  'aria-label'?: string;
58
+ /** Ref to the rendered `<svg>` root. */
59
+ ref?: Ref<SVGSVGElement>;
58
60
  className?: string;
59
61
  style?: CSSProperties;
60
62
  classNames?: SlotClassNames<PlanCanvasSlots>;
@@ -1,6 +1,6 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
2
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
3
- import { Presentation } from '../floatingMenu/floatingMenu.types';
3
+ import { Presentation } from '../configProvider/presentation.types';
4
4
  /** Preferred side of the trigger the panel opens on. Flips to the opposite side when there's no room. */
5
5
  export declare enum PopoverPlacement {
6
6
  Top = "top",
@@ -36,8 +36,14 @@ export interface PopoverProps extends Omit<HtmlProps, 'content'> {
36
36
  isOpen?: boolean;
37
37
  /** Initial open state when uncontrolled (default `false`). */
38
38
  defaultOpen?: boolean;
39
- /** Fires whenever the popover wants to open or close. */
40
- onOpenChange?: (isOpen: boolean) => void;
39
+ /**
40
+ * Fires whenever the popover wants to open or close. `fromKeyboard` says
41
+ * whether a key caused it, which is what a menu needs in order to put the
42
+ * focus on an entry only when the pointer was not what opened it.
43
+ */
44
+ onOpenChange?: (isOpen: boolean, meta: {
45
+ fromKeyboard: boolean;
46
+ }) => void;
41
47
  /** Gap in px between trigger and panel (default `10`). */
42
48
  offset?: number;
43
49
  /** Render the arrow pointing at the trigger (default `true`). */
@@ -52,6 +58,31 @@ export interface PopoverProps extends Omit<HtmlProps, 'content'> {
52
58
  closeDelay?: number;
53
59
  /** Prevent the popover from opening. */
54
60
  disabled?: boolean;
61
+ /**
62
+ * Move focus into the panel when it opens, and claim `role="dialog"` with it.
63
+ * `'keyboard'` (the default) does it only when the open came from the
64
+ * keyboard: the panel is portaled to the end of the document, so Tab never
65
+ * reaches it on its own, while a click leaves the focus where the pointer
66
+ * already put it. `true` always, `false` never.
67
+ */
68
+ focusOnOpen?: boolean | 'keyboard';
69
+ /**
70
+ * Whether clicking the trigger while the panel is open closes it (default
71
+ * `true`). A menu button should toggle; a text field that opens a picker
72
+ * should not, or clicking into it to place the caret would close the panel.
73
+ */
74
+ closeOnTriggerClick?: boolean;
75
+ /**
76
+ * `'trigger'` gives the panel at least the trigger's width, for a list that
77
+ * should line up with the field it belongs to. `'auto'` (the default) lets it
78
+ * size to its own content.
79
+ */
80
+ width?: 'auto' | 'trigger';
81
+ /**
82
+ * Cap the panel at a readable measure (default `true`). Off for a panel with
83
+ * its own width, a calendar or a media grid.
84
+ */
85
+ constrainWidth?: boolean;
55
86
  /** Where the panel opens: anchored to the trigger (`Default`), pinned to the bottom of the
56
87
  * screen, or the latter only on a small touch screen. Only a `Click` trigger presents as a
57
88
  * sheet. */
@@ -12,6 +12,25 @@ export interface UsePopoverPositionArgs {
12
12
  panelRef: RefObject<HTMLElement | null>;
13
13
  /** Arrow element; gets `--arrow-x` / `--arrow-y` written to it. Pass a null ref when `withArrow` is false. */
14
14
  arrowRef: RefObject<HTMLElement | null>;
15
+ /**
16
+ * Give the panel at least the trigger's width, for a list that lines up with
17
+ * the field it belongs to. A minimum rather than a fixed width: a menu on a
18
+ * narrow icon button still sizes to its own content.
19
+ */
20
+ matchTriggerWidth?: boolean;
21
+ /**
22
+ * When the panel does not fit on the side its alignment puts it, narrow it
23
+ * rather than sliding it away from the trigger. Sliding keeps the panel
24
+ * on-screen but detaches it: an end-aligned bubble stops ending where its
25
+ * trigger ends, and its arrow stops pointing at anything. Off by default, since
26
+ * a panel whose width is its content, a menu or a list, would rather overhang
27
+ * its trigger than wrap.
28
+ *
29
+ * Only down to `MIN_SHRINK_WIDTH`. Past that the panel is narrower than it is
30
+ * readable, and a trigger that close to the screen edge is better served by a
31
+ * panel that overhangs it.
32
+ */
33
+ shrinkToFit?: boolean;
15
34
  }
16
35
  /**
17
36
  * Positions a portaled, `position: fixed` popover on any of the four sides of its trigger with
@@ -22,4 +41,4 @@ export interface UsePopoverPositionArgs {
22
41
  * `useAnchorTracking` supplies the lifecycle around this: mount wait, ancestor resolution, and
23
42
  * re-running on scroll, viewport resize and panel size changes.
24
43
  */
25
- export declare function usePopoverPosition({ isOpen, placement, align, offset, triggerRef, floatingRef, panelRef, arrowRef, }: UsePopoverPositionArgs): void;
44
+ export declare function usePopoverPosition({ isOpen, placement, align, offset, triggerRef, floatingRef, panelRef, arrowRef, matchTriggerWidth, shrinkToFit, }: UsePopoverPositionArgs): void;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { RippleProps, RippleHandle } from './ripple.types';
3
3
  export type { RippleProps, RippleHandle };
4
- declare const Ripple: React.ForwardRefExoticComponent<RippleProps & React.RefAttributes<RippleHandle>>;
4
+ declare function Ripple({ disabled, children, className, style, overflowHidden, rippleAnimationLength, rippleBackground, manualOnly, ref, ...rest }: RippleProps): React.JSX.Element;
5
5
  export default Ripple;
@@ -9,6 +9,7 @@ export interface RippleProps extends HtmlProps {
9
9
  rippleAnimationLength?: number;
10
10
  rippleBackground?: string;
11
11
  manualOnly?: boolean;
12
+ ref?: React.Ref<RippleHandle>;
12
13
  }
13
14
  export interface RippleHandle {
14
15
  addRipple: () => void;
@@ -1,3 +1,3 @@
1
- import { RoomDrawerHandle, RoomDrawerProps } from './roomDrawer.types';
2
- declare const RoomDrawer: import('react').ForwardRefExoticComponent<RoomDrawerProps & import('react').RefAttributes<RoomDrawerHandle>>;
1
+ import { RoomDrawerProps } from './roomDrawer.types';
2
+ declare function RoomDrawer(props: RoomDrawerProps): import("react").JSX.Element;
3
3
  export default RoomDrawer;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { FloorPlan, OpeningKind, PlanParseResult, PlanPoint, PlanRoom, PlanSelection, PlanView } from '../floorPlan';
3
3
  import { IconContent } from '../types/icon.types';
4
4
  import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types';
@@ -299,6 +299,8 @@ export interface RoomDrawerProps extends Omit<HtmlProps<HTMLDivElement>, 'onChan
299
299
  labels?: RoomDrawerLabels;
300
300
  icons?: RoomDrawerIcons;
301
301
  'aria-label'?: string;
302
+ /** Imperative handle for driving the editor. */
303
+ ref?: Ref<RoomDrawerHandle>;
302
304
  className?: string;
303
305
  style?: CSSProperties;
304
306
  classNames?: SlotClassNames<RoomDrawerSlots>;
@@ -1,4 +1,4 @@
1
- import { RoomViewerHandle, RoomViewerProps } from './roomViewer.types';
1
+ import { RoomViewerProps } from './roomViewer.types';
2
2
  /**
3
3
  * Read-only view of a floor plan.
4
4
  *
@@ -6,5 +6,5 @@ import { RoomViewerHandle, RoomViewerProps } from './roomViewer.types';
6
6
  * two cannot drift apart. Selection and hover are React state rather than classes pushed
7
7
  * onto DOM nodes, which is what lets them be controlled from outside.
8
8
  */
9
- declare const RoomViewer: import('react').ForwardRefExoticComponent<RoomViewerProps & import('react').RefAttributes<RoomViewerHandle>>;
9
+ declare function RoomViewer(props: RoomViewerProps): import("react").JSX.Element;
10
10
  export default RoomViewer;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { DerivedRoom, FloorPlan, PlanRoom, PlanView } from '../floorPlan';
3
3
  import { IconContent } from '../types/icon.types';
4
4
  import { HtmlProps, SlotClassNames, SlotStyles } from '../types/slots.types';
@@ -82,6 +82,8 @@ export interface RoomViewerProps extends Omit<HtmlProps<HTMLDivElement>, 'onSele
82
82
  emptyState?: ReactNode;
83
83
  labels?: RoomViewerLabels;
84
84
  icons?: RoomViewerIcons;
85
+ /** Imperative handle for driving the viewport. */
86
+ ref?: Ref<RoomViewerHandle>;
85
87
  className?: string;
86
88
  style?: CSSProperties;
87
89
  classNames?: SlotClassNames<RoomViewerSlots>;
@@ -1,3 +1,3 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { SearchInputProps } from './searchInput.types';
3
- export default function SearchInput({ value, onChange, onDebounce, placeholder, label, debounceMs, totalAmount, showAmount, className, width, style, classNames, styles: slotStyles, labels, ...rest }: SearchInputProps): ReactElement;
3
+ export default function SearchInput({ value, onChange, onDebounce, placeholder, label, debounceMs, totalAmount, showAmount, className, width, style, classNames, styles: slotStyles, labels, ref, ...rest }: SearchInputProps): ReactElement;
@@ -1,3 +1,4 @@
1
+ import { default as React } from 'react';
1
2
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
2
3
  export type SearchInputSlots = 'root' | 'input' | 'resultCount';
3
4
  /** Text SearchInput renders of its own, for translating it. */
@@ -22,4 +23,6 @@ export interface SearchInputProps extends Omit<HtmlProps, 'onChange'> {
22
23
  styles?: SlotStyles<SearchInputSlots>;
23
24
  /** Overrides the text SearchInput renders of its own. Merged per key. */
24
25
  labels?: SearchInputLabels;
26
+ /** Ref to the inner `<input>`, for focusing the field. */
27
+ ref?: React.Ref<HTMLInputElement>;
25
28
  }
@@ -1,7 +1,7 @@
1
+ import { PopoverAlign } from '../popover/popover.types';
1
2
  import { CSSProperties, ReactNode } from 'react';
2
3
  import { IconContent } from '../types/icon.types';
3
4
  import { ButtonStyleType, ButtonSize } from '../button/button.types';
4
- import { Align } from '../floatingMenu/floatingMenu.types';
5
5
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
6
6
  export interface SplitButtonAction {
7
7
  id: string;
@@ -24,8 +24,8 @@ export interface SplitButtonProps extends HtmlProps {
24
24
  size?: ButtonSize;
25
25
  disabled?: boolean;
26
26
  isLoading?: boolean;
27
- /** Alignment of the actions menu relative to the trigger button (default `Align.Right`) */
28
- align?: Align;
27
+ /** Alignment of the actions menu relative to the trigger button (default `PopoverAlign.End`) */
28
+ align?: PopoverAlign;
29
29
  className?: string;
30
30
  style?: CSSProperties;
31
31
  classNames?: SlotClassNames<SplitButtonSlots>;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from 'react';
1
+ import { CSSProperties, ReactNode, Ref } from 'react';
2
2
  import { FormValidator } from '../../services/formValidation';
3
3
  import { SlotClassNames, SlotStyles, HtmlProps } from '../types/slots.types';
4
4
  export type SwitchSlots = 'track' | 'thumb' | 'label';
@@ -14,6 +14,8 @@ export interface SwitchProps extends Omit<HtmlProps, 'onToggle'> {
14
14
  tabIndex?: number;
15
15
  formValidator?: FormValidator | null;
16
16
  children?: ReactNode;
17
+ /** Ref to the root element. */
18
+ ref?: Ref<HTMLDivElement>;
17
19
  classNames?: SlotClassNames<SwitchSlots>;
18
20
  styles?: SlotStyles<SwitchSlots>;
19
21
  }
@@ -1,3 +1,4 @@
1
1
  export { default } from './themeProvider';
2
2
  export { defaultTheme } from './defaultTheme';
3
+ export { lightTheme } from './lightTheme';
3
4
  export type { Theme, ThemeVariables } from './theme.types';
@@ -0,0 +1,13 @@
1
+ import { Theme } from './theme.types';
2
+ /**
3
+ * The light sibling of {@link defaultTheme}, which is dark. Same brand, inverted surfaces:
4
+ * it declares only what has to flip, and inherits the rest through `baseThemeId`, so a change
5
+ * to the palette or the type scale reaches both themes at once.
6
+ *
7
+ * ```tsx
8
+ * <ThemeProvider themes={[defaultTheme, lightTheme]} activeThemeId='light'>
9
+ * ```
10
+ *
11
+ * `--primary-color` is deliberately untouched: it is the brand, and it reads on both.
12
+ */
13
+ export declare const lightTheme: Theme;