@dxos/react-ui 0.8.4-main.1da679c → 0.8.4-main.21d9917

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 (293) hide show
  1. package/dist/lib/browser/chunk-CEKVHJ27.mjs +774 -0
  2. package/dist/lib/browser/chunk-CEKVHJ27.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +3068 -61
  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 +65 -49
  7. package/dist/lib/browser/testing/index.mjs.map +4 -4
  8. package/dist/lib/node-esm/chunk-2NHEX4AD.mjs +776 -0
  9. package/dist/lib/node-esm/chunk-2NHEX4AD.mjs.map +7 -0
  10. package/dist/lib/node-esm/index.mjs +3068 -61
  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 +65 -49
  14. package/dist/lib/node-esm/testing/index.mjs.map +4 -4
  15. package/dist/types/src/components/Avatars/Avatar.stories.d.ts +0 -6
  16. package/dist/types/src/components/Avatars/Avatar.stories.d.ts.map +1 -1
  17. package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts +0 -6
  18. package/dist/types/src/components/Avatars/AvatarGroup.stories.d.ts.map +1 -1
  19. package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -6
  20. package/dist/types/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  21. package/dist/types/src/components/{Buttons → Button}/Button.d.ts +2 -2
  22. package/dist/types/src/components/Button/Button.d.ts.map +1 -0
  23. package/dist/types/src/components/{Buttons → Button}/Button.stories.d.ts +1 -7
  24. package/dist/types/src/components/Button/Button.stories.d.ts.map +1 -0
  25. package/dist/types/src/components/{Buttons → Button}/IconButton.d.ts +2 -2
  26. package/dist/types/src/components/Button/IconButton.d.ts.map +1 -0
  27. package/dist/types/src/components/{Buttons → Button}/IconButton.stories.d.ts +0 -6
  28. package/dist/types/src/components/Button/IconButton.stories.d.ts.map +1 -0
  29. package/dist/types/src/components/Button/Toggle.d.ts.map +1 -0
  30. package/dist/types/src/components/Button/Toggle.stories.d.ts +16 -0
  31. package/dist/types/src/components/Button/Toggle.stories.d.ts.map +1 -0
  32. package/dist/types/src/components/{Buttons → Button}/ToggleGroup.d.ts +6 -10
  33. package/dist/types/src/components/Button/ToggleGroup.d.ts.map +1 -0
  34. package/dist/types/src/components/Button/ToggleGroup.stories.d.ts +27 -0
  35. package/dist/types/src/components/Button/ToggleGroup.stories.d.ts.map +1 -0
  36. package/dist/types/src/components/Button/index.d.ts.map +1 -0
  37. package/dist/types/src/components/Clipboard/CopyButton.d.ts +1 -1
  38. package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +1 -1
  39. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts +1 -1
  40. package/dist/types/src/components/DensityProvider/DensityProvider.d.ts.map +1 -1
  41. package/dist/types/src/components/Dialog/AlertDialog.d.ts.map +1 -0
  42. package/dist/types/src/components/{Dialogs → Dialog}/AlertDialog.stories.d.ts +0 -6
  43. package/dist/types/src/components/Dialog/AlertDialog.stories.d.ts.map +1 -0
  44. package/dist/types/src/components/Dialog/Dialog.d.ts +40 -0
  45. package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -0
  46. package/dist/types/src/components/{Dialogs → Dialog}/Dialog.stories.d.ts +7 -6
  47. package/dist/types/src/components/Dialog/Dialog.stories.d.ts.map +1 -0
  48. package/dist/types/src/components/Dialog/index.d.ts.map +1 -0
  49. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts +1 -1
  50. package/dist/types/src/components/ElevationProvider/ElevationProvider.d.ts.map +1 -1
  51. package/dist/types/src/components/Icon/Icon.d.ts +2 -2
  52. package/dist/types/src/components/Icon/Icon.d.ts.map +1 -1
  53. package/dist/types/src/components/Icon/Icon.stories.d.ts +17 -0
  54. package/dist/types/src/components/Icon/Icon.stories.d.ts.map +1 -0
  55. package/dist/types/src/components/Input/Input.d.ts +5 -4
  56. package/dist/types/src/components/Input/Input.d.ts.map +1 -1
  57. package/dist/types/src/components/Input/Input.stories.d.ts +1 -7
  58. package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
  59. package/dist/types/src/components/Link/Link.stories.d.ts +0 -6
  60. package/dist/types/src/components/Link/Link.stories.d.ts.map +1 -1
  61. package/dist/types/src/components/{Lists → List}/List.d.ts +1 -1
  62. package/dist/types/src/components/List/List.d.ts.map +1 -0
  63. package/dist/types/src/components/{Lists → List}/List.stories.d.ts +0 -6
  64. package/dist/types/src/components/List/List.stories.d.ts.map +1 -0
  65. package/dist/types/src/components/List/ListDropIndicator.d.ts.map +1 -0
  66. package/dist/types/src/components/List/Tree.d.ts.map +1 -0
  67. package/dist/types/src/components/{Lists → List}/Tree.stories.d.ts +0 -6
  68. package/dist/types/src/components/List/Tree.stories.d.ts.map +1 -0
  69. package/dist/types/src/components/List/TreeDropIndicator.d.ts.map +1 -0
  70. package/dist/types/src/components/{Lists → List}/Treegrid.d.ts.map +1 -1
  71. package/dist/types/src/components/List/Treegrid.stories.d.ts.map +1 -0
  72. package/dist/types/src/components/List/index.d.ts.map +1 -0
  73. package/dist/types/src/components/Main/Main.d.ts +9 -18
  74. package/dist/types/src/components/Main/Main.d.ts.map +1 -1
  75. package/dist/types/src/components/Main/Main.stories.d.ts +1 -2
  76. package/dist/types/src/components/Main/Main.stories.d.ts.map +1 -1
  77. package/dist/types/src/components/{Menus → Menu}/ContextMenu.d.ts +6 -6
  78. package/dist/types/src/components/Menu/ContextMenu.d.ts.map +1 -0
  79. package/dist/types/src/components/{Menus → Menu}/ContextMenu.stories.d.ts +0 -6
  80. package/dist/types/src/components/Menu/ContextMenu.stories.d.ts.map +1 -0
  81. package/dist/types/src/components/{Menus → Menu}/DropdownMenu.d.ts +4 -5
  82. package/dist/types/src/components/Menu/DropdownMenu.d.ts.map +1 -0
  83. package/dist/types/src/components/{Menus → Menu}/DropdownMenu.stories.d.ts +0 -6
  84. package/dist/types/src/components/Menu/DropdownMenu.stories.d.ts.map +1 -0
  85. package/dist/types/src/components/Menu/index.d.ts.map +1 -0
  86. package/dist/types/src/components/Message/Message.d.ts +1 -1
  87. package/dist/types/src/components/Message/Message.d.ts.map +1 -1
  88. package/dist/types/src/components/Message/Message.stories.d.ts +1 -2
  89. package/dist/types/src/components/Message/Message.stories.d.ts.map +1 -1
  90. package/dist/types/src/components/Popover/Popover.d.ts +2 -2
  91. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  92. package/dist/types/src/components/Popover/Popover.stories.d.ts +0 -6
  93. package/dist/types/src/components/Popover/Popover.stories.d.ts.map +1 -1
  94. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts +9 -7
  95. package/dist/types/src/components/ScrollArea/ScrollArea.d.ts.map +1 -1
  96. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts +2 -4
  97. package/dist/types/src/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
  98. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts +39 -0
  99. package/dist/types/src/components/ScrollContainer/ScrollContainer.d.ts.map +1 -0
  100. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts +19 -0
  101. package/dist/types/src/components/ScrollContainer/ScrollContainer.stories.d.ts.map +1 -0
  102. package/dist/types/src/components/ScrollContainer/index.d.ts +2 -0
  103. package/dist/types/src/components/ScrollContainer/index.d.ts.map +1 -0
  104. package/dist/types/src/components/Select/Select.d.ts +10 -10
  105. package/dist/types/src/components/Select/Select.d.ts.map +1 -1
  106. package/dist/types/src/components/Select/Select.stories.d.ts +0 -6
  107. package/dist/types/src/components/Select/Select.stories.d.ts.map +1 -1
  108. package/dist/types/src/components/Separator/Separator.d.ts +1 -1
  109. package/dist/types/src/components/Status/Status.stories.d.ts +0 -6
  110. package/dist/types/src/components/Status/Status.stories.d.ts.map +1 -1
  111. package/dist/types/src/components/Tag/Tag.d.ts +1 -1
  112. package/dist/types/src/components/Tag/Tag.d.ts.map +1 -1
  113. package/dist/types/src/components/Tag/Tag.stories.d.ts +8 -8
  114. package/dist/types/src/components/Tag/Tag.stories.d.ts.map +1 -1
  115. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts +1 -2
  116. package/dist/types/src/components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  117. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts +1 -8
  118. package/dist/types/src/components/ThemeProvider/TranslationsProvider.d.ts.map +1 -1
  119. package/dist/types/src/components/ThemeProvider/index.d.ts +2 -1
  120. package/dist/types/src/components/ThemeProvider/index.d.ts.map +1 -1
  121. package/dist/types/src/components/Toast/Toast.d.ts +4 -4
  122. package/dist/types/src/components/Toast/Toast.stories.d.ts +0 -6
  123. package/dist/types/src/components/Toast/Toast.stories.d.ts.map +1 -1
  124. package/dist/types/src/components/Toolbar/Toolbar.d.ts +17 -17
  125. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  126. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts +0 -6
  127. package/dist/types/src/components/Toolbar/Toolbar.stories.d.ts.map +1 -1
  128. package/dist/types/src/components/Tooltip/Tooltip.d.ts +1 -3
  129. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  130. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts +0 -6
  131. package/dist/types/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
  132. package/dist/types/src/components/index.d.ts +5 -4
  133. package/dist/types/src/components/index.d.ts.map +1 -1
  134. package/dist/types/src/hooks/useDensityContext.d.ts +1 -1
  135. package/dist/types/src/hooks/useDensityContext.d.ts.map +1 -1
  136. package/dist/types/src/hooks/useElevationContext.d.ts +1 -1
  137. package/dist/types/src/hooks/useElevationContext.d.ts.map +1 -1
  138. package/dist/types/src/hooks/useSafeArea.d.ts.map +1 -1
  139. package/dist/types/src/hooks/useVisualViewport.d.ts +2 -2
  140. package/dist/types/src/hooks/useVisualViewport.d.ts.map +1 -1
  141. package/dist/types/src/index.d.ts +1 -1
  142. package/dist/types/src/index.d.ts.map +1 -1
  143. package/dist/types/src/playground/Controls.stories.d.ts +0 -6
  144. package/dist/types/src/playground/Controls.stories.d.ts.map +1 -1
  145. package/dist/types/src/playground/Custom.stories.d.ts +1 -2
  146. package/dist/types/src/playground/Custom.stories.d.ts.map +1 -1
  147. package/dist/types/src/playground/Typography.stories.d.ts +0 -6
  148. package/dist/types/src/playground/Typography.stories.d.ts.map +1 -1
  149. package/dist/types/src/testing/decorators/index.d.ts +2 -1
  150. package/dist/types/src/testing/decorators/index.d.ts.map +1 -1
  151. package/dist/types/src/testing/decorators/withLayout.d.ts +15 -0
  152. package/dist/types/src/testing/decorators/withLayout.d.ts.map +1 -0
  153. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts +12 -0
  154. package/dist/types/src/testing/decorators/withLayoutVariants.d.ts.map +1 -0
  155. package/dist/types/src/testing/decorators/withTheme.d.ts +3 -0
  156. package/dist/types/src/testing/decorators/withTheme.d.ts.map +1 -1
  157. package/dist/types/src/util/index.d.ts +2 -1
  158. package/dist/types/src/util/index.d.ts.map +1 -1
  159. package/dist/types/src/util/usePx.d.ts +8 -0
  160. package/dist/types/src/util/usePx.d.ts.map +1 -0
  161. package/dist/types/tsconfig.tsbuildinfo +1 -1
  162. package/package.json +33 -27
  163. package/src/components/Avatars/Avatar.stories.tsx +2 -4
  164. package/src/components/Avatars/Avatar.tsx +1 -1
  165. package/src/components/Avatars/AvatarGroup.stories.tsx +0 -3
  166. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +1 -4
  167. package/src/components/{Buttons → Button}/Button.stories.tsx +3 -5
  168. package/src/components/{Buttons → Button}/Button.tsx +1 -1
  169. package/src/components/{Buttons → Button}/IconButton.stories.tsx +0 -3
  170. package/src/components/{Buttons → Button}/IconButton.tsx +19 -13
  171. package/src/components/{Buttons → Button}/Toggle.stories.tsx +5 -7
  172. package/src/components/{Buttons → Button}/ToggleGroup.stories.tsx +0 -3
  173. package/src/components/Clipboard/CopyButton.tsx +4 -4
  174. package/src/components/DensityProvider/DensityProvider.tsx +1 -1
  175. package/src/components/{Dialogs → Dialog}/AlertDialog.stories.tsx +1 -4
  176. package/src/components/Dialog/Dialog.stories.tsx +97 -0
  177. package/src/components/{Dialogs → Dialog}/Dialog.tsx +140 -40
  178. package/src/components/ElevationProvider/ElevationProvider.tsx +1 -1
  179. package/src/components/Icon/Icon.stories.tsx +113 -0
  180. package/src/components/Icon/Icon.tsx +2 -2
  181. package/src/components/Input/Input.stories.tsx +2 -5
  182. package/src/components/Input/Input.tsx +16 -7
  183. package/src/components/Link/Link.stories.tsx +0 -3
  184. package/src/components/{Lists → List}/List.stories.tsx +18 -18
  185. package/src/components/{Lists → List}/List.tsx +1 -1
  186. package/src/components/{Lists → List}/ListDropIndicator.tsx +1 -1
  187. package/src/components/{Lists → List}/Tree.stories.tsx +0 -3
  188. package/src/components/{Lists → List}/Treegrid.tsx +57 -16
  189. package/src/components/Main/Main.stories.tsx +4 -4
  190. package/src/components/Main/Main.tsx +28 -19
  191. package/src/components/{Menus → Menu}/ContextMenu.stories.tsx +0 -3
  192. package/src/components/{Menus → Menu}/DropdownMenu.stories.tsx +1 -4
  193. package/src/components/{Menus → Menu}/DropdownMenu.tsx +81 -60
  194. package/src/components/Message/Message.stories.tsx +1 -3
  195. package/src/components/Message/Message.tsx +30 -5
  196. package/src/components/Popover/Popover.stories.tsx +1 -4
  197. package/src/components/Popover/Popover.tsx +57 -38
  198. package/src/components/ScrollArea/ScrollArea.stories.tsx +54 -7
  199. package/src/components/ScrollArea/ScrollArea.tsx +50 -4
  200. package/src/components/ScrollContainer/ScrollContainer.stories.tsx +70 -0
  201. package/src/components/ScrollContainer/ScrollContainer.tsx +233 -0
  202. package/src/components/ScrollContainer/index.ts +5 -0
  203. package/src/components/Select/Select.stories.tsx +3 -5
  204. package/src/components/Select/Select.tsx +4 -4
  205. package/src/components/Status/Status.stories.tsx +0 -3
  206. package/src/components/Tag/Tag.stories.tsx +10 -9
  207. package/src/components/Tag/Tag.tsx +1 -1
  208. package/src/components/ThemeProvider/ThemeProvider.tsx +1 -3
  209. package/src/components/ThemeProvider/TranslationsProvider.tsx +1 -16
  210. package/src/components/ThemeProvider/index.ts +3 -3
  211. package/src/components/Toast/Toast.stories.tsx +1 -4
  212. package/src/components/Toolbar/Toolbar.stories.tsx +2 -7
  213. package/src/components/Toolbar/Toolbar.tsx +34 -8
  214. package/src/components/Tooltip/Tooltip.stories.tsx +1 -4
  215. package/src/components/Tooltip/Tooltip.tsx +24 -21
  216. package/src/components/index.ts +5 -4
  217. package/src/hooks/useDensityContext.ts +1 -1
  218. package/src/hooks/useElevationContext.ts +1 -1
  219. package/src/hooks/useSafeArea.ts +3 -2
  220. package/src/hooks/useVisualViewport.ts +4 -4
  221. package/src/index.ts +1 -1
  222. package/src/playground/Controls.stories.tsx +3 -5
  223. package/src/playground/Custom.stories.tsx +9 -20
  224. package/src/playground/Typography.stories.tsx +0 -3
  225. package/src/testing/decorators/index.ts +2 -1
  226. package/src/testing/decorators/withLayout.tsx +63 -0
  227. package/src/testing/decorators/{withSurfaceVariantsLayout.tsx → withLayoutVariants.tsx} +5 -5
  228. package/src/testing/decorators/withTheme.tsx +32 -0
  229. package/src/util/index.ts +3 -1
  230. package/src/util/usePx.ts +61 -0
  231. package/dist/lib/browser/chunk-Y4PW3CX2.mjs +0 -4402
  232. package/dist/lib/browser/chunk-Y4PW3CX2.mjs.map +0 -7
  233. package/dist/lib/node-esm/chunk-L6LIOSFT.mjs +0 -4404
  234. package/dist/lib/node-esm/chunk-L6LIOSFT.mjs.map +0 -7
  235. package/dist/types/src/components/Buttons/Button.d.ts.map +0 -1
  236. package/dist/types/src/components/Buttons/Button.stories.d.ts.map +0 -1
  237. package/dist/types/src/components/Buttons/IconButton.d.ts.map +0 -1
  238. package/dist/types/src/components/Buttons/IconButton.stories.d.ts.map +0 -1
  239. package/dist/types/src/components/Buttons/Toggle.d.ts.map +0 -1
  240. package/dist/types/src/components/Buttons/Toggle.stories.d.ts +0 -19
  241. package/dist/types/src/components/Buttons/Toggle.stories.d.ts.map +0 -1
  242. package/dist/types/src/components/Buttons/ToggleGroup.d.ts.map +0 -1
  243. package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts +0 -37
  244. package/dist/types/src/components/Buttons/ToggleGroup.stories.d.ts.map +0 -1
  245. package/dist/types/src/components/Buttons/index.d.ts.map +0 -1
  246. package/dist/types/src/components/Dialogs/AlertDialog.d.ts.map +0 -1
  247. package/dist/types/src/components/Dialogs/AlertDialog.stories.d.ts.map +0 -1
  248. package/dist/types/src/components/Dialogs/Dialog.d.ts +0 -31
  249. package/dist/types/src/components/Dialogs/Dialog.d.ts.map +0 -1
  250. package/dist/types/src/components/Dialogs/Dialog.stories.d.ts.map +0 -1
  251. package/dist/types/src/components/Dialogs/index.d.ts.map +0 -1
  252. package/dist/types/src/components/Lists/List.d.ts.map +0 -1
  253. package/dist/types/src/components/Lists/List.stories.d.ts.map +0 -1
  254. package/dist/types/src/components/Lists/ListDropIndicator.d.ts.map +0 -1
  255. package/dist/types/src/components/Lists/Tree.d.ts.map +0 -1
  256. package/dist/types/src/components/Lists/Tree.stories.d.ts.map +0 -1
  257. package/dist/types/src/components/Lists/TreeDropIndicator.d.ts.map +0 -1
  258. package/dist/types/src/components/Lists/Treegrid.stories.d.ts.map +0 -1
  259. package/dist/types/src/components/Lists/index.d.ts.map +0 -1
  260. package/dist/types/src/components/Menus/ContextMenu.d.ts.map +0 -1
  261. package/dist/types/src/components/Menus/ContextMenu.stories.d.ts.map +0 -1
  262. package/dist/types/src/components/Menus/DropdownMenu.d.ts.map +0 -1
  263. package/dist/types/src/components/Menus/DropdownMenu.stories.d.ts.map +0 -1
  264. package/dist/types/src/components/Menus/index.d.ts.map +0 -1
  265. package/dist/types/src/testing/decorators/withSurfaceVariantsLayout.d.ts +0 -12
  266. package/dist/types/src/testing/decorators/withSurfaceVariantsLayout.d.ts.map +0 -1
  267. package/dist/types/src/util/ThemedClassName.d.ts +0 -5
  268. package/dist/types/src/util/ThemedClassName.d.ts.map +0 -1
  269. package/src/components/Dialogs/Dialog.stories.tsx +0 -65
  270. package/src/testing/decorators/withTheme.ts +0 -25
  271. package/src/util/ThemedClassName.ts +0 -7
  272. /package/dist/types/src/components/{Buttons → Button}/Toggle.d.ts +0 -0
  273. /package/dist/types/src/components/{Buttons → Button}/index.d.ts +0 -0
  274. /package/dist/types/src/components/{Dialogs → Dialog}/AlertDialog.d.ts +0 -0
  275. /package/dist/types/src/components/{Dialogs → Dialog}/index.d.ts +0 -0
  276. /package/dist/types/src/components/{Lists → List}/ListDropIndicator.d.ts +0 -0
  277. /package/dist/types/src/components/{Lists → List}/Tree.d.ts +0 -0
  278. /package/dist/types/src/components/{Lists → List}/TreeDropIndicator.d.ts +0 -0
  279. /package/dist/types/src/components/{Lists → List}/Treegrid.d.ts +0 -0
  280. /package/dist/types/src/components/{Lists → List}/Treegrid.stories.d.ts +0 -0
  281. /package/dist/types/src/components/{Lists → List}/index.d.ts +0 -0
  282. /package/dist/types/src/components/{Menus → Menu}/index.d.ts +0 -0
  283. /package/src/components/{Buttons → Button}/Toggle.tsx +0 -0
  284. /package/src/components/{Buttons → Button}/ToggleGroup.tsx +0 -0
  285. /package/src/components/{Buttons → Button}/index.ts +0 -0
  286. /package/src/components/{Dialogs → Dialog}/AlertDialog.tsx +0 -0
  287. /package/src/components/{Dialogs → Dialog}/index.ts +0 -0
  288. /package/src/components/{Lists → List}/Tree.tsx +0 -0
  289. /package/src/components/{Lists → List}/TreeDropIndicator.tsx +0 -0
  290. /package/src/components/{Lists → List}/Treegrid.stories.tsx +0 -0
  291. /package/src/components/{Lists → List}/index.ts +0 -0
  292. /package/src/components/{Menus → Menu}/ContextMenu.tsx +0 -0
  293. /package/src/components/{Menus → Menu}/index.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  import * as SelectPrimitive from '@radix-ui/react-select';
