@dxos/react-ui-thread 0.4.10-main.61a4cf6 → 0.4.10-main.6f15454

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.4.10-main.61a4cf6",
3
+ "version": "0.4.10-main.6f15454",
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",
@@ -18,11 +18,11 @@
18
18
  "dependencies": {
19
19
  "@radix-ui/react-primitive": "^1.0.2",
20
20
  "date-fns": "^3.3.1",
21
- "@dxos/react-ui": "0.4.10-main.61a4cf6",
22
- "@dxos/react-ui-mosaic": "0.4.10-main.61a4cf6",
23
- "@dxos/react-ui-editor": "0.4.10-main.61a4cf6",
24
- "@dxos/react-ui-theme": "0.4.10-main.61a4cf6",
25
- "@dxos/util": "0.4.10-main.61a4cf6"
21
+ "@dxos/react-ui": "0.4.10-main.6f15454",
22
+ "@dxos/react-ui-editor": "0.4.10-main.6f15454",
23
+ "@dxos/react-ui-mosaic": "0.4.10-main.6f15454",
24
+ "@dxos/react-ui-theme": "0.4.10-main.6f15454",
25
+ "@dxos/util": "0.4.10-main.6f15454"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@phosphor-icons/react": "^2.0.5",
@@ -30,14 +30,14 @@
30
30
  "@types/react-dom": "^18.0.6",
31
31
  "react": "^18.2.0",
32
32
  "react-dom": "^18.2.0",
33
- "vite": "^5.1.7",
33
+ "vite": "^5.2.9",
34
34
  "vite-plugin-turbosnap": "^1.0.2",
35
- "@dxos/keys": "0.4.10-main.61a4cf6",
36
- "@braneframe/types": "0.4.10-main.61a4cf6",
37
- "@dxos/storybook-utils": "0.4.10-main.61a4cf6",
38
- "@dxos/log": "0.4.10-main.61a4cf6",
39
- "@dxos/echo-schema": "0.4.10-main.61a4cf6",
40
- "@dxos/random": "0.4.10-main.61a4cf6"
35
+ "@braneframe/types": "0.4.10-main.6f15454",
36
+ "@dxos/keys": "0.4.10-main.6f15454",
37
+ "@dxos/echo-schema": "0.4.10-main.6f15454",
38
+ "@dxos/storybook-utils": "0.4.10-main.6f15454",
39
+ "@dxos/log": "0.4.10-main.6f15454",
40
+ "@dxos/random": "0.4.10-main.6f15454"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@phosphor-icons/react": "^2.0.5",
@@ -8,7 +8,7 @@ import { Check, Trash } from '@phosphor-icons/react';
8
8
  import React, { type FC, useEffect, useMemo, useRef, useState } from 'react';
9
9
 
10
10
  import { MessageType, TextV0Type } from '@braneframe/types';
11
- import { createDocAccessor, create, createEchoReactiveObject } from '@dxos/echo-schema';
11
+ import { createDocAccessor, create, createEchoObject } from '@dxos/echo-schema';
12
12
  import { PublicKey } from '@dxos/keys';
13
13
  import { log } from '@dxos/log';
14
14
  import { faker } from '@dxos/random';
@@ -252,7 +252,7 @@ type StoryProps = {
252
252
  };
253
253
 
254
254
  const Story = ({ text, autoCreate }: StoryProps) => {
255
- const [item] = useState(createEchoReactiveObject(create(TextV0Type, { content: text ?? '' })));
255
+ const [item] = useState(createEchoObject(create(TextV0Type, { content: text ?? '' })));
256
256
  const [threads, setThreads] = useState<StoryCommentThread[]>([]);
257
257
  const [selected, setSelected] = useState<string>();
258
258