@dxos/plugin-markdown 0.8.2-staging.42af850 → 0.8.2-staging.4d6ad0f

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 (26) hide show
  1. package/dist/lib/browser/{MarkdownContainer-5IEINNQB.mjs → MarkdownContainer-NNE5SMES.mjs} +3 -3
  2. package/dist/lib/browser/{MarkdownContainer-5IEINNQB.mjs.map → MarkdownContainer-NNE5SMES.mjs.map} +2 -2
  3. package/dist/lib/browser/{chunk-ACAID3XF.mjs → chunk-Z7VSZKOO.mjs} +2 -2
  4. package/dist/lib/browser/index.mjs +1 -1
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/{react-surface-QE4SKXBT.mjs → react-surface-LDVROHXZ.mjs} +2 -2
  7. package/dist/lib/node/{MarkdownContainer-LSNNPNRB.cjs → MarkdownContainer-LFCR2YMB.cjs} +6 -6
  8. package/dist/lib/node/{MarkdownContainer-LSNNPNRB.cjs.map → MarkdownContainer-LFCR2YMB.cjs.map} +2 -2
  9. package/dist/lib/node/{chunk-C4HR7UXE.cjs → chunk-3KDAJADP.cjs} +5 -5
  10. package/dist/lib/node/index.cjs +8 -8
  11. package/dist/lib/node/meta.json +1 -1
  12. package/dist/lib/node/{react-surface-WJZTEBYO.cjs → react-surface-QM65PGDI.cjs} +5 -5
  13. package/dist/lib/node-esm/{MarkdownContainer-UZSLXMWO.mjs → MarkdownContainer-HUOBFKZR.mjs} +3 -3
  14. package/dist/lib/node-esm/{MarkdownContainer-UZSLXMWO.mjs.map → MarkdownContainer-HUOBFKZR.mjs.map} +2 -2
  15. package/dist/lib/node-esm/{chunk-EIUTPXGL.mjs → chunk-4444OQSA.mjs} +2 -2
  16. package/dist/lib/node-esm/index.mjs +1 -1
  17. package/dist/lib/node-esm/meta.json +1 -1
  18. package/dist/lib/node-esm/{react-surface-XNM3YDFB.mjs → react-surface-5QZ76RZA.mjs} +2 -2
  19. package/package.json +39 -39
  20. package/src/extensions.tsx +2 -2
  21. /package/dist/lib/browser/{chunk-ACAID3XF.mjs.map → chunk-Z7VSZKOO.mjs.map} +0 -0
  22. /package/dist/lib/browser/{react-surface-QE4SKXBT.mjs.map → react-surface-LDVROHXZ.mjs.map} +0 -0
  23. /package/dist/lib/node/{chunk-C4HR7UXE.cjs.map → chunk-3KDAJADP.cjs.map} +0 -0
  24. /package/dist/lib/node/{react-surface-WJZTEBYO.cjs.map → react-surface-QM65PGDI.cjs.map} +0 -0
  25. /package/dist/lib/node-esm/{chunk-EIUTPXGL.mjs.map → chunk-4444OQSA.mjs.map} +0 -0
  26. /package/dist/lib/node-esm/{react-surface-XNM3YDFB.mjs.map → react-surface-5QZ76RZA.mjs.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-markdown",
3
- "version": "0.8.2-staging.42af850",
3
+ "version": "0.8.2-staging.4d6ad0f",
4
4
  "description": "DXOS Surface plugin for interacting with Markdown",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -39,35 +39,35 @@
39
39
  "@preact-signals/safe-react": "^0.9.0",
40
40
  "@preact/signals-core": "^1.9.0",
41
41
  "react-dropzone": "^14.2.3",
42
- "@dxos/ai": "0.8.2-staging.42af850",
43
- "@dxos/app-framework": "0.8.2-staging.42af850",
44
- "@dxos/assistant": "0.8.2-staging.42af850",
45
- "@dxos/artifact": "0.8.2-staging.42af850",
46
- "@dxos/async": "0.8.2-staging.42af850",
47
- "@dxos/echo-schema": "0.8.2-staging.42af850",
48
- "@dxos/echo": "0.8.2-staging.42af850",
49
- "@dxos/invariant": "0.8.2-staging.42af850",
50
- "@dxos/live-object": "0.8.2-staging.42af850",
51
- "@dxos/keys": "0.8.2-staging.42af850",
52
- "@dxos/local-storage": "0.8.2-staging.42af850",
53
- "@dxos/log": "0.8.2-staging.42af850",
54
- "@dxos/lit-ui": "0.8.2-staging.42af850",
55
- "@dxos/plugin-client": "0.8.2-staging.42af850",
56
- "@dxos/plugin-deck": "0.8.2-staging.42af850",
57
- "@dxos/plugin-graph": "0.8.2-staging.42af850",
58
- "@dxos/plugin-attention": "0.8.2-staging.42af850",
59
- "@dxos/plugin-preview": "0.8.2-staging.42af850",
60
- "@dxos/plugin-space": "0.8.2-staging.42af850",
61
- "@dxos/react-client": "0.8.2-staging.42af850",
62
- "@dxos/react-hooks": "0.8.2-staging.42af850",
63
- "@dxos/plugin-theme": "0.8.2-staging.42af850",
64
- "@dxos/react-ui-attention": "0.8.2-staging.42af850",
65
- "@dxos/react-ui-card": "0.8.2-staging.42af850",
66
- "@dxos/react-ui-form": "0.8.2-staging.42af850",
67
- "@dxos/react-ui-stack": "0.8.2-staging.42af850",
68
- "@dxos/schema": "0.8.2-staging.42af850",
69
- "@dxos/util": "0.8.2-staging.42af850",
70
- "@dxos/react-ui-editor": "0.8.2-staging.42af850"
42
+ "@dxos/ai": "0.8.2-staging.4d6ad0f",
43
+ "@dxos/app-framework": "0.8.2-staging.4d6ad0f",
44
+ "@dxos/async": "0.8.2-staging.4d6ad0f",
45
+ "@dxos/artifact": "0.8.2-staging.4d6ad0f",
46
+ "@dxos/assistant": "0.8.2-staging.4d6ad0f",
47
+ "@dxos/echo": "0.8.2-staging.4d6ad0f",
48
+ "@dxos/echo-schema": "0.8.2-staging.4d6ad0f",
49
+ "@dxos/invariant": "0.8.2-staging.4d6ad0f",
50
+ "@dxos/keys": "0.8.2-staging.4d6ad0f",
51
+ "@dxos/live-object": "0.8.2-staging.4d6ad0f",
52
+ "@dxos/lit-ui": "0.8.2-staging.4d6ad0f",
53
+ "@dxos/local-storage": "0.8.2-staging.4d6ad0f",
54
+ "@dxos/log": "0.8.2-staging.4d6ad0f",
55
+ "@dxos/plugin-deck": "0.8.2-staging.4d6ad0f",
56
+ "@dxos/plugin-graph": "0.8.2-staging.4d6ad0f",
57
+ "@dxos/plugin-preview": "0.8.2-staging.4d6ad0f",
58
+ "@dxos/plugin-attention": "0.8.2-staging.4d6ad0f",
59
+ "@dxos/plugin-client": "0.8.2-staging.4d6ad0f",
60
+ "@dxos/plugin-space": "0.8.2-staging.4d6ad0f",
61
+ "@dxos/plugin-theme": "0.8.2-staging.4d6ad0f",
62
+ "@dxos/react-hooks": "0.8.2-staging.4d6ad0f",
63
+ "@dxos/react-client": "0.8.2-staging.4d6ad0f",
64
+ "@dxos/react-ui-attention": "0.8.2-staging.4d6ad0f",
65
+ "@dxos/react-ui-card": "0.8.2-staging.4d6ad0f",
66
+ "@dxos/react-ui-editor": "0.8.2-staging.4d6ad0f",
67
+ "@dxos/react-ui-stack": "0.8.2-staging.4d6ad0f",
68
+ "@dxos/schema": "0.8.2-staging.4d6ad0f",
69
+ "@dxos/util": "0.8.2-staging.4d6ad0f",
70
+ "@dxos/react-ui-form": "0.8.2-staging.4d6ad0f"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@effect-rx/rx-react": "^0.34.1",
@@ -79,13 +79,13 @@
79
79
  "react": "~18.2.0",
80
80
  "react-dom": "~18.2.0",
81
81
  "vite": "5.4.7",
82
- "@dxos/debug": "0.8.2-staging.42af850",
83
- "@dxos/plugin-theme": "0.8.2-staging.42af850",
84
- "@dxos/plugin-storybook-layout": "0.8.2-staging.42af850",
85
- "@dxos/random": "0.8.2-staging.42af850",
86
- "@dxos/react-ui": "0.8.2-staging.42af850",
87
- "@dxos/react-ui-theme": "0.8.2-staging.42af850",
88
- "@dxos/storybook-utils": "0.8.2-staging.42af850"
82
+ "@dxos/plugin-theme": "0.8.2-staging.4d6ad0f",
83
+ "@dxos/plugin-storybook-layout": "0.8.2-staging.4d6ad0f",
84
+ "@dxos/random": "0.8.2-staging.4d6ad0f",
85
+ "@dxos/react-ui": "0.8.2-staging.4d6ad0f",
86
+ "@dxos/storybook-utils": "0.8.2-staging.4d6ad0f",
87
+ "@dxos/debug": "0.8.2-staging.4d6ad0f",
88
+ "@dxos/react-ui-theme": "0.8.2-staging.4d6ad0f"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@effect-rx/rx-react": "^0.34.1",
@@ -94,8 +94,8 @@
94
94
  "effect": "^3.13.3",
95
95
  "react": "~18.2.0",
96
96
  "react-dom": "~18.2.0",
97
- "@dxos/react-ui": "0.8.2-staging.42af850",
98
- "@dxos/react-ui-theme": "0.8.2-staging.42af850"
97
+ "@dxos/react-ui": "0.8.2-staging.4d6ad0f",
98
+ "@dxos/react-ui-theme": "0.8.2-staging.4d6ad0f"
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public"
@@ -109,12 +109,12 @@ export const useExtensions = ({
109
109
  //
110
110
  // External extensions from other plugins.
111
111
  //
112
- const pluginExtensions = useMemo<Extension[]>(() => {
112
+ const pluginExtensions = useMemo<Extension[] | undefined>(() => {
113
113
  if (!document) {
114
114
  return [];
115
115
  }
116
116
 
117
- return extensionProviders.flat().reduce((acc: Extension[], provider) => {
117
+ extensionProviders.flat().reduce((acc: Extension[], provider) => {
118
118
  const extension = typeof provider === 'function' ? provider({ document }) : provider;
119
119
  if (extension) {
120
120
  acc.push(extension);