@dxos/react-ui 0.8.4-main.406dc2a → 0.8.4-main.52d7546f51

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 (323) hide show
  1. package/dist/lib/browser/chunk-6DTBPJE4.mjs +774 -0
  2. package/dist/lib/browser/chunk-6DTBPJE4.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +3200 -64
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/testing/index.mjs +37 -48
  7. package/dist/lib/browser/testing/index.mjs.map +4 -4
  8. package/dist/lib/node-esm/chunk-JKHQSGNU.mjs +776 -0
  9. package/dist/lib/node-esm/chunk-JKHQSGNU.mjs.map +7 -0
  10. package/dist/lib/node-esm/index.mjs +3200 -64
  11. package/dist/lib/node-esm/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/meta.json +1 -1
  13. package/dist/lib/node-esm/testing/index.mjs +37 -48
  14. package/dist/lib/node-esm/testing/index.mjs.map +4 -4
  15. package/dist/types/src/components/AnchoredOverflow/AnchoredOverflow.d.ts +7 -0
  16. package/dist/types/src/components/AnchoredOverflow/AnchoredOverflow.d.ts.map +1 -1
  17. package/dist/types/src/components/Avatars/Avatar.d.ts.map +1 -1
  18. package/dist/types/src/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  19. package/dist/types/src/components/{Buttons → Button}/Button.d.ts +1 -1
  20. package/dist/types/src/components/Button/Button.d.ts.map +1 -0
  21. package/dist/types/src/components/Button/Button.stories.d.ts.map +1 -0
  22. package/dist/types/src/components/{Buttons → Button}/IconButton.d.ts +2 -2
  23. package/dist/types/src/components/Button/IconButton.d.ts.map +1 -0
  24. package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -0
  25. package/dist/types/src/components/Button/Toggle.d.ts.map +1 -0
  26. package/dist/types/src/components/Button/Toggle.stories.d.ts +16 -0
  27. package/dist/types/src/components/Button/Toggle.stories.d.ts.map +1 -0
  28. package/dist/types/src/components/{Buttons → Button}/ToggleGroup.d.ts +4 -4
  29. package/dist/types/src/components/Button/ToggleGroup.d.ts.map +1 -0
  30. package/dist/types/src/components/{Buttons → Button}/ToggleGroup.stories.d.ts +4 -4
  31. package/dist/types/src/components/Button/ToggleGroup.stories.d.ts.map +1 -0
  32. package/dist/types/src/components/Button/index.d.ts.map +1 -0
  33. package/dist/types/src/components/Clipboard/CopyButton.d.ts +1 -1
  34. package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +1 -1
  35. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts +1 -1
  36. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -1
  37. package/dist/types/src/components/Dialog/AlertDialog.d.ts.map +1 -0
  38. package/dist/types/src/components/Dialog/AlertDialog.stories.d.ts.map +1 -0
  39. package/dist/types/src/components/Dialog/Dialog.d.ts +46 -0
  40. package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -0
  41. package/dist/types/src/components/{Dialogs → Dialog}/Dialog.stories.d.ts +7 -5
  42. package/dist/types/src/components/Dialog/Dialog.stories.d.ts.map +1 -0
  43. package/dist/types/src/components/Dialog/index.d.ts.map +1 -0
  44. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts +1 -1
  45. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -1
  46. package/dist/types/src/components/Icon/Icon.d.ts +1 -1
  47. package/dist/types/src/components/Icon/Icon.d.ts.map +1 -1
  48. package/dist/types/src/components/Icon/Icon.stories.d.ts +17 -0
  49. package/dist/types/src/components/Icon/Icon.stories.d.ts.map +1 -0
  50. package/dist/types/src/components/Input/Input.d.ts +5 -2
  51. package/dist/types/src/components/Input/Input.d.ts.map +1 -1
  52. package/dist/types/src/components/Input/Input.stories.d.ts +2 -2
  53. package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
  54. package/dist/types/src/components/{Lists → List}/List.d.ts +1 -1
  55. package/dist/types/src/components/List/List.d.ts.map +1 -0
  56. package/dist/types/src/components/List/List.stories.d.ts.map +1 -0
  57. package/dist/types/src/components/List/ListDropIndicator.d.ts.map +1 -0
  58. package/dist/types/src/components/List/Tree.d.ts.map +1 -0
  59. package/dist/types/src/components/List/Tree.stories.d.ts.map +1 -0
  60. package/dist/types/src/components/List/TreeDropIndicator.d.ts.map +1 -0
  61. package/dist/types/src/components/List/Treegrid.d.ts.map +1 -0
  62. package/dist/types/src/components/List/Treegrid.stories.d.ts.map +1 -0
  63. package/dist/types/src/components/List/index.d.ts.map +1 -0
  64. package/dist/types/src/components/Main/Main.d.ts +16 -17
  65. package/dist/types/src/components/Main/Main.d.ts.map +1 -1
  66. package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
  67. package/dist/types/src/components/{Menus → Menu}/ContextMenu.d.ts +6 -6
  68. package/dist/types/src/components/Menu/ContextMenu.d.ts.map +1 -0
  69. package/dist/types/src/components/Menu/ContextMenu.stories.d.ts.map +1 -0
  70. package/dist/types/src/components/{Menus → Menu}/DropdownMenu.d.ts +3 -4
  71. package/dist/types/src/components/Menu/DropdownMenu.d.ts.map +1 -0
  72. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts.map +1 -0
  73. package/dist/types/src/components/Menu/index.d.ts.map +1 -0
  74. package/dist/types/src/components/Message/Message.d.ts +1 -1
  75. package/dist/types/src/components/Message/Message.d.ts.map +1 -1
  76. package/dist/types/src/components/Message/Message.stories.d.ts +1 -1
  77. package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
  78. package/dist/types/src/components/Popover/Popover.d.ts +1 -1
  79. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  80. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +25 -26
  81. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  82. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +46 -8
  83. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  84. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts +39 -0
  85. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts.map +1 -0
  86. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts +19 -0
  87. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts.map +1 -0
  88. package/dist/types/src/components/ScrollContainer/index.d.ts +2 -0
  89. package/dist/types/src/components/ScrollContainer/index.d.ts.map +1 -0
  90. package/dist/types/src/components/Select/Select.d.ts +10 -10
  91. package/dist/types/src/components/Select/Select.d.ts.map +1 -1
  92. package/dist/types/src/components/Separator/Separator.d.ts +1 -1
  93. package/dist/types/src/components/Skeleton/Skeleton.d.ts +12 -0
  94. package/dist/types/src/components/Skeleton/Skeleton.d.ts.map +1 -0
  95. package/dist/types/src/components/Skeleton/Skeleton.stories.d.ts +17 -0
  96. package/dist/types/src/components/Skeleton/Skeleton.stories.d.ts.map +1 -0
  97. package/dist/types/src/components/Skeleton/index.d.ts +2 -0
  98. package/dist/types/src/components/Skeleton/index.d.ts.map +1 -0
  99. package/dist/types/src/components/Splitter/Splitter.d.ts +26 -0
  100. package/dist/types/src/components/Splitter/Splitter.d.ts.map +1 -0
  101. package/dist/types/src/components/Splitter/Splitter.stories.d.ts +7 -0
  102. package/dist/types/src/components/Splitter/Splitter.stories.d.ts.map +1 -0
  103. package/dist/types/src/components/Splitter/index.d.ts +2 -0
  104. package/dist/types/src/components/Splitter/index.d.ts.map +1 -0
  105. package/dist/types/src/components/Tag/Tag.d.ts +1 -1
  106. package/dist/types/src/components/Tag/Tag.d.ts.map +1 -1
  107. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts +2 -2
  108. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  109. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +1 -8
  110. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  111. package/dist/types/src/components/ThemeProvider/index.d.ts +2 -1
  112. package/dist/types/src/components/ThemeProvider/index.d.ts.map +1 -1
  113. package/dist/types/src/components/Toast/Toast.d.ts +4 -4
  114. package/dist/types/src/components/Toast/Toast.d.ts.map +1 -1
  115. package/dist/types/src/components/Toolbar/Toolbar.d.ts +14 -11
  116. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  117. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
  118. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  119. package/dist/types/src/components/index.d.ts +7 -4
  120. package/dist/types/src/components/index.d.ts.map +1 -1
  121. package/dist/types/src/exemplars/generics.stories.d.ts +17 -0
  122. package/dist/types/src/exemplars/generics.stories.d.ts.map +1 -0
  123. package/dist/types/src/exemplars/slot.stories.d.ts +14 -0
  124. package/dist/types/src/exemplars/slot.stories.d.ts.map +1 -0
  125. package/dist/types/src/exemplars/tabster.stories.d.ts +8 -0
  126. package/dist/types/src/exemplars/tabster.stories.d.ts.map +1 -0
  127. package/dist/types/src/hooks/useDensityContext.d.ts +1 -1
  128. package/dist/types/src/hooks/useDensityContext.d.ts.map +1 -1
  129. package/dist/types/src/hooks/useElevationContext.d.ts +1 -1
  130. package/dist/types/src/hooks/useElevationContext.d.ts.map +1 -1
  131. package/dist/types/src/index.d.ts +2 -1
  132. package/dist/types/src/index.d.ts.map +1 -1
  133. package/dist/types/src/playground/Controls.stories.d.ts.map +1 -1
  134. package/dist/types/src/playground/Custom.stories.d.ts.map +1 -1
  135. package/dist/types/src/primitives/Container/Container.d.ts +23 -0
  136. package/dist/types/src/primitives/Container/Container.d.ts.map +1 -0
  137. package/dist/types/src/primitives/Container/Container.stories.d.ts +11 -0
  138. package/dist/types/src/primitives/Container/Container.stories.d.ts.map +1 -0
  139. package/dist/types/src/primitives/Container/Layout.d.ts +18 -0
  140. package/dist/types/src/primitives/Container/Layout.d.ts.map +1 -0
  141. package/dist/types/src/primitives/Container/Layout.stories.d.ts +10 -0
  142. package/dist/types/src/primitives/Container/Layout.stories.d.ts.map +1 -0
  143. package/dist/types/src/primitives/Container/index.d.ts +3 -0
  144. package/dist/types/src/primitives/Container/index.d.ts.map +1 -0
  145. package/dist/types/src/primitives/Flex/Flex.d.ts +8 -0
  146. package/dist/types/src/primitives/Flex/Flex.d.ts.map +1 -0
  147. package/dist/types/src/primitives/Flex/index.d.ts +2 -0
  148. package/dist/types/src/primitives/Flex/index.d.ts.map +1 -0
  149. package/dist/types/src/primitives/index.d.ts +3 -0
  150. package/dist/types/src/primitives/index.d.ts.map +1 -0
  151. package/dist/types/src/testing/decorators/index.d.ts +1 -1
  152. package/dist/types/src/testing/decorators/index.d.ts.map +1 -1
  153. package/dist/types/src/testing/decorators/withLayout.d.ts +3 -3
  154. package/dist/types/src/testing/decorators/withLayout.d.ts.map +1 -1
  155. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts +12 -0
  156. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts.map +1 -0
  157. package/dist/types/src/testing/decorators/withTheme.d.ts +3 -2
  158. package/dist/types/src/testing/decorators/withTheme.d.ts.map +1 -1
  159. package/dist/types/src/util/index.d.ts +1 -2
  160. package/dist/types/src/util/index.d.ts.map +1 -1
  161. package/dist/types/tsconfig.tsbuildinfo +1 -1
  162. package/package.json +38 -30
  163. package/src/components/AnchoredOverflow/AnchoredOverflow.tsx +10 -12
  164. package/src/components/Avatars/Avatar.stories.tsx +4 -4
  165. package/src/components/Avatars/Avatar.tsx +3 -10
  166. package/src/components/Avatars/AvatarGroup.stories.tsx +2 -2
  167. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +3 -3
  168. package/src/components/Breadcrumb/Breadcrumb.tsx +5 -31
  169. package/src/components/{Buttons → Button}/Button.stories.tsx +3 -3
  170. package/src/components/{Buttons → Button}/Button.tsx +2 -8
  171. package/src/components/{Buttons → Button}/IconButton.stories.tsx +2 -2
  172. package/src/components/{Buttons → Button}/IconButton.tsx +20 -14
  173. package/src/components/{Buttons → Button}/Toggle.stories.tsx +7 -6
  174. package/src/components/{Buttons → Button}/ToggleGroup.stories.tsx +2 -2
  175. package/src/components/Clipboard/CopyButton.tsx +4 -4
  176. package/src/components/DensityProvider/DensityProvider.tsx +1 -1
  177. package/src/components/{Dialogs → Dialog}/AlertDialog.stories.tsx +3 -3
  178. package/src/components/{Dialogs → Dialog}/AlertDialog.tsx +3 -8
  179. package/src/components/Dialog/Dialog.stories.tsx +101 -0
  180. package/src/components/{Dialogs → Dialog}/Dialog.tsx +171 -46
  181. package/src/components/ElevationProvider/ElevationProvider.tsx +1 -1
  182. package/src/components/Icon/Icon.stories.tsx +113 -0
  183. package/src/components/Icon/Icon.tsx +3 -3
  184. package/src/components/Input/Input.stories.tsx +12 -11
  185. package/src/components/Input/Input.tsx +23 -29
  186. package/src/components/Link/Link.stories.tsx +2 -2
  187. package/src/components/Link/Link.tsx +1 -1
  188. package/src/components/{Lists → List}/List.stories.tsx +19 -15
  189. package/src/components/{Lists → List}/List.tsx +8 -14
  190. package/src/components/{Lists → List}/ListDropIndicator.tsx +1 -1
  191. package/src/components/{Lists → List}/Tree.stories.tsx +2 -2
  192. package/src/components/{Lists → List}/Treegrid.stories.tsx +2 -2
  193. package/src/components/{Lists → List}/Treegrid.tsx +4 -9
  194. package/src/components/Main/Main.stories.tsx +41 -20
  195. package/src/components/Main/Main.tsx +139 -82
  196. package/src/components/{Menus → Menu}/ContextMenu.stories.tsx +2 -2
  197. package/src/components/{Menus → Menu}/ContextMenu.tsx +7 -31
  198. package/src/components/{Menus → Menu}/DropdownMenu.stories.tsx +3 -3
  199. package/src/components/{Menus → Menu}/DropdownMenu.tsx +87 -66
  200. package/src/components/Message/Message.stories.tsx +3 -3
  201. package/src/components/Message/Message.tsx +34 -23
  202. package/src/components/Popover/Popover.stories.tsx +3 -3
  203. package/src/components/Popover/Popover.tsx +55 -36
  204. package/src/components/ScrollArea/ScrollArea.stories.tsx +166 -40
  205. package/src/components/ScrollArea/ScrollArea.tsx +80 -82
  206. package/src/components/ScrollArea/index.ts +1 -1
  207. package/src/components/ScrollContainer/ScrollContainer.stories.tsx +70 -0
  208. package/src/components/ScrollContainer/ScrollContainer.tsx +238 -0
  209. package/src/components/ScrollContainer/index.ts +5 -0
  210. package/src/components/Select/Select.stories.tsx +3 -3
  211. package/src/components/Select/Select.tsx +13 -29
  212. package/src/components/Separator/Separator.tsx +1 -1
  213. package/src/components/Skeleton/Skeleton.stories.tsx +52 -0
  214. package/src/components/Skeleton/Skeleton.tsx +26 -0
  215. package/src/components/Skeleton/index.ts +5 -0
  216. package/src/components/Splitter/Splitter.stories.tsx +73 -0
  217. package/src/components/Splitter/Splitter.tsx +123 -0
  218. package/src/components/Splitter/index.ts +5 -0
  219. package/src/components/Status/Status.stories.tsx +2 -2
  220. package/src/components/Status/Status.tsx +2 -2
  221. package/src/components/Tag/Tag.stories.tsx +4 -4
  222. package/src/components/Tag/Tag.tsx +2 -7
  223. package/src/components/ThemeProvider/ThemeProvider.tsx +3 -4
  224. package/src/components/ThemeProvider/TranslationsProvider.tsx +1 -16
  225. package/src/components/ThemeProvider/index.ts +3 -3
  226. package/src/components/Toast/Toast.stories.tsx +3 -3
  227. package/src/components/Toast/Toast.tsx +6 -10
  228. package/src/components/Toolbar/Toolbar.stories.tsx +4 -6
  229. package/src/components/Toolbar/Toolbar.tsx +32 -12
  230. package/src/components/Tooltip/Tooltip.stories.tsx +3 -3
  231. package/src/components/Tooltip/Tooltip.tsx +24 -22
  232. package/src/components/index.ts +7 -4
  233. package/src/exemplars/generics.stories.tsx +44 -0
  234. package/src/exemplars/slot.stories.tsx +108 -0
  235. package/src/exemplars/tabster.stories.tsx +127 -0
  236. package/src/hooks/useDensityContext.ts +1 -1
  237. package/src/hooks/useElevationContext.ts +1 -1
  238. package/src/index.ts +2 -1
  239. package/src/playground/Controls.stories.tsx +3 -4
  240. package/src/playground/Custom.stories.tsx +8 -10
  241. package/src/playground/Typography.stories.tsx +2 -2
  242. package/src/primitives/Container/Container.stories.tsx +67 -0
  243. package/src/primitives/Container/Container.tsx +79 -0
  244. package/src/primitives/Container/Layout.stories.tsx +57 -0
  245. package/src/primitives/Container/Layout.tsx +61 -0
  246. package/src/primitives/Container/index.ts +6 -0
  247. package/src/primitives/Flex/Flex.tsx +26 -0
  248. package/src/primitives/Flex/index.ts +5 -0
  249. package/src/primitives/index.ts +6 -0
  250. package/src/testing/decorators/index.ts +1 -1
  251. package/src/testing/decorators/withLayout.tsx +22 -15
  252. package/src/testing/decorators/{withSurfaceVariantsLayout.tsx → withLayoutVariants.tsx} +5 -5
  253. package/src/testing/decorators/withTheme.tsx +21 -18
  254. package/src/util/index.ts +2 -2
  255. package/dist/lib/browser/chunk-KX5JDELJ.mjs +0 -4521
  256. package/dist/lib/browser/chunk-KX5JDELJ.mjs.map +0 -7
  257. package/dist/lib/node-esm/chunk-3HDQYL5S.mjs +0 -4523
  258. package/dist/lib/node-esm/chunk-3HDQYL5S.mjs.map +0 -7
  259. package/dist/types/src/components/Buttons/Button.d.ts.map +0 -1
  260. package/dist/types/src/components/Buttons/Button.stories.d.ts.map +0 -1
  261. package/dist/types/src/components/Buttons/IconButton.d.ts.map +0 -1
  262. package/dist/types/src/components/Buttons/IconButton.stories.d.ts.map +0 -1
  263. package/dist/types/src/components/Buttons/Toggle.d.ts.map +0 -1
  264. package/dist/types/src/components/Buttons/Toggle.stories.d.ts +0 -13
  265. package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +0 -1
  266. package/dist/types/src/components/Buttons/ToggleGroup.d.ts.map +0 -1
  267. package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +0 -1
  268. package/dist/types/src/components/Buttons/index.d.ts.map +0 -1
  269. package/dist/types/src/components/Dialogs/AlertDialog.d.ts.map +0 -1
  270. package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +0 -1
  271. package/dist/types/src/components/Dialogs/Dialog.d.ts +0 -31
  272. package/dist/types/src/components/Dialogs/Dialog.d.ts.map +0 -1
  273. package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +0 -1
  274. package/dist/types/src/components/Dialogs/index.d.ts.map +0 -1
  275. package/dist/types/src/components/Lists/List.d.ts.map +0 -1
  276. package/dist/types/src/components/Lists/List.stories.d.ts.map +0 -1
  277. package/dist/types/src/components/Lists/ListDropIndicator.d.ts.map +0 -1
  278. package/dist/types/src/components/Lists/Tree.d.ts.map +0 -1
  279. package/dist/types/src/components/Lists/Tree.stories.d.ts.map +0 -1
  280. package/dist/types/src/components/Lists/TreeDropIndicator.d.ts.map +0 -1
  281. package/dist/types/src/components/Lists/Treegrid.d.ts.map +0 -1
  282. package/dist/types/src/components/Lists/Treegrid.stories.d.ts.map +0 -1
  283. package/dist/types/src/components/Lists/index.d.ts.map +0 -1
  284. package/dist/types/src/components/Menus/ContextMenu.d.ts.map +0 -1
  285. package/dist/types/src/components/Menus/ContextMenu.stories.d.ts.map +0 -1
  286. package/dist/types/src/components/Menus/DropdownMenu.d.ts.map +0 -1
  287. package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts.map +0 -1
  288. package/dist/types/src/components/Menus/index.d.ts.map +0 -1
  289. package/dist/types/src/testing/decorators/withSurfaceVariantsLayout.d.ts +0 -12
  290. package/dist/types/src/testing/decorators/withSurfaceVariantsLayout.d.ts.map +0 -1
  291. package/dist/types/src/util/ThemedClassName.d.ts +0 -5
  292. package/dist/types/src/util/ThemedClassName.d.ts.map +0 -1
  293. package/dist/types/src/util/domino.d.ts +0 -18
  294. package/dist/types/src/util/domino.d.ts.map +0 -1
  295. package/src/components/Dialogs/Dialog.stories.tsx +0 -67
  296. package/src/util/ThemedClassName.ts +0 -7
  297. package/src/util/domino.ts +0 -53
  298. /package/dist/types/src/components/{Buttons → Button}/Button.stories.d.ts +0 -0
  299. /package/dist/types/src/components/{Buttons → Button}/IconButton.stories.d.ts +0 -0
  300. /package/dist/types/src/components/{Buttons → Button}/Toggle.d.ts +0 -0
  301. /package/dist/types/src/components/{Buttons → Button}/index.d.ts +0 -0
  302. /package/dist/types/src/components/{Dialogs → Dialog}/AlertDialog.d.ts +0 -0
  303. /package/dist/types/src/components/{Dialogs → Dialog}/AlertDialog.stories.d.ts +0 -0
  304. /package/dist/types/src/components/{Dialogs → Dialog}/index.d.ts +0 -0
  305. /package/dist/types/src/components/{Lists → List}/List.stories.d.ts +0 -0
  306. /package/dist/types/src/components/{Lists → List}/ListDropIndicator.d.ts +0 -0
  307. /package/dist/types/src/components/{Lists → List}/Tree.d.ts +0 -0
  308. /package/dist/types/src/components/{Lists → List}/Tree.stories.d.ts +0 -0
  309. /package/dist/types/src/components/{Lists → List}/TreeDropIndicator.d.ts +0 -0
  310. /package/dist/types/src/components/{Lists → List}/Treegrid.d.ts +0 -0
  311. /package/dist/types/src/components/{Lists → List}/Treegrid.stories.d.ts +0 -0
  312. /package/dist/types/src/components/{Lists → List}/index.d.ts +0 -0
  313. /package/dist/types/src/components/{Menus → Menu}/ContextMenu.stories.d.ts +0 -0
  314. /package/dist/types/src/components/{Menus → Menu}/DropdownMenu.stories.d.ts +0 -0
  315. /package/dist/types/src/components/{Menus → Menu}/index.d.ts +0 -0
  316. /package/src/components/{Buttons → Button}/Toggle.tsx +0 -0
  317. /package/src/components/{Buttons → Button}/ToggleGroup.tsx +0 -0
  318. /package/src/components/{Buttons → Button}/index.ts +0 -0
  319. /package/src/components/{Dialogs → Dialog}/index.ts +0 -0
  320. /package/src/components/{Lists → List}/Tree.tsx +0 -0
  321. /package/src/components/{Lists → List}/TreeDropIndicator.tsx +0 -0
  322. /package/src/components/{Lists → List}/index.ts +0 -0
  323. /package/src/components/{Menus → Menu}/index.ts +0 -0