2
2
  import React from 'react';
3
3
  import { type ThemedClassName } from '../../util';
4
- import { type ButtonProps } from '../Buttons';
4
+ import { type ButtonProps } from '../Button';
5
5
  type SelectRootProps = SelectPrimitive.SelectProps;
6
6
  type SelectTriggerProps = SelectPrimitive.SelectTriggerProps;
7
7
  type SelectValueProps = SelectPrimitive.SelectValueProps;
@@ -28,34 +28,34 @@ export declare const Select: {
28
28
  Icon: React.ForwardRefExoticComponent<SelectPrimitive.SelectIconProps & React.RefAttributes<HTMLSpanElement>>;
29
29
  Portal: React.FC<SelectPrimitive.SelectPortalProps>;
30
30
  Content: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps, "className"> & {
31
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
31
+ classNames?: import("@dxos/ui-types").ClassNameValue;
32
32
  } & React.RefAttributes<HTMLDivElement>>;
33
33
  ScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps, "className"> & {
34
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
34
+ classNames?: import("@dxos/ui-types").ClassNameValue;
35
35
  } & React.RefAttributes<HTMLDivElement>>;
36
36
  ScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps, "className"> & {
37
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
37
+ classNames?: import("@dxos/ui-types").ClassNameValue;
38
38
  } & React.RefAttributes<HTMLDivElement>>;
39
39
  Viewport: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectViewportProps, "className"> & {
40
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
40
+ classNames?: import("@dxos/ui-types").ClassNameValue;
41
41
  } & React.RefAttributes<HTMLDivElement>>;
42
42
  Item: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps, "className"> & {
43
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
43
+ classNames?: import("@dxos/ui-types").ClassNameValue;
44
44
  } & React.RefAttributes<HTMLDivElement>>;
45
45
  ItemText: React.ForwardRefExoticComponent<SelectPrimitive.SelectItemTextProps & React.RefAttributes<HTMLSpanElement>>;
46
46
  ItemIndicator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemIndicatorProps, "className"> & {
47
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
47
+ classNames?: import("@dxos/ui-types").ClassNameValue;
48
48
  } & React.RefAttributes<HTMLDivElement>>;
49
49
  Option: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps, "className"> & {
50
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
50
+ classNames?: import("@dxos/ui-types").ClassNameValue;
51
51
  } & React.RefAttributes<HTMLDivElement>>;
52
52
  Group: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
53
53
  Label: React.ForwardRefExoticComponent<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>>;
54
54
  Separator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps, "className"> & {
55
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
55
+ classNames?: import("@dxos/ui-types").ClassNameValue;
56
56
  } & React.RefAttributes<HTMLDivElement>>;
57
57
  Arrow: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectArrowProps, "className"> & {
58
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
58
+ classNames?: import("@dxos/ui-types").ClassNameValue;
59
59
  } & React.RefAttributes<SVGSVGElement>>;
60
60
  };
