@dxos/react-ui-markdown 0.8.4-main.d05539e30a → 0.8.4-main.d9fc60f731

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-markdown",
3
- "version": "0.8.4-main.d05539e30a",
3
+ "version": "0.8.4-main.d9fc60f731",
4
4
  "description": "Markdown components.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -15,7 +15,7 @@
15
15
  ".": {
16
16
  "source": "./src/index.ts",
17
17
  "types": "./dist/types/src/index.d.ts",
18
- "browser": "./dist/lib/browser/index.mjs"
18
+ "default": "./dist/lib/browser/index.mjs"
19
19
  }
20
20
  },
21
21
  "types": "dist/types/src/index.d.ts",
@@ -24,33 +24,33 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@codemirror/autocomplete": "^6.19.0",
28
- "@codemirror/language": "^6.11.3",
29
- "@codemirror/state": "^6.5.2",
30
- "@codemirror/view": "^6.38.5",
31
- "@lezer/common": "^1.2.2",
32
- "@lezer/highlight": "^1.2.1",
33
- "@lezer/markdown": "^1.3.1",
27
+ "@codemirror/autocomplete": "^6.20.2",
28
+ "@codemirror/language": "^6.12.3",
29
+ "@codemirror/state": "^6.6.0",
30
+ "@codemirror/view": "^6.43.0",
31
+ "@lezer/common": "^1.5.2",
32
+ "@lezer/highlight": "^1.2.3",
33
+ "@lezer/markdown": "^1.6.3",
34
34
  "@lezer/xml": "^1.0.6",
35
35
  "@radix-ui/react-compose-refs": "1.1.1",
36
36
  "@radix-ui/react-context": "1.1.1",
37
- "effect": "3.20.0",
37
+ "effect": "3.21.2",
38
38
  "json5": "^2.2.3",
39
39
  "react-markdown": "^10.1.0",
40
40
  "react-resize-detector": "^11.0.1",
41
41
  "remark-gfm": "^4.0.1",
42
- "@dxos/async": "0.8.4-main.d05539e30a",
43
- "@dxos/effect": "0.8.4-main.d05539e30a",
44
- "@dxos/log": "0.8.4-main.d05539e30a",
45
- "@dxos/react-ui": "0.8.4-main.d05539e30a",
46
- "@dxos/react-ui-editor": "0.8.4-main.d05539e30a",
47
- "@dxos/echo": "0.8.4-main.d05539e30a",
48
- "@dxos/react-ui-syntax-highlighter": "0.8.4-main.d05539e30a",
49
- "@dxos/ui": "0.8.4-main.d05539e30a",
50
- "@dxos/ui-theme": "0.8.4-main.d05539e30a",
51
- "@dxos/ui-editor": "0.8.4-main.d05539e30a",
52
- "@dxos/util": "0.8.4-main.d05539e30a",
53
- "@dxos/invariant": "0.8.4-main.d05539e30a"
42
+ "@dxos/effect": "0.8.4-main.d9fc60f731",
43
+ "@dxos/echo": "0.8.4-main.d9fc60f731",
44
+ "@dxos/async": "0.8.4-main.d9fc60f731",
45
+ "@dxos/invariant": "0.8.4-main.d9fc60f731",
46
+ "@dxos/react-ui": "0.8.4-main.d9fc60f731",
47
+ "@dxos/ui": "0.8.4-main.d9fc60f731",
48
+ "@dxos/log": "0.8.4-main.d9fc60f731",
49
+ "@dxos/react-ui-editor": "0.8.4-main.d9fc60f731",
50
+ "@dxos/react-ui-syntax-highlighter": "0.8.4-main.d9fc60f731",
51
+ "@dxos/ui-theme": "0.8.4-main.d9fc60f731",
52
+ "@dxos/util": "0.8.4-main.d9fc60f731",
53
+ "@dxos/ui-editor": "0.8.4-main.d9fc60f731"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@effect/vitest": "0.29.0",
@@ -58,23 +58,23 @@
58
58
  "@types/react-dom": "~19.2.3",
