@dxos/react-ui-thread 0.8.4-main.937b3ca → 0.8.4-main.9735255

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui-thread",
3
- "version": "0.8.4-main.937b3ca",
3
+ "version": "0.8.4-main.9735255",
4
4
  "description": "A set of components to use with threads, including comments and messages.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@radix-ui/react-primitive": "2.0.2",
32
32
  "date-fns": "^3.3.1",
33
- "@dxos/react-ui-editor": "0.8.4-main.937b3ca",
34
- "@dxos/ui-editor": "0.8.4-main.937b3ca",
35
- "@dxos/util": "0.8.4-main.937b3ca"
33
+ "@dxos/react-ui-editor": "0.8.4-main.9735255",
34
+ "@dxos/ui-editor": "0.8.4-main.9735255",
35
+ "@dxos/util": "0.8.4-main.9735255"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/react": "~19.2.7",
@@ -40,20 +40,20 @@
40
40
  "react": "~19.2.3",
41
41
  "react-dom": "~19.2.3",
42
42
  "vite": "7.1.9",
43
- "@dxos/keys": "0.8.4-main.937b3ca",
44
- "@dxos/echo-db": "0.8.4-main.937b3ca",
45
- "@dxos/log": "0.8.4-main.937b3ca",
46
- "@dxos/random": "0.8.4-main.937b3ca",
47
- "@dxos/react-ui": "0.8.4-main.937b3ca",
48
- "@dxos/storybook-utils": "0.8.4-main.937b3ca",
49
- "@dxos/echo": "0.8.4-main.937b3ca",
50
- "@dxos/ui-theme": "0.8.4-main.937b3ca"
43
+ "@dxos/echo": "0.8.4-main.9735255",
44
+ "@dxos/echo-db": "0.8.4-main.9735255",
45
+ "@dxos/keys": "0.8.4-main.9735255",
46
+ "@dxos/log": "0.8.4-main.9735255",
47
+ "@dxos/react-ui": "0.8.4-main.9735255",
48
+ "@dxos/random": "0.8.4-main.9735255",
49
+ "@dxos/storybook-utils": "0.8.4-main.9735255",
50
+ "@dxos/ui-theme": "0.8.4-main.9735255"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": "~19.2.3",
54
54
  "react-dom": "~19.2.3",
55
- "@dxos/ui-theme": "0.8.4-main.937b3ca",
56
- "@dxos/react-ui": "0.8.4-main.937b3ca"
55
+ "@dxos/react-ui": "0.8.4-main.9735255",
56
+ "@dxos/ui-theme": "0.8.4-main.9735255"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
@@ -217,12 +217,14 @@ const StoryThread: FC<{
217
217
  );
218
218
  };
219
219
 
220
- const Sidebar: FC<{
220
+ type SidebarProps = {
221
221
  threads: StoryCommentThread[];
222
222
  selected?: string;
223
223
  onSelect: (thread: string) => void;
224
224
  onResolve: (thread: string) => void;
225
- }> = ({ threads, selected, onSelect, onResolve }) => {
225
+ };
226
+
227
+ const Sidebar = ({ threads, selected, onSelect, onResolve }: SidebarProps) => {
226
228
  // Sort by y-position.
227
229
  const sortedThreads = useMemo(() => {
228
230
  const sorted = [...threads];