@@ -0,0 +1,26 @@
1
+ import React, { type ComponentPropsWithoutRef } from 'react';
2
+ import { type ThemedClassName } from '../../util';
3
+ type Mode = 'upper' | 'lower' | 'both';
4
+ type SplitterContextValue = {
5
+ mode: Mode;
6
+ ratio: number;
7
+ transition: number;
8
+ };
9
+ declare const createSplitterScope: import("@radix-ui/react-context").CreateScope;
10
+ type RootProps = ThemedClassName<ComponentPropsWithoutRef<'div'>> & Partial<SplitterContextValue>;
11
+ interface PanelProps extends ThemedClassName<ComponentPropsWithoutRef<'div'>> {
12
+ position: 'upper' | 'lower';
13
+ }
14
+ declare const Splitter: {
15
+ Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "className"> & {
16
+ classNames?: import("@dxos/ui-types").ClassNameValue;
17
+ } & Partial<SplitterContextValue> & {
18
+ __scopeSplitter?: any;
19
+ } & React.RefAttributes<HTMLDivElement>>;
20
+ Panel: React.ForwardRefExoticComponent<PanelProps & {
21
+ __scopeSplitter?: any;
22
+ } & React.RefAttributes<HTMLDivElement>>;
23
+ };
24
+ export { Splitter, createSplitterScope };
25
+ export type { Mode as SplitterMode, RootProps as SplitterRootProps, PanelProps as SplitterPanelProps };
26
+ //# sourceMappingURL=Splitter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Splitter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Splitter/Splitter.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAIzE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAOlD,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAEvC,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAIF,QAAA,MAA8B,mBAAmB,+CAAqC,CAAC;AAUvF,KAAK,SAAS,GAAG,eAAe,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AA8BlG,UAAU,UAAW,SAAQ,eAAe,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;IAC3E,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC;CAC7B;AA+CD,QAAA,MAAM,QAAQ;;;;0BAxGgC,GAAG;;;0BAAH,GAAG;;CA2GhD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC;AAEzC,YAAY,EAAE,IAAI,IAAI,YAAY,EAAE,SAAS,IAAI,iBAAiB,EAAE,UAAU,IAAI,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
2
+ import { type SplitterRootProps } from './Splitter';
3
+ declare const meta: Meta<SplitterRootProps>;
4
+ export default meta;
5
+ type Story = StoryObj<SplitterRootProps>;
6
+ export declare const Default: Story;
7
+ //# sourceMappingURL=Splitter.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Splitter.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Splitter/Splitter.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAyC9D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAQjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Splitter';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Splitter/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,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 ChromaticPalette, type MessageValence, type NeutralPalette } from '@dxos/react-ui-types';
3
+ import { type ChromaticPalette, type MessageValence, type NeutralPalette } from '@dxos/ui-types';
4
4
  import { type ThemedClassName } from '../../util';
