@dxos/react-ui 0.8.4-main.72ec0f3 → 0.8.4-main.765dc60934

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 (420) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/browser/chunk-A5QCIG5R.mjs +24 -0
  4. package/dist/lib/browser/chunk-A5QCIG5R.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-BDBC6H6V.mjs +848 -0
  6. package/dist/lib/browser/chunk-BDBC6H6V.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +4388 -67
  8. package/dist/lib/browser/index.mjs.map +4 -4
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/testing/index.mjs +85 -67
  11. package/dist/lib/browser/testing/index.mjs.map +4 -4
  12. package/dist/lib/browser/translations.mjs +9 -0
  13. package/dist/lib/browser/translations.mjs.map +7 -0
  14. package/dist/lib/node-esm/chunk-3JSJK2ZY.mjs +850 -0
  15. package/dist/lib/node-esm/chunk-3JSJK2ZY.mjs.map +7 -0
  16. package/dist/lib/node-esm/chunk-XCFLA74M.mjs +26 -0
  17. package/dist/lib/node-esm/chunk-XCFLA74M.mjs.map +7 -0
  18. package/dist/lib/node-esm/index.mjs +4388 -67
  19. package/dist/lib/node-esm/index.mjs.map +4 -4
  20. package/dist/lib/node-esm/meta.json +1 -1
  21. package/dist/lib/node-esm/testing/index.mjs +85 -67
  22. package/dist/lib/node-esm/testing/index.mjs.map +4 -4
  23. package/dist/lib/node-esm/translations.mjs +10 -0
  24. package/dist/lib/node-esm/translations.mjs.map +7 -0
  25. package/dist/types/src/components/Avatars/Avatar.d.ts +1 -1
  26. package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
  27. package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -1
  28. package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -1
  29. package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  30. package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  31. package/dist/types/src/components/Button/Button.d.ts +3 -3
  32. package/dist/types/src/components/Button/Button.d.ts.map +1 -1
  33. package/dist/types/src/components/Button/Button.stories.d.ts +1 -1
  34. package/dist/types/src/components/Button/Button.stories.d.ts.map +1 -1
  35. package/dist/types/src/components/Button/IconButton.d.ts +3 -1
  36. package/dist/types/src/components/Button/IconButton.d.ts.map +1 -1
  37. package/dist/types/src/components/Button/IconButton.stories.d.ts +3 -0
  38. package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -1
  39. package/dist/types/src/components/Button/Toggle.d.ts +2 -2
  40. package/dist/types/src/components/Button/Toggle.d.ts.map +1 -1
  41. package/dist/types/src/components/Button/Toggle.stories.d.ts.map +1 -1
  42. package/dist/types/src/components/Button/ToggleGroup.d.ts +10 -10
  43. package/dist/types/src/components/Button/ToggleGroup.d.ts.map +1 -1
  44. package/dist/types/src/components/Button/ToggleGroup.stories.d.ts +6 -6
  45. package/dist/types/src/components/Button/ToggleGroup.stories.d.ts.map +1 -1
  46. package/dist/types/src/components/Card/Card.d.ts +124 -0
  47. package/dist/types/src/components/Card/Card.d.ts.map +1 -0
  48. package/dist/types/src/components/Card/Card.stories.d.ts +21 -0
  49. package/dist/types/src/components/Card/Card.stories.d.ts.map +1 -0
  50. package/dist/types/src/components/Card/index.d.ts +2 -0
  51. package/dist/types/src/components/Card/index.d.ts.map +1 -0
  52. package/dist/types/src/components/Carousel/Carousel.d.ts +90 -0
  53. package/dist/types/src/components/Carousel/Carousel.d.ts.map +1 -0
  54. package/dist/types/src/components/Carousel/index.d.ts +2 -0
  55. package/dist/types/src/components/Carousel/index.d.ts.map +1 -0
  56. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts.map +1 -1
  57. package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +1 -1
  58. package/dist/types/src/components/Clipboard/index.d.ts +10 -1
  59. package/dist/types/src/components/Clipboard/index.d.ts.map +1 -1
  60. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts +1 -1
  61. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -1
  62. package/dist/types/src/components/Dialog/AlertDialog.d.ts +43 -23
  63. package/dist/types/src/components/Dialog/AlertDialog.d.ts.map +1 -1
  64. package/dist/types/src/components/Dialog/AlertDialog.stories.d.ts.map +1 -1
  65. package/dist/types/src/components/Dialog/Dialog.d.ts +56 -23
  66. package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -1
  67. package/dist/types/src/components/Dialog/Dialog.stories.d.ts +10 -10
  68. package/dist/types/src/components/Dialog/Dialog.stories.d.ts.map +1 -1
  69. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts +1 -1
  70. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -1
  71. package/dist/types/src/components/ErrorFallback/ErrorFallback.d.ts +11 -0
  72. package/dist/types/src/components/ErrorFallback/ErrorFallback.d.ts.map +1 -0
  73. package/dist/types/src/components/ErrorFallback/ErrorFallback.stories.d.ts +7 -0
  74. package/dist/types/src/components/ErrorFallback/ErrorFallback.stories.d.ts.map +1 -0
  75. package/dist/types/src/components/ErrorFallback/ErrorStack.d.ts +19 -0
  76. package/dist/types/src/components/ErrorFallback/ErrorStack.d.ts.map +1 -0
  77. package/dist/types/src/components/ErrorFallback/ThrowError.d.ts +9 -0
  78. package/dist/types/src/components/ErrorFallback/ThrowError.d.ts.map +1 -0
  79. package/dist/types/src/components/ErrorFallback/index.d.ts +5 -0
  80. package/dist/types/src/components/ErrorFallback/index.d.ts.map +1 -0
  81. package/dist/types/src/components/Focus/Focus.d.ts +36 -0
  82. package/dist/types/src/components/Focus/Focus.d.ts.map +1 -0
  83. package/dist/types/src/components/Focus/Focus.stories.d.ts +9 -0
  84. package/dist/types/src/components/Focus/Focus.stories.d.ts.map +1 -0
  85. package/dist/types/src/components/Focus/index.d.ts +2 -0
  86. package/dist/types/src/components/Focus/index.d.ts.map +1 -0
  87. package/dist/types/src/components/Icon/Icon.d.ts +5 -1
  88. package/dist/types/src/components/Icon/Icon.d.ts.map +1 -1
  89. package/dist/types/src/components/Icon/Icon.stories.d.ts +11 -3
  90. package/dist/types/src/components/Icon/Icon.stories.d.ts.map +1 -1
  91. package/dist/types/src/components/Image/Image.d.ts +15 -0
  92. package/dist/types/src/components/Image/Image.d.ts.map +1 -0
  93. package/dist/types/src/components/Image/Image.stories.d.ts +34 -0
  94. package/dist/types/src/components/Image/Image.stories.d.ts.map +1 -0
  95. package/dist/types/src/components/Image/index.d.ts +2 -0
  96. package/dist/types/src/components/Image/index.d.ts.map +1 -0
  97. package/dist/types/src/components/Input/Input.d.ts +19 -22
  98. package/dist/types/src/components/Input/Input.d.ts.map +1 -1
  99. package/dist/types/src/components/Input/Input.stories.d.ts +8 -8
  100. package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
  101. package/dist/types/src/components/Link/Link.stories.d.ts.map +1 -1
  102. package/dist/types/src/components/List/List.d.ts +6 -4
  103. package/dist/types/src/components/List/List.d.ts.map +1 -1
  104. package/dist/types/src/components/List/List.stories.d.ts +3 -1
  105. package/dist/types/src/components/List/List.stories.d.ts.map +1 -1
  106. package/dist/types/src/components/List/ListDropIndicator.d.ts.map +1 -1
  107. package/dist/types/src/components/List/Tree.d.ts +2 -2
  108. package/dist/types/src/components/List/Tree.d.ts.map +1 -1
  109. package/dist/types/src/components/List/Tree.stories.d.ts.map +1 -1
  110. package/dist/types/src/components/List/TreeDropIndicator.d.ts.map +1 -1
  111. package/dist/types/src/components/List/Treegrid.d.ts +5 -9
  112. package/dist/types/src/components/List/Treegrid.d.ts.map +1 -1
  113. package/dist/types/src/components/List/Treegrid.stories.d.ts.map +1 -1
  114. package/dist/types/src/components/Main/Main.d.ts +16 -13
  115. package/dist/types/src/components/Main/Main.d.ts.map +1 -1
  116. package/dist/types/src/components/Main/Main.stories.d.ts +0 -3
  117. package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
  118. package/dist/types/src/components/Main/useSwipeToDismiss.d.ts.map +1 -1
  119. package/dist/types/src/components/MediaPlayer/MediaPlayer.d.ts +30 -0
  120. package/dist/types/src/components/MediaPlayer/MediaPlayer.d.ts.map +1 -0
  121. package/dist/types/src/components/MediaPlayer/MediaPlayer.stories.d.ts +15 -0
  122. package/dist/types/src/components/MediaPlayer/MediaPlayer.stories.d.ts.map +1 -0
  123. package/dist/types/src/components/MediaPlayer/index.d.ts +2 -0
  124. package/dist/types/src/components/MediaPlayer/index.d.ts.map +1 -0
  125. package/dist/types/src/components/{Menus → Menu}/ContextMenu.d.ts +6 -6
  126. package/dist/types/src/components/Menu/ContextMenu.d.ts.map +1 -0
  127. package/dist/types/src/components/Menu/ContextMenu.stories.d.ts.map +1 -0
  128. package/dist/types/src/components/Menu/DropdownMenu.d.ts +121 -0
  129. package/dist/types/src/components/Menu/DropdownMenu.d.ts.map +1 -0
  130. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts +28 -0
  131. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts.map +1 -0
  132. package/dist/types/src/components/Menu/index.d.ts.map +1 -0
  133. package/dist/types/src/components/Message/Message.d.ts +2 -2
  134. package/dist/types/src/components/Message/Message.d.ts.map +1 -1
  135. package/dist/types/src/components/Message/Message.stories.d.ts +5 -6
  136. package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
  137. package/dist/types/src/components/Popover/Popover.d.ts +40 -23
  138. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  139. package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
  140. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +27 -27
  141. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  142. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +57 -8
  143. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  144. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts +45 -14
  145. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts.map +1 -1
  146. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts +10 -5
  147. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts.map +1 -1
  148. package/dist/types/src/components/Select/Select.d.ts +9 -9
  149. package/dist/types/src/components/Select/Select.d.ts.map +1 -1
  150. package/dist/types/src/components/Select/Select.stories.d.ts +2 -2
  151. package/dist/types/src/components/Select/Select.stories.d.ts.map +1 -1
  152. package/dist/types/src/components/Separator/Separator.d.ts +4 -4
  153. package/dist/types/src/components/Separator/Separator.d.ts.map +1 -1
  154. package/dist/types/src/components/Skeleton/Skeleton.d.ts +12 -0
  155. package/dist/types/src/components/Skeleton/Skeleton.d.ts.map +1 -0
  156. package/dist/types/src/components/Skeleton/Skeleton.stories.d.ts +17 -0
  157. package/dist/types/src/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
  158. package/dist/types/src/components/Skeleton/index.d.ts +2 -0
  159. package/dist/types/src/components/Skeleton/index.d.ts.map +1 -0
  160. package/dist/types/src/components/Splitter/Splitter.d.ts +34 -0
  161. package/dist/types/src/components/Splitter/Splitter.d.ts.map +1 -0
  162. package/dist/types/src/components/Splitter/Splitter.stories.d.ts +7 -0
  163. package/dist/types/src/components/Splitter/Splitter.stories.d.ts.map +1 -0
  164. package/dist/types/src/components/Splitter/index.d.ts +2 -0
  165. package/dist/types/src/components/Splitter/index.d.ts.map +1 -0
  166. package/dist/types/src/components/Status/Status.d.ts +3 -4
  167. package/dist/types/src/components/Status/Status.d.ts.map +1 -1
  168. package/dist/types/src/components/Status/Status.stories.d.ts +4 -2
  169. package/dist/types/src/components/Status/Status.stories.d.ts.map +1 -1
  170. package/dist/types/src/components/Tag/Tag.d.ts +1 -1
  171. package/dist/types/src/components/Tag/Tag.d.ts.map +1 -1
  172. package/dist/types/src/components/Tag/Tag.stories.d.ts +0 -5
  173. package/dist/types/src/components/Tag/Tag.stories.d.ts.map +1 -1
  174. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts +3 -3
  175. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  176. package/dist/types/src/components/{Menus/DropdownMenu.stories.d.ts → ThemeProvider/ThemeProvider.stories.d.ts} +2 -5
  177. package/dist/types/src/components/ThemeProvider/ThemeProvider.stories.d.ts.map +1 -0
  178. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +55 -63
  179. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  180. package/dist/types/src/components/ThemeProvider/index.d.ts +2 -1
  181. package/dist/types/src/components/ThemeProvider/index.d.ts.map +1 -1
  182. package/dist/types/src/components/Toast/Toast.d.ts +20 -20
  183. package/dist/types/src/components/Toast/Toast.d.ts.map +1 -1
  184. package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -1
  185. package/dist/types/src/components/Toolbar/Toolbar.d.ts +39 -21
  186. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  187. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
  188. package/dist/types/src/components/Tooltip/Tooltip.d.ts +10 -10
  189. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  190. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +2 -2
  191. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  192. package/dist/types/src/components/index.d.ts +12 -5
  193. package/dist/types/src/components/index.d.ts.map +1 -1
  194. package/dist/types/src/exemplars/generics.stories.d.ts +19 -0
  195. package/dist/types/src/exemplars/generics.stories.d.ts.map +1 -0
  196. package/dist/types/src/exemplars/slot.stories.d.ts +15 -0
  197. package/dist/types/src/exemplars/slot.stories.d.ts.map +1 -0
  198. package/dist/types/src/exemplars/tabster.stories.d.ts +8 -0
  199. package/dist/types/src/exemplars/tabster.stories.d.ts.map +1 -0
  200. package/dist/types/src/exemplars/virtualizer.stories.d.ts +11 -0
  201. package/dist/types/src/exemplars/virtualizer.stories.d.ts.map +1 -0
  202. package/dist/types/src/hooks/index.d.ts +1 -0
  203. package/dist/types/src/hooks/index.d.ts.map +1 -1
  204. package/dist/types/src/hooks/useDensityContext.d.ts +2 -2
  205. package/dist/types/src/hooks/useDensityContext.d.ts.map +1 -1
  206. package/dist/types/src/hooks/useElevationContext.d.ts +1 -1
  207. package/dist/types/src/hooks/useElevationContext.d.ts.map +1 -1
  208. package/dist/types/src/hooks/useIconHref.d.ts.map +1 -1
  209. package/dist/types/src/hooks/useSafeArea.d.ts.map +1 -1
  210. package/dist/types/src/hooks/useSafeCollisionPadding.d.ts.map +1 -1
  211. package/dist/types/src/hooks/useVisualViewport.d.ts.map +1 -1
  212. package/dist/types/src/index.d.ts +2 -1
  213. package/dist/types/src/index.d.ts.map +1 -1
  214. package/dist/types/src/playground/Controls.stories.d.ts.map +1 -1
  215. package/dist/types/src/playground/Custom.stories.d.ts +1 -1
  216. package/dist/types/src/playground/Custom.stories.d.ts.map +1 -1
  217. package/dist/types/src/playground/Typography.stories.d.ts.map +1 -1
  218. package/dist/types/src/primitives/Column/Column.d.ts +33 -0
  219. package/dist/types/src/primitives/Column/Column.d.ts.map +1 -0
  220. package/dist/types/src/primitives/Column/Column.stories.d.ts +25 -0
  221. package/dist/types/src/primitives/Column/Column.stories.d.ts.map +1 -0
  222. package/dist/types/src/primitives/Column/index.d.ts +2 -0
  223. package/dist/types/src/primitives/Column/index.d.ts.map +1 -0
  224. package/dist/types/src/primitives/Container/Container.d.ts +7 -0
  225. package/dist/types/src/primitives/Container/Container.d.ts.map +1 -0
  226. package/dist/types/src/primitives/Container/Container.stories.d.ts +6 -0
  227. package/dist/types/src/primitives/Container/Container.stories.d.ts.map +1 -0
  228. package/dist/types/src/primitives/Container/index.d.ts +2 -0
  229. package/dist/types/src/primitives/Container/index.d.ts.map +1 -0
  230. package/dist/types/src/primitives/Flex/Flex.d.ts +11 -0
  231. package/dist/types/src/primitives/Flex/Flex.d.ts.map +1 -0
  232. package/dist/types/src/primitives/Flex/Flex.stories.d.ts +8 -0
  233. package/dist/types/src/primitives/Flex/Flex.stories.d.ts.map +1 -0
  234. package/dist/types/src/primitives/Flex/index.d.ts +2 -0
  235. package/dist/types/src/primitives/Flex/index.d.ts.map +1 -0
  236. package/dist/types/src/primitives/Grid/Grid.d.ts +10 -0
  237. package/dist/types/src/primitives/Grid/Grid.d.ts.map +1 -0
  238. package/dist/types/src/primitives/Grid/Grid.stories.d.ts +8 -0
  239. package/dist/types/src/primitives/Grid/Grid.stories.d.ts.map +1 -0
  240. package/dist/types/src/primitives/Grid/index.d.ts +2 -0
  241. package/dist/types/src/primitives/Grid/index.d.ts.map +1 -0
  242. package/dist/types/src/primitives/Panel/Panel.d.ts +35 -0
  243. package/dist/types/src/primitives/Panel/Panel.d.ts.map +1 -0
  244. package/dist/types/src/primitives/Panel/Panel.stories.d.ts +6 -0
  245. package/dist/types/src/primitives/Panel/Panel.stories.d.ts.map +1 -0
  246. package/dist/types/src/primitives/Panel/index.d.ts +2 -0
  247. package/dist/types/src/primitives/Panel/index.d.ts.map +1 -0
  248. package/dist/types/src/primitives/index.d.ts +6 -0
  249. package/dist/types/src/primitives/index.d.ts.map +1 -0
  250. package/dist/types/src/testing/Loading.d.ts +9 -0
  251. package/dist/types/src/testing/Loading.d.ts.map +1 -0
  252. package/dist/types/src/testing/decorators/withLayout.d.ts +3 -3
  253. package/dist/types/src/testing/decorators/withLayout.d.ts.map +1 -1
  254. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts +1 -1
  255. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts.map +1 -1
  256. package/dist/types/src/testing/decorators/withTheme.d.ts +3 -2
  257. package/dist/types/src/testing/decorators/withTheme.d.ts.map +1 -1
  258. package/dist/types/src/testing/index.d.ts +1 -0
  259. package/dist/types/src/testing/index.d.ts.map +1 -1
  260. package/dist/types/src/translations.d.ts +16 -0
  261. package/dist/types/src/translations.d.ts.map +1 -0
  262. package/dist/types/src/util/index.d.ts +1 -2
  263. package/dist/types/src/util/index.d.ts.map +1 -1
  264. package/dist/types/src/util/usePx.d.ts.map +1 -1
  265. package/dist/types/tsconfig.tsbuildinfo +1 -1
  266. package/package.json +52 -40
  267. package/src/components/Avatars/Avatar.stories.tsx +7 -9
  268. package/src/components/Avatars/Avatar.tsx +7 -15
  269. package/src/components/Avatars/AvatarGroup.stories.tsx +2 -3
  270. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +3 -4
  271. package/src/components/Breadcrumb/Breadcrumb.tsx +11 -37
  272. package/src/components/Button/Button.stories.tsx +3 -4
  273. package/src/components/Button/Button.tsx +12 -26
  274. package/src/components/Button/IconButton.stories.tsx +8 -6
  275. package/src/components/Button/IconButton.tsx +10 -6
  276. package/src/components/Button/Toggle.stories.tsx +2 -3
  277. package/src/components/Button/Toggle.tsx +4 -4
  278. package/src/components/Button/ToggleGroup.stories.tsx +2 -3
  279. package/src/components/Button/ToggleGroup.tsx +12 -16
  280. package/src/components/Card/Card.stories.tsx +151 -0
  281. package/src/components/Card/Card.tsx +514 -0
  282. package/src/components/Card/index.ts +5 -0
  283. package/src/components/Carousel/Carousel.tsx +339 -0
  284. package/src/components/Carousel/index.ts +5 -0
  285. package/src/components/Clipboard/CopyButton.tsx +9 -10
  286. package/src/components/DensityProvider/DensityProvider.tsx +1 -1
  287. package/src/components/Dialog/AlertDialog.stories.tsx +16 -17
  288. package/src/components/Dialog/AlertDialog.tsx +123 -82
  289. package/src/components/Dialog/Dialog.stories.tsx +138 -28
  290. package/src/components/Dialog/Dialog.tsx +197 -71
  291. package/src/components/ElevationProvider/ElevationProvider.tsx +1 -1
  292. package/src/components/ErrorFallback/ErrorFallback.stories.tsx +45 -0
  293. package/src/components/ErrorFallback/ErrorFallback.tsx +70 -0
  294. package/src/components/ErrorFallback/ErrorStack.tsx +114 -0
  295. package/src/components/ErrorFallback/ThrowError.tsx +37 -0
  296. package/src/components/ErrorFallback/index.ts +9 -0
  297. package/src/components/Focus/AUDIT.md +43 -0
  298. package/src/components/Focus/Focus.stories.tsx +230 -0
  299. package/src/components/Focus/Focus.tsx +201 -0
  300. package/src/components/Focus/index.ts +5 -0
  301. package/src/components/Icon/Icon.stories.tsx +45 -15
  302. package/src/components/Icon/Icon.tsx +15 -4
  303. package/src/components/Image/Image.stories.tsx +86 -0
  304. package/src/components/Image/Image.tsx +246 -0
  305. package/src/components/Image/index.ts +5 -0
  306. package/src/components/Input/Input.stories.tsx +21 -41
  307. package/src/components/Input/Input.tsx +38 -74
  308. package/src/components/Link/Link.stories.tsx +2 -3
  309. package/src/components/Link/Link.tsx +2 -2
  310. package/src/components/List/List.stories.tsx +31 -35
  311. package/src/components/List/List.tsx +17 -21
  312. package/src/components/List/ListDropIndicator.tsx +7 -8
  313. package/src/components/List/Tree.stories.tsx +6 -7
  314. package/src/components/List/Tree.tsx +0 -1
  315. package/src/components/List/TreeDropIndicator.tsx +6 -6
  316. package/src/components/List/Treegrid.stories.tsx +29 -30
  317. package/src/components/List/Treegrid.tsx +23 -28
  318. package/src/components/Main/Main.stories.tsx +41 -24
  319. package/src/components/Main/Main.tsx +139 -83
  320. package/src/components/MediaPlayer/MediaPlayer.stories.tsx +42 -0
  321. package/src/components/MediaPlayer/MediaPlayer.tsx +97 -0
  322. package/src/components/MediaPlayer/index.ts +5 -0
  323. package/src/components/{Menus → Menu}/ContextMenu.stories.tsx +2 -3
  324. package/src/components/{Menus → Menu}/ContextMenu.tsx +9 -33
  325. package/src/components/{Menus → Menu}/DropdownMenu.stories.tsx +2 -3
  326. package/src/components/{Menus → Menu}/DropdownMenu.tsx +119 -109
  327. package/src/components/Message/Message.stories.tsx +27 -13
  328. package/src/components/Message/Message.tsx +59 -33
  329. package/src/components/Popover/Popover.stories.tsx +7 -8
  330. package/src/components/Popover/Popover.tsx +97 -92
  331. package/src/components/ScrollArea/ScrollArea.stories.tsx +221 -36
  332. package/src/components/ScrollArea/ScrollArea.tsx +97 -79
  333. package/src/components/ScrollArea/index.ts +1 -1
  334. package/src/components/ScrollContainer/ScrollContainer.stories.tsx +47 -25
  335. package/src/components/ScrollContainer/ScrollContainer.tsx +224 -110
  336. package/src/components/Select/Select.stories.tsx +7 -8
  337. package/src/components/Select/Select.tsx +11 -27
  338. package/src/components/Separator/Separator.tsx +5 -8
  339. package/src/components/Skeleton/Skeleton.stories.tsx +51 -0
  340. package/src/components/Skeleton/Skeleton.tsx +26 -0
  341. package/src/components/Skeleton/index.ts +5 -0
  342. package/src/components/Splitter/Splitter.stories.tsx +83 -0
  343. package/src/components/Splitter/Splitter.tsx +127 -0
  344. package/src/components/Splitter/index.ts +5 -0
  345. package/src/components/Status/Status.stories.tsx +21 -18
  346. package/src/components/Status/Status.tsx +10 -7
  347. package/src/components/Tag/Tag.stories.tsx +6 -12
  348. package/src/components/Tag/Tag.tsx +3 -8
  349. package/src/components/ThemeProvider/ThemeProvider.stories.tsx +31 -0
  350. package/src/components/ThemeProvider/ThemeProvider.tsx +10 -10
  351. package/src/components/ThemeProvider/TranslationsProvider.tsx +1 -16
  352. package/src/components/ThemeProvider/index.ts +3 -3
  353. package/src/components/Toast/Toast.stories.tsx +2 -3
  354. package/src/components/Toast/Toast.tsx +22 -41
  355. package/src/components/Toolbar/Toolbar.stories.tsx +2 -3
  356. package/src/components/Toolbar/Toolbar.tsx +188 -24
  357. package/src/components/Tooltip/Tooltip.stories.tsx +20 -19
  358. package/src/components/Tooltip/Tooltip.tsx +40 -38
  359. package/src/components/index.ts +13 -6
  360. package/src/exemplars/generics.stories.tsx +41 -0
  361. package/src/exemplars/slot.stories.tsx +115 -0
  362. package/src/exemplars/tabster.stories.tsx +127 -0
  363. package/src/exemplars/virtualizer.stories.tsx +136 -0
  364. package/src/hooks/index.ts +1 -0
  365. package/src/hooks/useDensityContext.ts +3 -3
  366. package/src/hooks/useElevationContext.ts +1 -1
  367. package/src/index.ts +2 -1
  368. package/src/playground/Controls.stories.tsx +3 -10
  369. package/src/playground/Custom.stories.tsx +15 -18
  370. package/src/playground/Typography.stories.tsx +3 -3
  371. package/src/primitives/Column/AUDIT.md +148 -0
  372. package/src/primitives/Column/Column.stories.tsx +181 -0
  373. package/src/primitives/Column/Column.tsx +165 -0
  374. package/src/primitives/Column/index.ts +5 -0
  375. package/src/primitives/Container/Container.stories.tsx +29 -0
  376. package/src/primitives/Container/Container.tsx +19 -0
  377. package/src/primitives/Container/index.ts +5 -0
  378. package/src/primitives/Flex/Flex.stories.tsx +57 -0
  379. package/src/primitives/Flex/Flex.tsx +27 -0
  380. package/src/primitives/Flex/index.ts +5 -0
  381. package/src/primitives/Grid/Grid.stories.tsx +56 -0
  382. package/src/primitives/Grid/Grid.tsx +30 -0
  383. package/src/primitives/Grid/index.ts +5 -0
  384. package/src/primitives/Panel/Panel.stories.tsx +68 -0
  385. package/src/primitives/Panel/Panel.tsx +120 -0
  386. package/src/primitives/Panel/index.ts +5 -0
  387. package/src/primitives/index.ts +9 -0
  388. package/src/testing/Loading.tsx +47 -0
  389. package/src/testing/decorators/withLayout.tsx +32 -21
  390. package/src/testing/decorators/withLayoutVariants.tsx +20 -23
  391. package/src/testing/decorators/withTheme.tsx +26 -20
  392. package/src/testing/index.ts +2 -0
  393. package/src/translations.ts +24 -0
  394. package/src/util/index.ts +2 -2
  395. package/src/util/usePx.ts +1 -0
  396. package/dist/lib/browser/chunk-53MI2QCM.mjs +0 -4707
  397. package/dist/lib/browser/chunk-53MI2QCM.mjs.map +0 -7
  398. package/dist/lib/node-esm/chunk-ID67AFFF.mjs +0 -4709
  399. package/dist/lib/node-esm/chunk-ID67AFFF.mjs.map +0 -7
  400. package/dist/types/src/components/AnchoredOverflow/AnchoredOverflow.d.ts +0 -15
  401. package/dist/types/src/components/AnchoredOverflow/AnchoredOverflow.d.ts.map +0 -1
  402. package/dist/types/src/components/AnchoredOverflow/index.d.ts +0 -2
  403. package/dist/types/src/components/AnchoredOverflow/index.d.ts.map +0 -1
  404. package/dist/types/src/components/Menus/ContextMenu.d.ts.map +0 -1
  405. package/dist/types/src/components/Menus/ContextMenu.stories.d.ts.map +0 -1
  406. package/dist/types/src/components/Menus/DropdownMenu.d.ts +0 -113
  407. package/dist/types/src/components/Menus/DropdownMenu.d.ts.map +0 -1
  408. package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts.map +0 -1
  409. package/dist/types/src/components/Menus/index.d.ts.map +0 -1
  410. package/dist/types/src/util/ThemedClassName.d.ts +0 -5
  411. package/dist/types/src/util/ThemedClassName.d.ts.map +0 -1
  412. package/dist/types/src/util/domino.d.ts +0 -18
  413. package/dist/types/src/util/domino.d.ts.map +0 -1
  414. package/src/components/AnchoredOverflow/AnchoredOverflow.tsx +0 -59
  415. package/src/components/AnchoredOverflow/index.ts +0 -5
  416. package/src/util/ThemedClassName.ts +0 -7
  417. package/src/util/domino.ts +0 -53
  418. /package/dist/types/src/components/{Menus → Menu}/ContextMenu.stories.d.ts +0 -0
  419. /package/dist/types/src/components/{Menus → Menu}/index.d.ts +0 -0
  420. /package/src/components/{Menus → Menu}/index.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../../src/components/Main/Main.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAmC,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,KAAK,EAAE,EACZ,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EAMpB,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,KAAK,KAAK,EAAqC,MAAM,kBAAkB,CAAC;AAYjF;;;GAGG;AACH,QAAA,MAAM,gBAAgB,GAAI,gBAAgB,wBAAwB,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,EAAE,UAAU,M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AAS,CAAC,GAAG,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC,CAAC;AAoCnH,KAAK,gBAAgB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,GAAG;IACrF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,IAAI,CAAC;IAClD,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AA2DF,KAAK,0BAA0B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AAyB9E,KAAK,6BAA6B,GAAG,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AA0BjF,KAAK,gBAAgB,GAAG,eAAe,CACrC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,GACzC,cAAc,GAAG;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CACJ,CAAC;AAgCF,eAAO,MAAM,IAAI;IACf,IAAI;qRAtPH,aAAa;;;IAuPd,OAAO;IACP,OAAO;IACP,iBAAiB;IACjB,oBAAoB;CACrB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC;AAEzD,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,YAAY,EAAE,CAAC"}
