@dxos/plugin-markdown 0.8.0 → 0.8.1-main.a06ad20

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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { type MarkdownEditorProps } from './MarkdownEditor';
2
3
  import { DocumentType, type MarkdownSettingsProps } from '../types';
3
4
  export type MarkdownContainerProps = Pick<MarkdownEditorProps, 'role' | 'extensionProviders' | 'viewMode' | 'editorStateStore' | 'onViewModeChange'> & {
@@ -5,10 +6,10 @@ export type MarkdownContainerProps = Pick<MarkdownEditorProps, 'role' | 'extensi
5
6
  object: DocumentType | any;
6
7
  settings: MarkdownSettingsProps;
7
8
  };
8
- declare const MarkdownContainer: ({ id, role, object, settings, viewMode, editorStateStore, onViewModeChange, }: MarkdownContainerProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const MarkdownContainer: ({ id, role, object, settings, viewMode, editorStateStore, onViewModeChange, }: MarkdownContainerProps) => React.JSX.Element;
9
10
  type DocumentEditorProps = Omit<MarkdownContainerProps, 'object' | 'extensionProviders' | 'editorStateStore'> & Pick<MarkdownEditorProps, 'id' | 'scrollPastEnd' | 'extensions'> & {
10
11
  document: DocumentType;
11
12
  };
12
- export declare const DocumentEditor: ({ id, document: doc, settings, viewMode, ...props }: DocumentEditorProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const DocumentEditor: ({ id, document: doc, settings, viewMode, ...props }: DocumentEditorProps) => React.JSX.Element;
13
14
  export default MarkdownContainer;
14
15
  //# sourceMappingURL=MarkdownContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownContainer.tsx"],"names":[],"mappings":"AASA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGpE,M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G,oBAAoB,GAAG,kBAAkB,CAAC,GAC3G,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,eAAe,GAAG,YAAY,CAAC,GAAG;IACjE,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAEJ,eAAO,MAAM,cAAc,wDAAyD,mBAAmB,sBAqCtG,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { type FileInfo } from '@dxos/app-framework';
2
3
  import { type EditorViewMode, type EditorInputMode, type EditorStateStore, type UseTextEditorProps } from '@dxos/react-ui-editor';
3
4
  import { type MarkdownPluginState } from '../types';
@@ -18,7 +19,7 @@ export type MarkdownEditorProps = {
18
19
  * This component provides all the features of the markdown editor that do no depend on ECHO.
19
20
  * This allows it to be used as a common editor for markdown content on arbitrary backends (e.g. files).
20
21
  */
21
- export declare const MarkdownEditor: ({ id, role, initialValue, extensions, extensionProviders, scrollPastEnd, toolbar, viewMode, editorStateStore, onFileUpload, onViewModeChange, }: MarkdownEditorProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const MarkdownEditor: ({ id, role, initialValue, extensions, extensionProviders, scrollPastEnd, toolbar, viewMode, editorStateStore, onFileUpload, onViewModeChange, }: MarkdownEditorProps) => React.JSX.Element;
22
23
  export declare const createUploadAction: () => {
23
24
  nodes: Readonly<Omit<Readonly<{
24
25
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownEditor.tsx"],"names":[],"mappings":"AASA,OAAO,EAAgB,KAAK,QAAQ,EAAqC,MAAM,qBAAqB,CAAC;AAErG,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EAEpB,KAAK,gBAAgB,EAErB,KAAK,kBAAkB,EAgBxB,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,mBAAmB,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C,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;IAC9D,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;CAC9D,GAAG,IAAI,CAAC,kBAAkB,EAAE,cAAc,GAAG,YAAY,CAAC,GACzD,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,eAAO,MAAM,cAAc,oJAYxB,mBAAmB,sBA+JrB,CAAC;AAaF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;CAQ7B,CAAC"}
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { type MarkdownSettingsProps } from '../types';
2
3
  export declare const MarkdownSettings: ({ settings }: {
3
4
  settings: MarkdownSettingsProps;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
+ }) => React.JSX.Element;
5
6
  //# sourceMappingURL=MarkdownSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownSettings.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,gBAAgB,iBAAkB;IAAE,QAAQ,EAAE,qBAAqB,CAAA;CAAE,4CA2FjF,CAAC"}
1
+ {"version":3,"file":"MarkdownSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,gBAAgB,iBAAkB;IAAE,QAAQ,EAAE,qBAAqB,CAAA;CAAE,sBA2FjF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export * from './MarkdownSettings';
2
- export declare const MarkdownContainer: import("react").LazyExoticComponent<({ id, role, object, settings, viewMode, editorStateStore, onViewModeChange, }: import("./MarkdownContainer").MarkdownContainerProps) => import("react/jsx-runtime").JSX.Element>;
2
+ export declare const MarkdownContainer: import("react").LazyExoticComponent<({ id, role, object, settings, viewMode, editorStateStore, onViewModeChange, }: import("./MarkdownContainer").MarkdownContainerProps) => import("react").JSX.Element>;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,oBAAoB,CAAC;AAEnC,eAAO,MAAM,iBAAiB,uNAA4C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,oBAAoB,CAAC;AAEnC,eAAO,MAAM,iBAAiB,2MAA4C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-markdown",
3
- "version": "0.8.0",
3
+ "version": "0.8.1-main.a06ad20",
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",
@@ -35,33 +35,32 @@
35
35
  "dependencies": {
36
36
  "@codemirror/search": "^6.5.6",
37
37
  "@codemirror/view": "^6.34.1",
38
- "@effect/schema": "^0.75.5",
39
38
  "@preact/signals-core": "^1.6.0",
40
- "effect": "^3.12.3",
39
+ "effect": "3.13.3",
41
40
  "react-dropzone": "^14.2.3",
42
- "@dxos/async": "0.8.0",
43
- "@dxos/echo-schema": "0.8.0",
44
- "@dxos/artifact": "0.8.0",
45
- "@dxos/invariant": "0.8.0",
46
- "@dxos/keys": "0.8.0",
47
- "@dxos/live-object": "0.8.0",
48
- "@dxos/local-storage": "0.8.0",
49
- "@dxos/log": "0.8.0",
50
- "@dxos/app-framework": "0.8.0",
51
- "@dxos/plugin-client": "0.8.0",
52
- "@dxos/plugin-graph": "0.8.0",
53
- "@dxos/plugin-theme": "0.8.0",
54
- "@dxos/plugin-space": "0.8.0",
55
- "@dxos/react-hooks": "0.8.0",
56
- "@dxos/react-client": "0.8.0",
57
- "@dxos/react-ui-attention": "0.8.0",
58
- "@dxos/react-ui-card": "0.8.0",
59
- "@dxos/plugin-attention": "0.8.0",
60
- "@dxos/react-ui-editor": "0.8.0",
61
- "@dxos/react-ui-form": "0.8.0",
62
- "@dxos/react-ui-stack": "0.8.0",
63
- "@dxos/schema": "0.8.0",
64
- "@dxos/util": "0.8.0"
41
+ "@dxos/app-framework": "0.8.1-main.a06ad20",
42
+ "@dxos/artifact": "0.8.1-main.a06ad20",
43
+ "@dxos/async": "0.8.1-main.a06ad20",
44
+ "@dxos/invariant": "0.8.1-main.a06ad20",
45
+ "@dxos/echo-schema": "0.8.1-main.a06ad20",
46
+ "@dxos/keys": "0.8.1-main.a06ad20",
47
+ "@dxos/live-object": "0.8.1-main.a06ad20",
48
+ "@dxos/local-storage": "0.8.1-main.a06ad20",
49
+ "@dxos/log": "0.8.1-main.a06ad20",
50
+ "@dxos/plugin-graph": "0.8.1-main.a06ad20",
51
+ "@dxos/plugin-attention": "0.8.1-main.a06ad20",
52
+ "@dxos/plugin-client": "0.8.1-main.a06ad20",
53
+ "@dxos/plugin-space": "0.8.1-main.a06ad20",
54
+ "@dxos/plugin-theme": "0.8.1-main.a06ad20",
55
+ "@dxos/react-client": "0.8.1-main.a06ad20",
56
+ "@dxos/react-hooks": "0.8.1-main.a06ad20",
57
+ "@dxos/react-ui-attention": "0.8.1-main.a06ad20",
58
+ "@dxos/react-ui-card": "0.8.1-main.a06ad20",
59
+ "@dxos/react-ui-editor": "0.8.1-main.a06ad20",
60
+ "@dxos/react-ui-form": "0.8.1-main.a06ad20",
61
+ "@dxos/react-ui-stack": "0.8.1-main.a06ad20",
62
+ "@dxos/schema": "0.8.1-main.a06ad20",
63
+ "@dxos/util": "0.8.1-main.a06ad20"
65
64
  },
66
65
  "devDependencies": {
67
66
  "@phosphor-icons/react": "^2.1.5",
@@ -70,18 +69,18 @@
70
69
  "react": "~18.2.0",
71
70
  "react-dom": "~18.2.0",
72
71
  "vite": "5.4.7",
73
- "@dxos/random": "0.8.0",
74
- "@dxos/react-ui": "0.8.0",
75
- "@dxos/react-ui-theme": "0.8.0",
76
- "@dxos/storybook-utils": "0.8.0",
77
- "@dxos/debug": "0.8.0"
72
+ "@dxos/debug": "0.8.1-main.a06ad20",
73
+ "@dxos/random": "0.8.1-main.a06ad20",
74
+ "@dxos/react-ui-theme": "0.8.1-main.a06ad20",
75
+ "@dxos/react-ui": "0.8.1-main.a06ad20",
76
+ "@dxos/storybook-utils": "0.8.1-main.a06ad20"
78
77
  },
79
78
  "peerDependencies": {
80
79
  "@phosphor-icons/react": "^2.1.5",
81
80
  "react": "~18.2.0",
82
81
  "react-dom": "~18.2.0",
83
- "@dxos/react-ui": "0.8.0",
84
- "@dxos/react-ui-theme": "0.8.0"
82
+ "@dxos/react-ui": "0.8.1-main.a06ad20",
83
+ "@dxos/react-ui-theme": "0.8.1-main.a06ad20"
85
84
  },
86
85
  "publishConfig": {
87
86
  "access": "public"