5
5
  export type TagProps = ThemedClassName<ComponentPropsWithRef<typeof Primitive.span>> & {
6
6
  palette?: NeutralPalette | ChromaticPalette | MessageValence;
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGvG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG;IACrF,OAAO,CAAC,EAAE,cAAc,GAAG,gBAAgB,GAAG,cAAc,CAAC;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,GAAG,+FAaf,CAAC"}
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGjG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG;IACrF,OAAO,CAAC,EAAE,cAAc,GAAG,gBAAgB,GAAG,cAAc,CAAC;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,GAAG,+FAQf,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import React, { type PropsWithChildren } from 'react';
2
- import { type Density, type Elevation, type ThemeFunction } from '@dxos/react-ui-types';
2
+ import { type Density, type Elevation, type ThemeFunction, type ThemeMode } from '@dxos/ui-types';
3
3
  import { type SafeAreaPadding } from '../../hooks';
4
4
  import { type TranslationsProviderProps } from './TranslationsProvider';
5
- export type ThemeMode = 'dark' | 'light';
6
5
  export type ThemeContextValue = {
7
6
  tx: ThemeFunction<any>;
8
7
  themeMode: ThemeMode;
9
8
  hasIosKeyboard: boolean;
10
9
  safeAreaPadding?: SafeAreaPadding;
11
10
  noCache?: boolean;
11
+ platform?: 'mobile' | 'desktop';
12
12
  };
13
13
  export type ThemeProviderProps = Omit<TranslationsProviderProps, 'children'> & Partial<Omit<ThemeContextValue, 'safeAreaPadding'>> & PropsWithChildren<{
14
14
  rootDensity?: Density;
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAqC,MAAM,OAAO,CAAC;AAEzF,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAExF,OAAO,EAAE,KAAK,eAAe,EAAe,MAAM,aAAa,CAAC;AAKhE,OAAO,EAAwB,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE9F,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,E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AAC,GAC1E,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC,GACnD,iBAAiB,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC,CAAC;AAEL,eAAO,MAAM,aAAa,GAAI,wFAS3B,kBAAkB,sBA8BpB,CAAC"}
@@ -1,14 +1,7 @@
1
1
  import { type Locale } from 'date-fns/locale';
2
- import { type Resource, type TFunction } from 'i18next';
2
+ import { type Resource } from 'i18next';
3
3
  import React, { type ReactNode } from 'react';
4
4
  import { useTranslation as useI18NextTranslation } from 'react-i18next';
5
- export type Label = string | [string, {
6
- ns: string;
7
- count?: number;
8
- defaultValue?: string;
9
- }];
10
- export declare const isLabel: (o: any) => o is Label;
11
- export declare const toLocalizedString: (label: Label, t: TFunction) => string;
12
5
  export declare const resources: {
13
6
  readonly "en-US": {
14
7
  readonly "dxos-common": {
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationsProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThemeProvider/TranslationsProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAwB,MAAM,iBAAiB,CAAC;AACpE,OAAgB,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAA4D,MAAM,OAAO,CAAC;AACxG,OAAO,EAAoB,cAAc,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAO1F,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE7F,eAAO,MAAM,OAAO,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,KAQN,CAAC;A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M,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAEH,eAAO,MAAM,cAAc,GAAI,GAAG,MAAM,UAAU,CAAC,OAAO,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/E,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,8DAMlC,yBAAyB,sBAwB3B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export { type Label, isLabel, toLocalizedString } from '@dxos/ui-types';
1
2
  export * from './ThemeProvider';
2
- export { type Label, isLabel, toLocalizedString, useTranslation } from './TranslationsProvider';
3
+ export { useTranslation } from './TranslationsProvider';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThemeProvider/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,KAAK,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ThemeProvider/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExE,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC"}
@@ -14,17 +14,17 @@ type ToastCloseProps = ToastClosePrimitiveProps;
14
14
  export declare const Toast: {
15
15
  Provider: React.FunctionComponent<ToastProviderPrimitiveProps>;
16
16
  Viewport: React.ForwardRefExoticComponent<Omit<ToastViewportPrimitiveProps, "className"> & {
17
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
17
+ classNames?: import("@dxos/ui-types").ClassNameValue;
18
18
  } & React.RefAttributes<HTMLOListElement>>;
19
19
  Root: React.ForwardRefExoticComponent<Omit<ToastRootPrimitiveProps, "className"> & {
20
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
20
+ classNames?: import("@dxos/ui-types").ClassNameValue;
21
21
  } & React.RefAttributes<HTMLLIElement>>;
22
22
  Body: React.ForwardRefExoticComponent<Omit<ToastBodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
23
  Title: React.ForwardRefExoticComponent<Omit<ToastTitlePrimitiveProps, "className"> & {
24
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
24
+ classNames?: import("@dxos/ui-types").ClassNameValue;
25
25
  } & React.RefAttributes<HTMLHeadingElement>>;
26
26
  Description: React.ForwardRefExoticComponent<Omit<ToastDescriptionPrimitiveProps, "className"> & {
27
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
27
+ classNames?: import("@dxos/ui-types").ClassNameValue;
28
28
  } & React.RefAttributes<HTMLParagraphElement>>;
29
29
  Actions: React.ForwardRefExoticComponent<Omit<ToastActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
30
  Action: React.FunctionComponent<ToastActionPrimitiveProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAEL,KAAK,gBAAgB,IAAI,yBAAyB,EAElD,KAAK,eAAe,IAAI,wBAAwB,EAEhD,KAAK,qBAAqB,IAAI,8BAA8B,EAE5D,KAAK,kBAAkB,IAAI,2BAA2B,EAEtD,KAAK,UAAU,IAAI,uBAAuB,EAE1C,KAAK,eAAe,IAAI,wBAAwB,EAEhD,KAAK,kBAAkB,IAAI,2BAA2B,EACvD,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,EAAE,K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EACvD,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAsC,MAAM,OAAO,CAAC;AAG9F,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGlD,KAAK,kBAAkB,GAAG,2BAA2B,CAAC;AAItD,KAAK,kBAAkB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAOvE,KAAK,cAAc,GAAG,eAAe,CAAC,uBAAuB,CAAC,CAAC;AAW/D,KAAK,cAAc,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAQnF,KAAK,eAAe,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAUjE,KAAK,qBAAqB,GAAG,eAAe,CAAC,8BAA8B,CAAC,CAAC;AAU7E,KAAK,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AAUtF,KAAK,gBAAgB,GAAG,yBAAyB,CAAC;AAIlD,KAAK,eAAe,GAAG,wBAAwB,CAAC;AAIhD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;CAUjB,CAAC;AAEF,YAAY,EACV,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import type { ToggleGroupItemProps as ToggleGroupItemPrimitiveProps } from '@radix-ui/react-toggle-group';
2
2
  import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
3
3
  import React from 'react';
4
+ import { type ToolbarStyleProps } from '@dxos/ui-theme';
4
5
  import { type ThemedClassName } from '../../util';
5
- import { type ButtonGroupProps, type ButtonProps, type IconButtonProps, type ToggleGroupItemProps, type ToggleProps } from '../Buttons';
6
+ import { type ButtonGroupProps, type ButtonProps, type IconButtonProps, type ToggleGroupItemProps, type ToggleProps } from '../Button';
6
7
  import { type LinkProps } from '../Link';
7
8
  import { type SeparatorProps } from '../Separator';
8
- type ToolbarRootProps = ThemedClassName<ToolbarPrimitive.ToolbarProps & {
9
- layoutManaged?: boolean;
9
+ type ToolbarRootProps = ThemedClassName<ToolbarPrimitive.ToolbarProps & ToolbarStyleProps & {
10
10
  textBlockWidth?: boolean;
11
11
  }>;
12
12
  type ToolbarButtonProps = ButtonProps;
@@ -20,11 +20,14 @@ type ToolbarSeparatorProps = SeparatorProps & {
20
20
  variant?: 'gap' | 'line';
21
21
  };
22
22
  export declare const Toolbar: {
23
- Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps & {
24
- layoutManaged?: boolean;
23
+ Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps & Partial<{
24
+ density: import("@dxos/ui-types").Density;
25
+ disabled: boolean;
26
+ layoutManaged: boolean;
27
+ }> & {
25
28
  textBlockWidth?: boolean;
26
29
  }, "className"> & {
27
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
30
+ classNames?: import("@dxos/ui-types").ClassNameValue;
28
31
  } & React.RefAttributes<HTMLDivElement>>;
29
32
  Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
30
33
  IconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -33,22 +36,22 @@ export declare const Toolbar: {
33
36
  ToggleGroup: React.ForwardRefExoticComponent<(Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps, "className"> & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
34
37
  asChild?: boolean;
35
38
  }, "className"> & {
36
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
39
+ classNames?: import("@dxos/ui-types").ClassNameValue;
37
40
  } & {
38
- elevation?: import("@dxos/react-ui-types").Elevation;
41
+ elevation?: import("@dxos/ui-types").Elevation;
39
42
  asChild?: boolean;
40
43
  }, "ref"> | Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps, "className"> & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
41
44
  asChild?: boolean;
42
45
  }, "className"> & {
43
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
46
+ classNames?: import("@dxos/ui-types").ClassNameValue;
44
47
  } & {
45
- elevation?: import("@dxos/react-ui-types").Elevation;
48
+ elevation?: import("@dxos/ui-types").Elevation;
46
49
  asChild?: boolean;
47
50
  }, "ref">) & React.RefAttributes<HTMLDivElement>>;
48
51
  ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
49
52
  ToggleGroupIconItem: React.ForwardRefExoticComponent<Omit<ToolbarToggleGroupIconItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
50
53
  Separator: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-separator").SeparatorProps, "className"> & {
51
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
54
+ classNames?: import("@dxos/ui-types").ClassNameValue;
52
55
  } & {
53
56
  subdued?: boolean;
54
57
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,IAAI,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC1G,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAEhB,KAAK,eAAe,EAEpB,KAAK,oBAAoB,EACzB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2H4B,KAAK,GAAG,MAAM;;CAwBvE,CAAC;AAEF,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,+BAA+B,EAC/B,qBAAqB,GACtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Toolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,qBAAqB,GAAG,EAAE,CAAC;AA0DhC,QAAA,MAAM,IAAI;;eAEc,GAAG;oBA1DE,qBAAqB;;CA6Db,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":"Toolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Toolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,qBAAqB,GAAG,EAAE,CAAC;AAwDhC,QAAA,MAAM,IAAI;;eAEc,GAAG;oBAxDE,qBAAqB;;CA2Db,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AASA,OAAO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ACnF,UAAU,uBAAwB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC;IAC5E;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,eAAe,CAAC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC,CAAC;IAC3D;;;OAGG;IACH,oBAAoB,CAAC,EAAE,qBAAqB,CAAC,sBAAsB,CAAC,CAAC;CACtE;AAqGD,KAAK,WAAW,GAAG,WAAW,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;AA8J5D,eAAO,MAAM,OAAO;;;;;kBA3fN,MAAM;eACT,WAAW;qBACL,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI;;CA4f/C,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;AAEjD,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC"}
@@ -1,21 +1,24 @@
1
1
  export * from './AnchoredOverflow';
2
2
  export * from './Avatars';
3
3
  export * from './Breadcrumb';
4
- export * from './Buttons';
4
+ export * from './Button';
5
5
  export * from './Clipboard';
6
- export * from './Dialogs';
6
+ export * from './Dialog';
7
7
  export * from './Icon';
8
8
  export * from './Input';
9
9
  export * from './Link';
10
- export * from './Lists';
10
+ export * from './List';
11
11
  export * from './Main';
12
- export * from './Menus';
12
+ export * from './Menu';
13
13
  export * from './Message';
14
14
  export * from './Popover';
15
15
  export * from './Status';
16
16
  export * from './ScrollArea';
17
+ export * from './ScrollContainer';
17
18
  export * from './Select';
18
19
  export * from './Separator';
20
+ export * from './Skeleton';
21
+ export * from './Splitter';
19
22
  export * from './Tag';
20
23
  export * from './Toast';
21
24
  export * from './Toolbar';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1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,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAE1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import { type ReactElement, type Ref } from 'react';
3
+ import { type SlottableProps } from '@dxos/ui-types';
4
+ declare const meta: {
5
+ title: string;
6
+ component: <P extends HTMLElement>(props: SlottableProps<P> & {
7
+ ref?: Ref<P>;
8
+ }) => ReactElement;
9
+ decorators: import("@storybook/react").Decorator[];
10
+ parameters: {
11
+ layout: string;
12
+ };
13
+ };
14
+ export default meta;
15
+ type Story = StoryObj<typeof meta>;
16
+ export declare const Single: Story;
17
+ //# sourceMappingURL=generics.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generics.stories.d.ts","sourceRoot":"","sources":["../../../../src/exemplars/generics.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAc,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAc,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAuBrD,QAAA,MAAM,IAAI;;gBAJ2B,CAAC,SAAS,WAAW,SACjD,cAAc,CAAC,CAAC,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;KAAE,KACxC,YAAY;;;;;CASD,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,MAAM,EAAE,KAAU,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ decorators: import("@storybook/react").Decorator[];
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ };
9
+ export default meta;
10
+ type Story = StoryObj<typeof meta>;
11
+ export declare const Single: Story;
12
+ export declare const Nested: Story;
13
+ export declare const Inner: Story;
14
+ //# sourceMappingURL=slot.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slot.stories.d.ts","sourceRoot":"","sources":["../../../../src/exemplars/slot.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAgFjE,QAAA,MAAM,IAAI;;;;;;CAMM,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const DefaultStory: () => React.JSX.Element;
4
+ declare const meta: Meta<typeof DefaultStory>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Default: Story;
8
+ //# sourceMappingURL=tabster.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tabster.stories.d.ts","sourceRoot":"","sources":["../../../../src/exemplars/tabster.stories.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAkB,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,KAAiD,MAAM,OAAO,CAAC;AAgEtE,QAAA,MAAM,YAAY,yBAcjB,CAAC;AAsBF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAOnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type Density } from '@dxos/react-ui-types';
1
+ import { type Density } from '@dxos/ui-types';
2
2
  export declare const useDensityContext: (propsDensity?: Density) => Density | undefined;
3
3
  //# sourceMappingURL=useDensityContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDensityContext.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDensityContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIpD,eAAO,MAAM,iBAAiB,GAAI,eAAe,OAAO,wBAGvD,CAAC"}
1
+ {"version":3,"file":"useDensityContext.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDensityContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAI9C,eAAO,MAAM,iBAAiB,GAAI,eAAe,OAAO,wBAGvD,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type Elevation } from '@dxos/react-ui-types';
1
+ import { type Elevation } from '@dxos/ui-types';
2
2
  export declare const useElevationContext: (propsElevation?: Elevation) => Elevation | undefined;
3
3
  //# sourceMappingURL=useElevationContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useElevationContext.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useElevationContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAItD,eAAO,MAAM,mBAAmB,GAAI,iBAAiB,SAAS,0BAG7D,CAAC"}
1
+ {"version":3,"file":"useElevationContext.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useElevationContext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIhD,eAAO,MAAM,mBAAmB,GAAI,iBAAiB,SAAS,0BAG7D,CAAC"}
@@ -1,8 +1,9 @@
1
1
  export { type Resource, type TFunction } from 'i18next';
2
2
  export { Trans } from 'react-i18next';
3
3
  export * from '@dxos/react-hooks';
4
- export * from '@dxos/react-ui-types';
4
+ export * from '@dxos/ui-types';
5
5
  export * from './components';
6
6
  export * from './hooks';
7
+ export * from './primitives';
7
8
  export * from './util';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AAErC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Controls.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Controls.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AA8ExC,QAAA,MAAM,IAAI;;;;CAImB,CAAC;AAE9B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"Controls.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Controls.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AA6ExC,QAAA,MAAM,IAAI;;;;CAImB,CAAC;AAE9B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Custom.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Custom.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAuB,MAAM,eAAe,CAAC;AAwG9E,QAAA,MAAM,IAAI;;;oCArGmC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;;;;;CA6GtC,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
1
+ {"version":3,"file":"Custom.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Custom.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAuB,MAAM,eAAe,CAAC;AAsG9E,QAAA,MAAM,IAAI;;;oCAnGmC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC;;;;;CA2GtC,CAAC;AAEhC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ import { type ColumnPadding } from '@dxos/ui-theme';
3
+ import { type SlottableProps } from '@dxos/ui-types';
4
+ type ContainerContext = {
5
+ variant?: ColumnPadding;
6
+ };
7
+ type RootProps = PropsWithChildren<Partial<ContainerContext>>;
8
+ type ColumnProps = SlottableProps<HTMLDivElement> & {
9
+ variant?: ColumnPadding;
10
+ };
11
+ export declare const Container: {
12
+ Root: ({ variant, children }: RootProps) => React.JSX.Element;
13
+ Column: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
14
+ asChild?: boolean;
15
+ } & {
16
+ className?: string;
17
+ classNames?: import("@dxos/ui-types").ClassNameValue;
18
+ } & {
19
+ variant?: ColumnPadding;
20
+ } & React.RefAttributes<HTMLDivElement>>;
21
+ };
22
+ export type { RootProps as ContainerRootProps, ColumnProps as ContainerColumnProps };
23
+ //# sourceMappingURL=Container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Container/Container.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwB,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAYrD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAQF,KAAK,SAAS,GAAG,iBAAiB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAY9D,KAAK,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,aAAa,CAAA;CAAE,CAAC;AA6BhF,eAAO,MAAM,SAAS;kCAvCe,SAAS;;;;;;;kBAUkB,aAAa;;CAgC5E,CAAC;AAEF,YAAY,EAAE,SAAS,IAAI,kBAAkB,EAAE,WAAW,IAAI,oBAAoB,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ import { Container } from './Container';
4
+ declare const meta: Meta<typeof Container.Root>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof meta>;
7
+ export declare const Default: () => React.JSX.Element;
8
+ export declare const SM: Story;
9
+ export declare const MD: Story;
10
+ export declare const LG: Story;
11
+ //# sourceMappingURL=Container.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Container.stories.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Container/Container.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAA2B,MAAM,aAAa,CAAC;AAiBjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAAC,IAAI,CAQrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,yBAMnB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAIhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAIhB,CAAC;AAEF,eAAO,MAAM,EAAE,EAAE,KAIhB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ import { type ThemedClassName } from '@dxos/ui-types';
3
+ type MainProps = ThemedClassName<PropsWithChildren<{
4
+ role?: string;
5
+ toolbar?: boolean;
6
+ statusbar?: boolean;
7
+ }>>;
8
+ export declare const Layout: {
9
+ Main: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<{
10
+ role?: string;
11
+ toolbar?: boolean;
12
+ statusbar?: boolean;
13
+ }>, "className"> & {
14
+ classNames?: import("@dxos/ui-types").ClassNameValue;
15
+ } & React.RefAttributes<HTMLDivElement>>;
16
+ };
17
+ export type { MainProps as LayoutMainProps };
18
+ //# sourceMappingURL=Layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Container/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAG3E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,KAAK,SAAS,GAAG,eAAe,CAC9B,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CACH,CAAC;AAqCF,eAAO,MAAM,MAAM;;eAzCR,MAAM;kBACH,OAAO;oBACL,OAAO;;;;CAyCtB,CAAC;AAEF,YAAY,EAAE,SAAS,IAAI,eAAe,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const DefaultStory: ({ count }: {
4
+ count: number;
5
+ }) => React.JSX.Element;
6
+ declare const meta: Meta<typeof DefaultStory>;
7
+ export default meta;
8
+ type Story = StoryObj<typeof meta>;
9
+ export declare const Default: Story;
10
+ //# sourceMappingURL=Layout.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Container/Layout.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,QAAA,MAAM,YAAY,GAAI,WAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAyBjD,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAOnC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Container';
2
+ export * from './Layout';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Container/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React, { type HTMLAttributes } from 'react';
2
+ import { type ThemedClassName } from '@dxos/ui-types';
3
+ export type FlexProps = ThemedClassName<HTMLAttributes<HTMLDivElement> & {
4
+ column?: boolean;
5
+ grow?: boolean;
6
+ }>;
7
+ export declare const Flex: ({ children, classNames, role, column, grow }: FlexProps) => React.JSX.Element;
8
+ //# sourceMappingURL=Flex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Flex.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Flex/Flex.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MAAM,MAAM,SAAS,GAAG,eAAe,CACrC,cAAc,CAAC,cAAc,CAAC,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CACF,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,8CAA8C,SAAS,sBAS3E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Flex';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/primitives/Flex/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Container';
2
+ export * from './Flex';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/primitives/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export * from './withLayout';
2
- export * from './withSurfaceVariantsLayout';
2
+ export * from './withLayoutVariants';
3
3
  export * from './withTheme';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/testing/decorators/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/testing/decorators/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
@@ -2,14 +2,14 @@ import { type Decorator } from '@storybook/react';
2
2
  import { type FC, type PropsWithChildren } from 'react';
3
3
  import { type ClassNameValue, type ThemedClassName } from '@dxos/react-ui';
4
4
  export type ContainerProps = ThemedClassName<PropsWithChildren>;
5
- export type ContainerType = 'default' | 'column';
5
+ export type ContainerType = 'fullscreen' | 'column';
6
6
  export type WithLayoutProps = FC<ContainerProps> | {
7
7
  classNames?: ClassNameValue;
8
- container?: ContainerType;
8
+ layout?: ContainerType;
9
9
  scroll?: boolean;
10
10
  };
11
11
  /**
12
12
  * Adds layout container.
13
13
  */
14
- export declare const withLayout: (props: WithLayoutProps) => Decorator;
14
+ export declare const withLayout: (props?: WithLayoutProps) => Decorator;
15
15
  //# sourceMappingURL=withLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withLayout.d.ts","sourceRoot":"","sources":["../../../../../src/testing/decorators/withLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAc,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG3E,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEjD,MAAM,MAAM,eAAe,GACvB,EAAE,CAAC,cAAc,CAAC,GAClB;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,SAAS,CAAC,EAAE,aAAa,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEjF;;GAEG;AACH,eAAO,MAAM,UAAU,GACpB,OAAO,eAAe,KAAG,SAiBzB,CAAC"}
1
+ {"version":3,"file":"withLayout.d.ts","sourceRoot":"","sources":["../../../../../src/testing/decorators/withLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAc,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAQ,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG3E,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,QAAQ,CAAC;AAEpD,MAAM,MAAM,eAAe,GACvB,EAAE,CAAC,cAAc,CAAC,GAClB;IACE,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEN;;GAEG;AACH,eAAO,MAAM,UAAU,GACpB,QAAO,eAAoB,KAAG,SAoB9B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type Decorator } from '@storybook/react';
2
+ import { type Density, type Elevation } from '@dxos/ui-types';
3
+ type Config = {
4
+ elevations?: {
5
+ elevation: Elevation;
6
+ surface?: string;
7
+ }[];
8
+ densities?: Density[];
9
+ };
10
+ export declare const withLayoutVariants: ({ elevations, densities, }?: Config) => Decorator;
11
+ export {};
12
+ //# sourceMappingURL=withLayoutVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withLayoutVariants.d.ts","sourceRoot":"","sources":["../../../../../src/testing/decorators/withLayoutVariants.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE9D,KAAK,MAAM,GAAG;IACZ,UAAU,CAAC,EAAE;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;CACvB,CAAC;AAuBF,eAAO,MAAM,kBAAkB,GAAI,6BAOhC,MAAW,KAAG,SAOhB,CAAC"}