@@ -11,9 +11,6 @@ declare const meta: {
11
11
  decorators: import("@storybook/react").Decorator[];
12
12
  parameters: {
13
13
  layout: string;
14
- chromatic: {
15
- disableSnapshot: boolean;
16
- };
17
14
  };
18
15
  };
19
16
  export default meta;
@@ -1 +1 @@
1
- {"version":3,"file":"Main.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Main/Main.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,aAAa,GAAG,EAAE,CAAC;AAmCxB,QAAA,MAAM,IAAI;;;;;;oBAvBmB,aAAa;;;;;;;;CAkCL,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
1
+ {"version":3,"file":"Main.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Main/Main.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,KAAK,aAAa,GAAG,EAAE,CAAC;AAuDxB,QAAA,MAAM,IAAI;;;;;;oBA7BmB,aAAa;;;QAmCtC,MAAM;;CAE2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSwipeToDismiss.d.ts","sourceRoot":"","sources":["../../../../../src/components/Main/useSwipeToDismiss.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAC;AAQzE,KAAK,OAAO,GAAG,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,cAAc,GAAG,YAAY,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAC5B,KAAK,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAClC,4DAAqG,OAAO,SA8E7G,CAAC"}
1
+ {"version":3,"file":"useSwipeToDismiss.d.ts","sourceRoot":"","sources":["../../../../../src/components/Main/useSwipeToDismiss.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAoC,MAAM,OAAO,CAAC;AAQzE,KAAK,OAAO,GAAG,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,cAAc,GAAG,YAAY,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,eAAO,MAAM,iBAAiB,QACvB,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,8DACmE,OAAO,SA8E7G,CAAC"}
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ import { type ThemedClassName } from '../../util';
3
+ export type MediaKind = 'video' | 'audio';
4
+ export type MediaPlayerProps = ThemedClassName<{
5
+ src: string;
6
+ /** Override auto-detection. When omitted, `detectMediaKind(src)` is used and falls back to 'video'. */
7
+ kind?: MediaKind;
8
+ controls?: boolean;
9
+ autoPlay?: boolean;
10
+ loop?: boolean;
11
+ muted?: boolean;
12
+ /** Accessible label for the `<video>` / `<audio>` element. */
13
+ alt?: string;
14
+ /** Defaults to 'anonymous' for cross-origin sources (e.g. signed S3 URLs). */
15
+ crossOrigin?: 'anonymous' | 'use-credentials' | '';
16
+ }>;
17
+ /**
18
+ * Best-effort detection of `video` vs `audio` from a media URL.
19
+ * Inspects the pathname's extension (ignoring query/hash). Returns `undefined`
20
+ * when the URL doesn't look like a recognised media file — callers should
21
+ * default to 'video' or render a fallback (e.g. iframe / img).
22
+ */
23
+ export declare const detectMediaKind: (src: string) => MediaKind | undefined;
24
+ /**
25
+ * Renders a generated or remotely-hosted media artefact as a native
26
+ * `<video>` or `<audio>` element. `kind` defaults to the auto-detected
27
+ * kind from the URL extension (and falls back to 'video' for ambiguous URLs).
28
+ */
29
+ export declare const MediaPlayer: ({ classNames, src, kind, controls, autoPlay, loop, muted, alt, crossOrigin, }: MediaPlayerProps) => React.JSX.Element;
30
+ //# sourceMappingURL=MediaPlayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaPlayer/MediaPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE1C,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAC;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,uGAAuG;IACvG,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8DAA8D;IAC9D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,WAAW,CAAC,EAAE,WAAW,GAAG,iBAAiB,GAAG,EAAE,CAAC;CACpD,CAAC,CAAC;AAKH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,KAAG,SAAS,GAAG,SAWzD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,kFAUrB,gBAAgB,sBAiClB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ classNames, src, kind, controls, autoPlay, loop, muted, alt, crossOrigin, }: import("./MediaPlayer").MediaPlayerProps) => import("react").JSX.Element;
5
+ decorators: import("@storybook/react").Decorator[];
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Video: Story;
13
+ export declare const Audio: Story;
14
+ export declare const ExplicitKind: Story;
15
+ //# sourceMappingURL=MediaPlayer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaPlayer/MediaPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;;QAIM,MAAM;;CACc,CAAC;eAEtB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './MediaPlayer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MediaPlayer/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -23,27 +23,27 @@ export declare const ContextMenu: {
23
23
  Trigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
24
24
  Portal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
25
25
  Content: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps, "className"> & {
26
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
26
+ classNames?: import("@dxos/ui-types").ClassNameValue;
27
27
  } & {
28
28
  constrainBlockSize?: boolean;
29
29
  } & React.RefAttributes<HTMLDivElement>>;
30
30
  Viewport: React.ForwardRefExoticComponent<Omit<ContextMenuViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
31
31
  Arrow: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuArrowProps, "className"> & {
32
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
32
+ classNames?: import("@dxos/ui-types").ClassNameValue;
33
33
  } & React.RefAttributes<SVGSVGElement>>;
34
34
  Group: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
35
35
  Item: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps, "className"> & {
36
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
36
+ classNames?: import("@dxos/ui-types").ClassNameValue;
37
37
  } & React.RefAttributes<HTMLDivElement>>;
38
38
  CheckboxItem: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps, "className"> & {
39
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
39
+ classNames?: import("@dxos/ui-types").ClassNameValue;
40
40
  } & React.RefAttributes<HTMLDivElement>>;
41
41
  ItemIndicator: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
42
42
  Separator: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps, "className"> & {
43
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
43
+ classNames?: import("@dxos/ui-types").ClassNameValue;
44
44
  } & React.RefAttributes<HTMLDivElement>>;
45
45
  GroupLabel: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps, "className"> & {
46
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
46
+ classNames?: import("@dxos/ui-types").ClassNameValue;
47
47
  } & React.RefAttributes<HTMLDivElement>>;
48
48
  };
49
49
  export type { ContextMenuRootProps, ContextMenuTriggerProps, ContextMenuPortalProps, ContextMenuContentProps, ContextMenuViewportProps, ContextMenuArrowProps, ContextMenuGroupProps, ContextMenuItemProps, ContextMenuCheckboxItemProps, ContextMenuItemIndicatorProps, ContextMenuSeparatorProps, ContextMenuGroupLabelProps, };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Menu/ContextMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAItE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,KAAK,oBAAoB,GAAG,oBAAoB,CAAC,gBAAgB,CAAC;AAIlE,KAAK,uBAAuB,GAAG,oBAAoB,CAAC,uBAAuB,CAAC;AAI5E,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC;AAI1E,KAAK,uBAAuB,GAAG,eAAe,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,GAAG;IAC7F,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAqBF,KAAK,wBAAwB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG;IAC7F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAcF,KAAK,qBAAqB,GAAG,eAAe,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,CAAC;AAOzF,KAAK,qBAAqB,GAAG,oBAAoB,CAAC,qBAAqB,CAAC;AAIxE,KAAK,6BAA6B,GAAG,oBAAoB,CAAC,6BAA6B,CAAC;AAIxF,KAAK,oBAAoB,GAAG,eAAe,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;AASvF,KAAK,4BAA4B,GAAG,eAAe,CAAC,oBAAoB,CAAC,4BAA4B,CAAC,CAAC;AAWvG,KAAK,yBAAyB,GAAG,eAAe,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,CAAC;AAWjG,KAAK,0BAA0B,GAAG,eAAe,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,CAAC;AAW9F,eAAO,MAAM,WAAW;IACtB,IAAI;IACJ,OAAO;IACP,MAAM;IACN,OAAO;;;6BAnGc,OAAO;;IAoG5B,QAAQ;IACR,KAAK;;;IACL,KAAK;IACL,IAAI;;;IACJ,YAAY;;;IACZ,aAAa;IACb,SAAS;;;IACT,UAAU;;;CACX,CAAC;AAEF,YAAY,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,EACzB,0BAA0B,GAC3B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenu.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Menu/ContextMenu.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAuF1B,QAAA,MAAM,IAAI;;eAEuB,GAAG;;;CAGC,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -0,0 +1,121 @@
1
+ import type { Scope } from '@radix-ui/react-context';
2
+ import * as MenuPrimitive from '@radix-ui/react-menu';
3
+ import { Primitive } from '@radix-ui/react-primitive';
4
+ import React, { type ComponentPropsWithRef, type ComponentPropsWithoutRef, type ComponentRef, type FC, PropsWithChildren, type ReactNode, type RefObject } from 'react';
5
+ import { type ThemedClassName } from '../../util';
6
+ type Direction = 'ltr' | 'rtl';
7
+ type ScopedProps<P> = P & {
8
+ __scopeDropdownMenu?: Scope;
9
+ };
10
+ declare const createDropdownMenuScope: import("@radix-ui/react-context").CreateScope;
11
+ type DropdownMenuContextValue = {
12
+ triggerId: string;
13
+ triggerRef: RefObject<HTMLButtonElement | null>;
14
+ contentId: string;
15
+ open: boolean;
16
+ onOpenChange(open: boolean): void;
17
+ onOpenToggle(): void;
18
+ modal: boolean;
19
+ };
20
+ declare const useDropdownMenuContext: (consumerName: string, scope: Scope<DropdownMenuContextValue | undefined>) => DropdownMenuContextValue;
21
+ type DropdownMenuRootProps = PropsWithChildren<{
22
+ dir?: Direction;
23
+ modal?: boolean;
24
+ open?: boolean;
25
+ defaultOpen?: boolean;
26
+ onOpenChange?(open: boolean): void;
27
+ }>;
28
+ declare function DropdownMenuRoot({ __scopeDropdownMenu, children, dir, modal, open: openProp, defaultOpen, onOpenChange }: ScopedProps<DropdownMenuRootProps>): React.JSX.Element;
29
+ declare namespace DropdownMenuRoot {
30
+ var displayName: string;
31
+ }
32
+ type DropdownMenuTriggerElement = ComponentRef<typeof Primitive.button>;
33
+ type PrimitiveButtonProps = ComponentPropsWithoutRef<typeof Primitive.button>;
34
+ type DropdownMenuTriggerProps = PrimitiveButtonProps;
35
+ type DropdownMenuVirtualTriggerProps = {
36
+ virtualRef: RefObject<DropdownMenuTriggerElement | null>;
37
+ };
38
+ declare function DropdownMenuVirtualTrigger(props: ScopedProps<DropdownMenuVirtualTriggerProps>): React.JSX.Element;
39
+ declare namespace DropdownMenuVirtualTrigger {
40
+ var displayName: string;
41
+ }
42
+ type MenuPortalProps = ComponentPropsWithoutRef<typeof MenuPrimitive.Portal>;
43
+ type DropdownMenuPortalProps = MenuPortalProps;
44
+ type DropdownMenuViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {
45
+ asChild?: boolean;
46
+ };
47
+ type MenuContentProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.Content>>;
48
+ type DropdownMenuContentProps = Omit<MenuContentProps, 'onEntryFocus'>;
49
+ type MenuGroupProps = ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
50
+ type DropdownMenuGroupProps = MenuGroupProps;
51
+ type MenuLabelProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.Label>>;
52
+ type DropdownMenuLabelProps = MenuLabelProps;
53
+ type MenuItemProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.Item>>;
54
+ type DropdownMenuItemProps = MenuItemProps;
55
+ type MenuCheckboxItemProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.CheckboxItem>>;
56
+ type DropdownMenuCheckboxItemProps = MenuCheckboxItemProps;
57
+ type MenuRadioGroupProps = ComponentPropsWithoutRef<typeof MenuPrimitive.RadioGroup>;
58
+ type DropdownMenuRadioGroupProps = MenuRadioGroupProps;
59
+ type MenuRadioItemProps = ComponentPropsWithoutRef<typeof MenuPrimitive.RadioItem>;
60
+ type DropdownMenuRadioItemProps = ThemedClassName<MenuRadioItemProps>;
61
+ type MenuItemIndicatorProps = ComponentPropsWithoutRef<typeof MenuPrimitive.ItemIndicator>;
62
+ type DropdownMenuItemIndicatorProps = MenuItemIndicatorProps;
63
+ type MenuSeparatorProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>>;
64
+ type DropdownMenuSeparatorProps = MenuSeparatorProps;
65
+ type MenuArrowProps = ThemedClassName<ComponentPropsWithoutRef<typeof MenuPrimitive.Arrow>>;
66
+ type DropdownMenuArrowProps = MenuArrowProps;
67
+ type DropdownMenuSubProps = {
68
+ children?: ReactNode;
69
+ open?: boolean;
70
+ defaultOpen?: boolean;
71
+ onOpenChange?(open: boolean): void;
72
+ };
73
+ type MenuSubTriggerProps = ComponentPropsWithoutRef<typeof MenuPrimitive.SubTrigger>;
74
+ type DropdownMenuSubTriggerProps = MenuSubTriggerProps;
75
+ type MenuSubContentProps = ComponentPropsWithoutRef<typeof MenuPrimitive.SubContent>;
76
+ type DropdownMenuSubContentProps = MenuSubContentProps;
77
+ export declare const DropdownMenu: {
78
+ Root: {
79
+ ({ __scopeDropdownMenu, children, dir, modal, open: openProp, defaultOpen, onOpenChange, }: ScopedProps<DropdownMenuRootProps>): React.JSX.Element;
80
+ displayName: string;
81
+ };
82
+ Trigger: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
83
+ asChild?: boolean;
84
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
85
+ VirtualTrigger: {
86
+ (props: ScopedProps<DropdownMenuVirtualTriggerProps>): React.JSX.Element;
87
+ displayName: string;
88
+ };
89
+ Portal: FC<MenuPrimitive.MenuPortalProps>;
90
+ Content: React.ForwardRefExoticComponent<DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
91
+ Viewport: React.ForwardRefExoticComponent<Omit<DropdownMenuViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
92
+ Group: React.ForwardRefExoticComponent<Omit<MenuPrimitive.MenuGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
93
+ GroupLabel: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
94
+ classNames?: import("@dxos/ui-types").ClassNameValue;
95
+ } & React.RefAttributes<HTMLDivElement>>;
96
+ Item: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
97
+ classNames?: import("@dxos/ui-types").ClassNameValue;
98
+ } & React.RefAttributes<HTMLDivElement>>;
99
+ CheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
100
+ classNames?: import("@dxos/ui-types").ClassNameValue;
101
+ } & React.RefAttributes<HTMLDivElement>>;
102
+ RadioGroup: React.ForwardRefExoticComponent<Omit<MenuPrimitive.MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
103
+ RadioItem: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
104
+ classNames?: import("@dxos/ui-types").ClassNameValue;
105
+ } & React.RefAttributes<HTMLDivElement>>;
106
+ ItemIndicator: React.ForwardRefExoticComponent<Omit<MenuPrimitive.MenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
107
+ Separator: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
108
+ classNames?: import("@dxos/ui-types").ClassNameValue;
109
+ } & React.RefAttributes<HTMLDivElement>>;
110
+ Arrow: React.ForwardRefExoticComponent<Omit<Omit<MenuPrimitive.MenuArrowProps & React.RefAttributes<SVGSVGElement>, "ref">, "className"> & {
111
+ classNames?: import("@dxos/ui-types").ClassNameValue;
112
+ } & React.RefAttributes<SVGSVGElement>>;
113
+ Sub: FC<DropdownMenuSubProps>;
114
+ SubTrigger: React.ForwardRefExoticComponent<Omit<MenuPrimitive.MenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
115
+ SubContent: React.ForwardRefExoticComponent<Omit<MenuPrimitive.MenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
116
+ };
117
+ type DropdownMenuScope = Scope;
118
+ declare const useDropdownMenuMenuScope: (scope?: DropdownMenuScope) => any;
119
+ export { createDropdownMenuScope, useDropdownMenuContext, useDropdownMenuMenuScope };
120
+ export type { DropdownMenuRootProps, DropdownMenuTriggerProps, DropdownMenuVirtualTriggerProps, DropdownMenuPortalProps, DropdownMenuContentProps, DropdownMenuViewportProps, DropdownMenuGroupProps, DropdownMenuLabelProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuItemIndicatorProps, DropdownMenuSeparatorProps, DropdownMenuArrowProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuSubContentProps, };
121
+ //# sourceMappingURL=DropdownMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Menu/DropdownMenu.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAErD,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAGtD,OAAO,KAAK,EAAE,EACZ,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,YAAY,EACjB,KAAK,EAAE,EACP,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK,CAAC;AAQ/B,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,mBAAmB,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAC1D,QAAA,MAAkC,uBAAuB,+CAA6D,CAAC;AAGvH,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,YAAY,IAAI,IAAI,CAAC;IACrB,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,QAAA,MAA6B,sBAAsB,wGACsB,CAAC;AAE1E,KAAK,qBAAqB,GAAG,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
4
+ title: string;
5
+ component: {
6
+ ({ __scopeDropdownMenu, children, dir, modal, open: openProp, defaultOpen, onOpenChange, }: {
7
+ dir?: "ltr" | "rtl";
8
+ modal?: boolean;
9
+ open?: boolean;
10
+ defaultOpen?: boolean;
11
+ onOpenChange?(open: boolean): void;
12
+ } & {
13
+ children?: React.ReactNode | undefined;
14
+ } & {
15
+ __scopeDropdownMenu?: import("@radix-ui/react-context").Scope;
16
+ }): React.JSX.Element;
17
+ displayName: string;
18
+ };
19
+ render: () => React.JSX.Element;
20
+ decorators: import("@storybook/react").Decorator[];
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Default: Story;
25
+ export declare const VirtualTrigger: {
26
+ render: () => React.JSX.Element;
27
+ };
28
+ //# sourceMappingURL=DropdownMenu.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownMenu.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Menu/DropdownMenu.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA2B,MAAM,OAAO,CAAC;AAuFhD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CAK2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,cAAc;IACzB,MAAM;CAoCP,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Menu/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { Primitive } from '@radix-ui/react-primitive';
2
2
  import React, { type ComponentPropsWithRef } from 'react';