59
59
  "react": "~19.2.3",
60
60
  "react-dom": "~19.2.3",
61
- "vite": "^8.0.13",
62
- "@dxos/echo": "0.8.4-main.d05539e30a",
63
- "@dxos/keys": "0.8.4-main.d05539e30a",
64
- "@dxos/random": "0.8.4-main.d05539e30a",
65
- "@dxos/lit-ui": "0.8.4-main.d05539e30a",
66
- "@dxos/react-client": "0.8.4-main.d05539e30a",
67
- "@dxos/react-ui": "0.8.4-main.d05539e30a",
68
- "@dxos/schema": "0.8.4-main.d05539e30a",
69
- "@dxos/storybook-utils": "0.8.4-main.d05539e30a",
70
- "@dxos/ui-theme": "0.8.4-main.d05539e30a"
61
+ "vite": "^8.0.14",
62
+ "@dxos/lit-ui": "0.8.4-main.d9fc60f731",
63
+ "@dxos/echo": "0.8.4-main.d9fc60f731",
64
+ "@dxos/keys": "0.8.4-main.d9fc60f731",
65
+ "@dxos/random": "0.8.4-main.d9fc60f731",
66
+ "@dxos/react-client": "0.8.4-main.d9fc60f731",
67
+ "@dxos/storybook-utils": "0.8.4-main.d9fc60f731",
68
+ "@dxos/react-ui": "0.8.4-main.d9fc60f731",
69
+ "@dxos/schema": "0.8.4-main.d9fc60f731",
70
+ "@dxos/ui-theme": "0.8.4-main.d9fc60f731"
71
71
  },
72
72
  "peerDependencies": {
73
- "effect": "3.20.0",
73
+ "effect": "3.21.2",
74
74
  "react": "~19.2.3",
75
75
  "react-dom": "~19.2.3",
76
- "@dxos/react-ui": "0.8.4-main.d05539e30a",
77
- "@dxos/ui-theme": "0.8.4-main.d05539e30a"
76
+ "@dxos/react-ui": "0.8.4-main.d9fc60f731",
77
+ "@dxos/ui-theme": "0.8.4-main.d9fc60f731"
78
78
  },
79
79
  "publishConfig": {
80
80
  "access": "public"
@@ -282,7 +282,7 @@ const useMarkdownStreamTextEditor = (
282
282
  xmlBlockDecoration({
283
283
  tag: 'prompt',
284
284
  lineClass: 'cm-prompt-line my-8',
285
- contentClass: 'cm-prompt-bubble dx-panel px-2 py-1.5 rounded-sm [&_*]:text-inherit!',
285
+ contentClass: 'cm-prompt-bubble dx-panel px-2 py-1.5 box-decoration-clone rounded-sm [&_*]:text-inherit!',
286
286
  hideTags: true,
287
287
  }),
288
288
  xmlTags({ registry, setWidgets, bookmarks: ['prompt'] }),
@@ -8,7 +8,7 @@ import * as Stream from 'effect/Stream';
8
8
  import { Obj } from '@dxos/echo';
9
9
 
10
10
  export const renderObjectLink = (obj: Obj.Unknown, block?: boolean) =>
11
- `${block ? '!' : ''}[${Obj.getLabel(obj)}](${Obj.getDXN(obj).toString()})`;
11
+ `${block ? '!' : ''}[${Obj.getLabel(obj)}](${Obj.getURI(obj)})`;
12
12
 
13
13
  export type StreamerOptions = {
14
14
  /**
@@ -77,7 +77,7 @@ const defaultComponents: ReactMarkdownOptions['components'] = {
77
77
  if (!src) {
78
78
  return null;
79
79
  }
80
- return <MediaPlayer src={src} alt={alt} mediaClassNames='aspect-video w-full' imgClassNames='w-full' />;
80
+ return <MediaPlayer src={src} alt={alt} classNames='w-full' />;
81
81
  },
82
82
  ol: ({ children, ...props }) => (
83
83
  <ol className='pt-1 pb-1 ps-6 leading-tight list-decimal' {...props}>