61
61
  export type { SelectRootProps, SelectTriggerProps, SelectTriggerButtonProps, SelectValueProps, SelectIconProps, SelectPortalProps, SelectContentProps, SelectScrollUpButtonProps, SelectScrollDownButtonProps, SelectViewportProps, SelectItemProps, SelectItemTextProps, SelectItemIndicatorProps, SelectOptionProps, SelectGroupProps, SelectLabelProps, SelectSeparatorProps, SelectArrowProps, };
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources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CAAC,kBAAkB,CAAC,CAAC;AAsB9E,KAAK,yBAAyB,GAAG,eAAe,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC;AAiB5F,KAAK,2BAA2B,GAAG,eAAe,CAAC,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAiBhG,KAAK,mBAAmB,GAAG,eAAe,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC;AAiBhF,KAAK,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;AAOxE,KAAK,mBAAmB,GAAG,eAAe,CAAC,mBAAmB,CAAC;AAI/D,KAAK,wBAAwB,GAAG,eAAe,CAAC,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAiB1F,KAAK,iBAAiB,GAAG,eAAe,CAAC;AAgBzC,KAAK,gBAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAIzD,KAAK,gBAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAIzD,KAAK,oBAAoB,GAAG,eAAe,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;AAalF,KAAK,gBAAgB,GAAG,eAAe,CAAC,eAAe,CAAC,gBAAgB,CAAC,CAAC;AAa1E,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlB,CAAC;AAEF,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,GACjB,CAAC"}
@@ -1,4 +1,3 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  type ItemProps = {
@@ -12,11 +11,6 @@ declare const meta: {
12
11
  title: string;
13
12
  render: ({ items }: StoryProps) => React.JSX.Element;
14
13
  decorators: import("@storybook/react").Decorator[];
15
- parameters: {
16
- chromatic: {
17
- disableSnapshot: boolean;
18
- };
19
- };
20
14
  };
21
15
  export default meta;
22
16
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Select.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,KAAK,SAAS,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9C,KAAK,UAAU,GAAG;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;AAyBzC,QAAA,MAAM,IAAI;;wBAvB4B,UAAU;;;;;;;CA4BX,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
1
+ {"version":3,"file":"Select.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Select.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,KAAK,SAAS,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9C,KAAK,UAAU,GAAG;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,CAAC;AAyBzC,QAAA,MAAM,IAAI;;wBAvB4B,UAAU;;CA2BX,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -5,7 +5,7 @@ type SeparatorProps = ThemedClassName<SeparatorPrimitiveProps> & {
5
5
  subdued?: boolean;
6
6
  };
7
7
  declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitiveProps, "className"> & {
8
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
8
+ classNames?: import("@dxos/ui-types").ClassNameValue;
9
9
  } & {
10
10
  subdued?: boolean;
11
11
  } & React.RefAttributes<HTMLDivElement>>;
@@ -1,14 +1,8 @@
1
- import '@dxos-theme';
2
1
  import React from 'react';
3
2
  declare const meta: {
4
3
  title: string;
5
4
  component: React.ForwardRefExoticComponent<Omit<import("./Status").StatusProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
5
  decorators: import("@storybook/react").Decorator[];
7
- parameters: {
8
- chromatic: {
9
- disableSnapshot: boolean;
10
- };
11
- };
12
6
  };
13
7
  export default meta;
14
8
  export declare const Normal: (props: any) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Status/Status.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,QAAA,MAAM,IAAI;;;;;;;;;CAKqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,MAAM,GAAI,OAAO,GAAG,sBAShC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,sBAMvC,CAAC"}
1
+ {"version":3,"file":"Status.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Status/Status.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,QAAA,MAAM,IAAI;;;;CAIqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AAIpB,eAAO,MAAM,MAAM,GAAI,OAAO,GAAG,sBAShC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,sBAMvC,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,+FAaf,CAAC"}
@@ -1,17 +1,17 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
5
- readonly title: "ui/react-ui-core/Tag";
6
- readonly component: React.ForwardRefExoticComponent<Omit<import("./Tag").TagProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
7
- readonly decorators: readonly [import("@storybook/react").Decorator];
8
- readonly parameters: {
9
- readonly chromatic: {
10
- readonly disableSnapshot: false;
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<Omit<import("./Tag").TagProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+ render: () => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ chromatic: {
10
+ disableSnapshot: boolean;
11
11
  };
12
12
  };
13
13
  };
14
- export declare const Default: Story;
15
14
  export default meta;
16
15
  type Story = StoryObj<typeof meta>;
16
+ export declare const Default: Story;
17
17
  //# sourceMappingURL=Tag.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,IAAI;;;;;;;;;CAKA,CAAC;AAEX,eAAO,MAAM,OAAO,EAAE,KAUM,CAAC;AAE7B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"Tag.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,QAAA,MAAM,IAAI;;;;;;;;;;CAkBkB,CAAC;AAE7B,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,8 +1,7 @@
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;
@@ -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,EA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ACnB,CAAC;AAOF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,yBAAyB,EAAE,UAAU,CAAC,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,CAA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AC;IACrB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,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,4 +1,3 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React, { type ReactNode } from 'react';
4
3
  type ActionTriggerProps = {
@@ -17,11 +16,6 @@ declare const meta: {
17
16
  component: any;
18
17
  render: ({ title, description, actionTriggers, openTrigger, closeTrigger }: StorybookToastProps) => React.JSX.Element;
19
18
  decorators: import("@storybook/react").Decorator[];
20
- parameters: {
21
- chromatic: {
22
- disableSnapshot: boolean;
23
- };
24
- };
25
19
  };
26
20
  export default meta;
27
21
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAOxD,KAAK,kBAAkB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,CAAA;CAAE,CAAC;AAElE,KAAK,mBAAmB,GAAG,OAAO,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,kBAAkB,EAAE,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AA0BH,QAAA,MAAM,IAAI;;eAEY,GAAG;gFA1BgE,mBAAmB;;;;;;;CA8BvE,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC"}
1
+ {"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAOxD,KAAK,kBAAkB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,SAAS,CAAA;CAAE,CAAC;AAElE,KAAK,mBAAmB,GAAG,OAAO,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,kBAAkB,EAAE,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AA0BH,QAAA,MAAM,IAAI;;eAEY,GAAG;gFA1BgE,mBAAmB;;CA6BvE,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC"}
@@ -2,12 +2,14 @@ import type { ToggleGroupItemProps as ToggleGroupItemPrimitiveProps } from '@rad
2
2
  import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
3
3
  import React from 'react';
4
4
  import { type ThemedClassName } from '../../util';
5
- import { type ButtonGroupProps, type ButtonProps, type IconButtonProps, type ToggleGroupItemProps, type ToggleProps } from '../Buttons';
5
+ import { type ButtonGroupProps, type ButtonProps, type IconButtonProps, type ToggleGroupItemProps, type ToggleProps } from '../Button';
6
6
  import { type LinkProps } from '../Link';
7
7
  import { type SeparatorProps } from '../Separator';
8
- type ToolbarRootProps = ThemedClassName<ToolbarPrimitive.ToolbarProps> & {
8
+ type ToolbarRootProps = ThemedClassName<ToolbarPrimitive.ToolbarProps & {
9
+ disabled?: boolean;
9
10
  layoutManaged?: boolean;
10
- };
11
+ textBlockWidth?: boolean;
12
+ }>;
11
13
  type ToolbarButtonProps = ButtonProps;
12
14
  type ToolbarIconButtonProps = IconButtonProps;
13
15
  type ToolbarToggleProps = ToggleProps;
@@ -19,38 +21,36 @@ type ToolbarSeparatorProps = SeparatorProps & {
19
21
  variant?: 'gap' | 'line';
20
22
  };
21
23
  export declare const Toolbar: {
22
- Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps, "className"> & {
23
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
24
- } & {
24
+ Root: React.ForwardRefExoticComponent<Omit<ToolbarPrimitive.ToolbarProps & {
25
+ disabled?: boolean;
25
26
  layoutManaged?: boolean;
27
+ textBlockWidth?: boolean;
28
+ }, "className"> & {
29
+ classNames?: import("@dxos/ui-types").ClassNameValue;
26
30
  } & React.RefAttributes<HTMLDivElement>>;
27
31
  Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
28
32
  IconButton: React.ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
29
33
  Link: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
30
34
  Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
31
- ToggleGroup: React.ForwardRefExoticComponent<(Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps, "className"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
32
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
33
- } & {
35
+ ToggleGroup: React.ForwardRefExoticComponent<(Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupSingleProps, "className"> & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
34
36
  asChild?: boolean;
35
37
  }, "className"> & {
36
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
38
+ classNames?: import("@dxos/ui-types").ClassNameValue;
37
39
  } & {
38
- elevation?: import("@dxos/react-ui-types").Elevation;
40
+ elevation?: import("@dxos/ui-types").Elevation;
39
41
  asChild?: boolean;
40
- }, "ref"> | Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps, "className"> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
41
- ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
42
- } & {
42
+ }, "ref"> | Omit<Omit<ToolbarPrimitive.ToolbarToggleGroupMultipleProps, "className"> & Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
43
43
  asChild?: boolean;
44
44
  }, "className"> & {
45
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
45
+ classNames?: import("@dxos/ui-types").ClassNameValue;
46
46
  } & {
47
- elevation?: import("@dxos/react-ui-types").Elevation;
47
+ elevation?: import("@dxos/ui-types").Elevation;
48
48
  asChild?: boolean;
49
49
  }, "ref">) & React.RefAttributes<HTMLDivElement>>;
50
50
  ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
51
51
  ToggleGroupIconItem: React.ForwardRefExoticComponent<Omit<ToolbarToggleGroupIconItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
52
52
  Separator: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-separator").SeparatorProps, "className"> & {
53
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
53
+ classNames?: import("@dxos/ui-types").ClassNameValue;
54
54
  } & {
55
55
  subdued?: boolean;
56
56
  } & {
@@ -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,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,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K,GAAG,MAAM,CAAA;CAAE,CAAC;AAc3E,eAAO,MAAM,OAAO;;mBAxIL,OAAO;wBACF,OAAO;yBACN,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwH8B,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,4 +1,3 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  type StorybookToolbarProps = {};
@@ -7,11 +6,6 @@ declare const meta: {
7
6
  component: any;
8
7
  render: (props: StorybookToolbarProps) => React.JSX.Element;
9
8
  decorators: import("@storybook/react").Decorator[];
10
- parameters: {
11
- chromatic: {
12
- disableSnapshot: boolean;
13
- };
14
- };
15
9
  };
16
10
  export default meta;
17
11
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Toolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,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;;;;;;;CA8Db,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"}
@@ -80,9 +80,7 @@ interface TooltipContentImplProps extends Omit<PopperContentProps, 'onPlaced'> {
80
80
  type TooltipSide = NonNullable<TooltipContentProps['side']>;
81
81
  export declare const Tooltip: {
82
82
  Provider: React.FC<TooltipProviderProps>;
83
- Trigger: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
84
- ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
85
- } & {
83
+ Trigger: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
86
84
  asChild?: boolean;
87
85
  }, "ref"> & Pick<TooltipProps, "delayDuration"> & {
88
86
  content?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,OAA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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,4 +1,3 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  type StoryProps = {
@@ -13,11 +12,6 @@ declare const meta: {
13
12
  component: any;
14
13
  render: ({ tooltips, defaultOpen }: StoryProps) => React.JSX.Element;
15
14
  decorators: import("@storybook/react").Decorator[];
16
- parameters: {
17
- chromatic: {
18
- disableSnapshot: boolean;
19
- };
20
- };
21
15
  };
22
16
  export default meta;
23
17
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAcF,QAAA,MAAM,IAAI;;eAEc,GAAG;wCAdsB,UAAU;;;;;;;CAkBtB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC"}
1
+ {"version":3,"file":"Tooltip.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAcF,QAAA,MAAM,IAAI;;eAEc,GAAG;wCAdsB,UAAU;;CAiBtB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAazB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAcxB,CAAC"}
@@ -1,19 +1,20 @@
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';
19
20
  export * from './Tag';
@@ -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;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAE1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAE1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,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 +1 @@
1
- {"version":3,"file":"useSafeArea.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSafeArea.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,eAAe;;;;;CAAmD,CAAC;AAEhF,eAAO,MAAM,WAAW,QAAO,eAY9B,CAAC"}
1
+ {"version":3,"file":"useSafeArea.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useSafeArea.ts"],"names":[],"mappings":"AAQA,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;AAElF,eAAO,MAAM,eAAe;;;;;CAAmD,CAAC;AAEhF,eAAO,MAAM,WAAW,QAAO,eAa9B,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type useEffect } from 'react';
2
- export declare const useVisualViewport: (deps?: Parameters<typeof useEffect>[1]) => {
1
+ import { useViewportResize } from '@dxos/react-hooks';
2
+ export declare const useVisualViewport: (deps?: Parameters<typeof useViewportResize>[1]) => {
3
3
  width: number | null;
4
4
  height: number | null;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useVisualViewport.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useVisualViewport.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAI9D,eAAO,MAAM,iBAAiB,GAAI,OAAO,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;;;CAcvE,CAAC"}
1
+ {"version":3,"file":"useVisualViewport.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useVisualViewport.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,iBAAiB,GAAI,OAAO,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;CAc/E,CAAC"}
@@ -1,7 +1,7 @@
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
7
  export * from './util';
@@ -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,QAAQ,CAAC"}
@@ -1,15 +1,9 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
5
4
  title: string;
6
5
  render: () => React.JSX.Element;
7
6
  decorators: import("@storybook/react").Decorator[];
8
- parameters: {
9
- chromatic: {
10
- disableSnapshot: boolean;
11
- };
12
- };
13
7
  };
14
8
  export default meta;
15
9
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Controls.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Controls.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AA6ExC,QAAA,MAAM,IAAI;;;;;;;;;CAKmB,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;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,10 +1,9 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  import { type ButtonProps } from '../components';
5
4
  declare const meta: {
6
5
  title: string;
7
- component: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>>;
6
+ component: React.NamedExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
7
  render: ({ children, ...args }: Omit<ButtonProps, "ref">) => React.JSX.Element;
9
8
  decorators: import("@storybook/react").Decorator[];
10
9
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"Custom.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Custom.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,WAAW,EAAuB,MAAM,eAAe,CAAC;AAiH9E,QAAA,MAAM,IAAI;;;oCArGmC,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"}
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"}
@@ -1,15 +1,9 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
5
4
  title: string;
6
5
  render: () => React.JSX.Element;
7
6
  decorators: import("@storybook/react").Decorator[];
8
- parameters: {
9
- chromatic: {
10
- disableSnapshot: boolean;
11
- };
12
- };
13
7
  };
14
8
  export default meta;
15
9
  type Story = StoryObj<typeof meta>;
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Typography.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAuC1B,QAAA,MAAM,IAAI;;;;;;;;;CAK2B,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":"Typography.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/Typography.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAuC1B,QAAA,MAAM,IAAI;;;;CAI2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './withLayout';
2
+ export * from './withLayoutVariants';
1
3
  export * from './withTheme';
2
- export * from './withSurfaceVariantsLayout';
3
4
  //# sourceMappingURL=index.d.ts.map