3
- import { type Elevation, type MessageValence } from '@dxos/react-ui-types';
3
+ import { type Elevation, type MessageValence } from '@dxos/ui-types';
4
4
  import { type ThemedClassName } from '../../util';
5
5
  declare const messageIcons: Record<MessageValence, string>;
6
6
  type MessageRootProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {
@@ -11,8 +11,8 @@ type MessageRootProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.d
11
11
  descriptionId?: string;
12
12
  };
13
13
  type MessageTitleProps = Omit<ThemedClassName<ComponentPropsWithRef<typeof Primitive.h2>>, 'id'> & {
14
- asChild?: boolean;
15
14
  icon?: string;
15
+ onClose?: () => void;
16
16
  };
17
17
  type MessageContentProps = Omit<ThemedClassName<ComponentPropsWithRef<typeof Primitive.h2>>, 'id'> & {
18
18
  asChild?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG3E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD,QAAA,MAAM,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAMhD,CAAC;AAEF,KAAK,gBAAgB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG;IACrF,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA4CF,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,CAAC,qBAAqB,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G,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAsCF,KAAK,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG;IACnG,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAuBF,eAAO,MAAM,OAAO;IAClB,IAAI;IACJ,KAAK;IACL,OAAO;CACR,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAAU,CAAC;AAE/B,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC;AAEzE,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type StoryObj } from '@storybook/react-vite';
