open-mcp-app-ui 0.0.1 → 0.0.2
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/dist/editor/index.d.ts +22 -0
- package/dist/editor/index.js +8 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/index.d.ts +695 -0
- package/dist/index.js +626 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/display-modes.css +14 -0
- package/dist/styles/fallbacks.css +115 -0
- package/dist/table/index.d.ts +22 -0
- package/dist/table/index.js +8 -0
- package/dist/table/index.js.map +1 -0
- package/package.json +28 -5
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* open-mcp-app-ui/editor
|
|
3
|
+
*
|
|
4
|
+
* Markdown + rich text editor built on Milkdown (ProseMirror + Remark).
|
|
5
|
+
* This is an optional import — apps that don't use it pay zero bundle cost.
|
|
6
|
+
*
|
|
7
|
+
* Phase 2: Placeholder export. Implementation coming soon.
|
|
8
|
+
*
|
|
9
|
+
* Planned usage:
|
|
10
|
+
* import { Editor } from "open-mcp-app-ui/editor";
|
|
11
|
+
*
|
|
12
|
+
* <Editor
|
|
13
|
+
* value={markdownString}
|
|
14
|
+
* onChange={setMarkdownString}
|
|
15
|
+
* mode="wysiwyg"
|
|
16
|
+
* toolbar={["bold", "italic", "heading", "list", "code", "link"]}
|
|
17
|
+
* />
|
|
18
|
+
*/
|
|
19
|
+
declare const EDITOR_VERSION = "0.0.1";
|
|
20
|
+
declare const EDITOR_STATUS: "planned";
|
|
21
|
+
|
|
22
|
+
export { EDITOR_STATUS, EDITOR_VERSION };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/editor/index.ts"],"sourcesContent":["/**\n * open-mcp-app-ui/editor\n *\n * Markdown + rich text editor built on Milkdown (ProseMirror + Remark).\n * This is an optional import — apps that don't use it pay zero bundle cost.\n *\n * Phase 2: Placeholder export. Implementation coming soon.\n *\n * Planned usage:\n * import { Editor } from \"open-mcp-app-ui/editor\";\n *\n * <Editor\n * value={markdownString}\n * onChange={setMarkdownString}\n * mode=\"wysiwyg\"\n * toolbar={[\"bold\", \"italic\", \"heading\", \"list\", \"code\", \"link\"]}\n * />\n */\n\nexport const EDITOR_VERSION = \"0.0.1\";\nexport const EDITOR_STATUS = \"planned\" as const;\n"],"mappings":";AAmBO,IAAM,iBAAiB;AACvB,IAAM,gBAAgB;","names":[]}
|