2
2
  import React from 'react';
3
- import { type MessageValence } from '@dxos/react-ui-types';
4
- type StoryProps = {
3
+ import { type MessageValence } from '@dxos/ui-types';
4
+ type DefaultStoryProps = {
5
5
  valence: MessageValence;
6
6
  title: string;
7
7
  body: string;
@@ -9,12 +9,10 @@ type StoryProps = {
9
9
  declare const meta: {
10
10
  title: string;
11
11
  component: any;
12
- render: ({ valence, title, body }: StoryProps) => React.JSX.Element;
12
+ render: ({ valence, title, body }: DefaultStoryProps) => React.JSX.Element;
13
13
  decorators: import("@storybook/react").Decorator[];
14
14
  parameters: {
15
- chromatic: {
16
- disableSnapshot: boolean;
17
- };
15
+ layout: string;
18
16
  };
19
17
  argTypes: {
20
18
  valence: {
@@ -26,4 +24,5 @@ declare const meta: {
26
24
  export default meta;
27
25
  type Story = StoryObj<typeof meta>;
28
26
  export declare const Default: Story;
27
+ export declare const Error: Story;
29
28
  //# sourceMappingURL=Message.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/Message.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM3D,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AASF,QAAA,MAAM,IAAI;;eAEmB,GAAG;uCATgB,UAAU;;;;;;;;;;;;;CAmBrB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC"}
1
+ {"version":3,"file":"Message.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/Message.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAOrD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAWF,QAAA,MAAM,IAAI;;eAEmB,GAAG;uCAXgB,iBAAiB;;;QAe7D,MAAM;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC"}
@@ -4,31 +4,35 @@ import { FocusScope } from '@radix-ui/react-focus-scope';
4
4
  import * as PopperPrimitive from '@radix-ui/react-popper';
5
5
  import { Portal as PortalPrimitive } from '@radix-ui/react-portal';
6
6
  import { Primitive } from '@radix-ui/react-primitive';
7
- import React, { type ComponentPropsWithRef, type ComponentPropsWithoutRef, type ElementRef, type ReactNode, type RefObject } from 'react';
7
+ import React, { type ComponentPropsWithRef, type ComponentPropsWithoutRef, type ComponentRef, type FC, type ReactNode, type RefObject } from 'react';
8
8
  import { type ThemedClassName } from '../../util';
9
9
  type ScopedProps<P> = P & {
10
10
  __scopePopover?: Scope;
11
11
  };
12
12
  declare const createPopoverScope: import("@radix-ui/react-context").CreateScope;
13
- interface PopoverRootProps {
13
+ type PopoverRootProps = {
14
14
  children?: ReactNode;
15
15
  open?: boolean;
16
16
  defaultOpen?: boolean;
17
17
  onOpenChange?: (open: boolean) => void;
18
18
  modal?: boolean;
19
- }
19
+ };
20
20
  type PopperAnchorProps = ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
21
- interface PopoverAnchorProps extends PopperAnchorProps {
22
- }
23
- type PopoverTriggerElement = ElementRef<typeof Primitive.button>;
21
+ type PopoverAnchorProps = PopperAnchorProps;
22
+ type PopoverTriggerElement = ComponentRef<typeof Primitive.button>;
24
23
  type PrimitiveButtonProps = ComponentPropsWithoutRef<typeof Primitive.button>;
25
- interface PopoverTriggerProps extends PrimitiveButtonProps {
26
- }
27
- interface PopoverVirtualTriggerProps {
24
+ type PopoverTriggerProps = PrimitiveButtonProps & {
25
+ asChild?: boolean;
26
+ };
27
+ type PopoverVirtualTriggerProps = {
28
28
  virtualRef: RefObject<PopoverTriggerElement | null>;
29
+ };
30
+ declare function PopoverVirtualTrigger(props: ScopedProps<PopoverVirtualTriggerProps>): React.JSX.Element;
31
+ declare namespace PopoverVirtualTrigger {
32
+ var displayName: string;
29
33
  }
30
34
  type PortalProps = ComponentPropsWithoutRef<typeof PortalPrimitive>;
31
- interface PopoverPortalProps {
35
+ type PopoverPortalProps = {
32
36
  children?: ReactNode;
33
37
  /**
34
38
  * Specify a container element to portal the content into.
@@ -39,6 +43,10 @@ interface PopoverPortalProps {
39
43
  * controlling animation with React animation libraries.
40
44
  */
41
45
  forceMount?: true;
46
+ };
47
+ declare function PopoverPortal(props: ScopedProps<PopoverPortalProps>): React.JSX.Element;
48
+ declare namespace PopoverPortal {
49
+ var displayName: string;
42
50
  }
43
51
  type PopoverContentProps = ThemedClassName<PopoverContentTypeProps> & {
44
52
  /**
@@ -52,7 +60,7 @@ export interface PopoverContentTypeProps extends Omit<PopoverContentImplProps, '
52
60
  type FocusScopeProps = ComponentPropsWithoutRef<typeof FocusScope>;
53
61
  type DismissableLayerProps = ComponentPropsWithoutRef<typeof DismissableLayer>;
54
62
  type PopperContentProps = ThemedClassName<ComponentPropsWithoutRef<typeof PopperPrimitive.Content>>;
55
- interface PopoverContentImplProps extends Omit<PopperContentProps, 'onPlaced'>, Omit<DismissableLayerProps, 'onDismiss'> {
63
+ type PopoverContentImplProps = Omit<PopperContentProps, 'onPlaced'> & Omit<DismissableLayerProps, 'onDismiss'> & {
56
64
  /**
57
65
  * Whether focus should be trapped within the `Popover`
58
66
  * (default: false)
@@ -68,12 +76,10 @@ interface PopoverContentImplProps extends Omit<PopperContentProps, 'onPlaced'>,
68
76
  * Can be prevented.
69
77
  */
70
78
  onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'];
71
- }
72
- interface PopoverCloseProps extends PrimitiveButtonProps {
73
- }
79
+ };
80
+ type PopoverCloseProps = PrimitiveButtonProps;
74
81
  type PopperArrowProps = ThemedClassName<ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>>;
75
- interface PopoverArrowProps extends PopperArrowProps {
76
- }
82
+ type PopoverArrowProps = PopperArrowProps;
77
83
  type PopoverViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.div>> & {
78
84
  asChild?: boolean;
79
85
  constrainInline?: boolean;
@@ -81,16 +87,23 @@ type PopoverViewportProps = ThemedClassName<ComponentPropsWithRef<typeof Primiti
81
87
  };
82
88
  type PopoverContentInteractOutsideEvent = Parameters<NonNullable<PopoverContentProps['onInteractOutside']>>[0];
83
89
  export declare const Popover: {
84
- Root: React.FC<PopoverRootProps>;
85
- Anchor: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
86
- Trigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
90
+ Root: FC<PopoverRootProps>;
91
+ Anchor: React.ForwardRefExoticComponent<Omit<PopperPrimitive.PopperAnchorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
92
+ Trigger: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
93
+ asChild?: boolean;
94
+ }, "ref"> & {
95
+ asChild?: boolean;
96
+ } & React.RefAttributes<HTMLButtonElement>>;
87
97
  VirtualTrigger: {
88
98
  (props: ScopedProps<PopoverVirtualTriggerProps>): React.JSX.Element;
89
99
  displayName: string;
90
100
  };
91
- Portal: React.FC<PopoverPortalProps>;
101
+ Portal: {
102
+ (props: ScopedProps<PopoverPortalProps>): React.JSX.Element;
103
+ displayName: string;
104
+ };
92
105
  Content: React.ForwardRefExoticComponent<Omit<PopoverContentTypeProps, "className"> & {
93
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
106
+ classNames?: import("@dxos/ui-types").ClassNameValue;
94
107
  } & {
95
108
  /**
96
109
  * Used to force mounting when more control is needed. Useful when
@@ -98,8 +111,12 @@ export declare const Popover: {
98
111
  */
99
112
  forceMount?: boolean;
100
113
  } & React.RefAttributes<HTMLDivElement>>;
101
- Close: React.ForwardRefExoticComponent<PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
102
- Arrow: React.ForwardRefExoticComponent<PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
114
+ Close: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
115
+ asChild?: boolean;
116
+ }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
117
+ Arrow: React.ForwardRefExoticComponent<Omit<Omit<PopperPrimitive.PopperArrowProps & React.RefAttributes<SVGSVGElement>, "ref">, "className"> & {
118
+ classNames?: import("@dxos/ui-types").ClassNameValue;
119
+ } & React.RefAttributes<SVGSVGElement>>;
103
120
  Viewport: React.ForwardRefExoticComponent<Omit<PopoverViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
104
121
  };
105
122
  export { createPopoverScope };
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAItD,OAAO,KAAK,EAAE,EACZ,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,UAAU,EAGf,KAAK,SAAS,EACd,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAQlD,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AACrD,QAAA,MAA6B,kBAAkB,+CAAyD,CAAC;AAiBzG,UAAU,gBAAgB;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,W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O,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AAyBxF,QAAA,MAAM,IAAI;;;wCAduC,iBAAiB,CAAC;QAAE,WAAW,EAAE,SAAS,CAAA;KAAE,CAAC;;CAmBzD,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,cAAc;;CAqB1B,CAAC"}
1
+ {"version":3,"file":"Popover.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Popover/Popover.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAoB,MAAM,OAAO,CAAC;AAwBxF,QAAA,MAAM,IAAI;;;wCAduC,iBAAiB,CAAC;QAAE,WAAW,EAAE,SAAS,CAAA;KAAE,CAAC;;CAmBzD,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,cAAc;IACzB,MAAM;CAoBP,CAAC"}
@@ -1,32 +1,32 @@
1
- import { type ScrollAreaCornerProps as ScrollAreaPrimitiveCornerProps, type ScrollAreaProps as ScrollAreaPrimitiveRootProps, type ScrollAreaScrollbarProps as ScrollAreaPrimitiveScrollbarProps, type ScrollAreaThumbProps as ScrollAreaPrimitiveThumbProps, type ScrollAreaViewportProps as ScrollAreaPrimitiveViewportProps } from '@radix-ui/react-scroll-area';
2
1
  import React from 'react';
3
- import { type ThemedClassName } from '../../util';
4
- type ScrollAreaVariant = 'coarse' | 'fine';
5
- type ScrollAreaRootProps = ThemedClassName<ScrollAreaPrimitiveRootProps>;
6
- type ScrollAreaViewportProps = ThemedClassName<ScrollAreaPrimitiveViewportProps>;
7
- type ScrollAreaScrollbarProps = ThemedClassName<ScrollAreaPrimitiveScrollbarProps> & {
8
- variant?: ScrollAreaVariant;
2
+ import { type AllowedAxis, type SlottableProps } from '@dxos/ui-types';
3
+ type ScrollAreaContextType = {
4
+ /** Orientation of scrollbars. */
5
+ orientation: AllowedAxis;
6
+ /** Hide scrollbars when not scrolling. */
7
+ autoHide: boolean;
8
+ /** Apply padding to opposite side of scrollbar. */
9
+ centered?: boolean;
10
+ /** Apply padding. */
11
+ padding: boolean;
12
+ /** Use thin scrollbars. */
13
+ thin: boolean;
14
+ /** Enable snap scrolling. */
15
+ snap: boolean;
9
16
  };
10
- type ScrollAreaThumbProps = ThemedClassName<ScrollAreaPrimitiveThumbProps>;
11
- type ScrollAreaCornerProps = ThemedClassName<ScrollAreaPrimitiveCornerProps>;
17
+ type ScrollAreaRootProps = Partial<ScrollAreaContextType>;
18
+ type ScrollAreaViewportProps = SlottableProps;
12
19
  export declare const ScrollArea: {
13
- Root: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitiveRootProps, "className"> & {
14
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
15
- } & React.RefAttributes<HTMLDivElement>>;
16
- Viewport: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitiveViewportProps, "className"> & {
17
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
18
- } & React.RefAttributes<HTMLDivElement>>;
19
- Scrollbar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitiveScrollbarProps, "className"> & {
20
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
21
- } & {
22
- variant?: ScrollAreaVariant;
23
- } & React.RefAttributes<HTMLDivElement>>;
24
- Thumb: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitiveThumbProps, "className"> & {
25
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
26
- } & React.RefAttributes<HTMLDivElement>>;
27
- Corner: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitiveCornerProps, "className"> & {
28
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
29
- } & React.RefAttributes<HTMLDivElement>>;
20
+ Root: React.ForwardRefExoticComponent<Omit<Partial<ScrollAreaContextType> & {
21
+ asChild?: boolean;
22
+ }, "className"> & {
23
+ classNames?: import("@dxos/ui-types").ClassNameValue;
24
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
25
+ Viewport: React.ForwardRefExoticComponent<Omit<{
26
+ asChild?: boolean;
27
+ }, "className"> & {
28
+ classNames?: import("@dxos/ui-types").ClassNameValue;
29
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
30
30
  };
31
- export type { ScrollAreaRootProps, ScrollAreaViewportProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaCornerProps, };
31
+ export type { ScrollAreaRootProps, ScrollAreaViewportProps };
32
32
  //# sourceMappingURL=ScrollArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollArea/ScrollArea.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,qBAAqB,IAAI,8BAA8B,EAE5D,KAAK,eAAe,IAAI,4BAA4B,EAEpD,KAAK,wBAAwB,IAAI,iCAAiC,EAElE,KAAK,oBAAoB,IAAI,6BAA6B,EAE1D,KAAK,uBAAuB,IAAI,gCAAgC,EACjE,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,KAAK,iBAAiB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE3C,KAAK,mBAAmB,GA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