@dxos/plugin-markdown 0.6.12-main.5cc132e → 0.6.12-main.78ddbdf
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/lib/browser/{DocumentCard-2P4EICBA.mjs → DocumentCard-RKENHCNE.mjs} +3 -3
- package/dist/lib/browser/DocumentEditor-FAXQRX37.mjs +11 -0
- package/dist/lib/browser/{MarkdownEditor-IE2ISQQF.mjs → MarkdownEditor-5EUT7P66.mjs} +3 -3
- package/dist/lib/{node-esm/chunk-4GGD6YJO.mjs → browser/chunk-2SJN46PA.mjs} +2 -5
- package/dist/lib/browser/chunk-2SJN46PA.mjs.map +7 -0
- package/dist/lib/browser/{chunk-RL7QY322.mjs → chunk-AFWT6Z7B.mjs} +2 -2
- package/dist/lib/browser/{chunk-RQLDAFNM.mjs → chunk-AVGUYNPR.mjs} +13 -9
- package/dist/lib/browser/chunk-AVGUYNPR.mjs.map +7 -0
- package/dist/lib/browser/{chunk-5FP6MXCU.mjs → chunk-JDTH4A4I.mjs} +6 -4
- package/dist/lib/browser/{chunk-5FP6MXCU.mjs.map → chunk-JDTH4A4I.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-7W37KPH3.mjs → chunk-R6CSLNWW.mjs} +2 -2
- package/dist/lib/browser/chunk-R6CSLNWW.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +21 -20
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/meta.mjs +1 -1
- package/dist/lib/browser/types/index.mjs +2 -2
- package/dist/lib/node/{DocumentCard-EHJDDSRY.cjs → DocumentCard-ECPKHJT7.cjs} +8 -8
- package/dist/lib/node/{DocumentCard-EHJDDSRY.cjs.map → DocumentCard-ECPKHJT7.cjs.map} +2 -2
- package/dist/lib/node/{DocumentEditor-DZOOGCBM.cjs → DocumentEditor-YVZTTY5L.cjs} +9 -9
- package/dist/lib/node/DocumentEditor-YVZTTY5L.cjs.map +7 -0
- package/dist/lib/node/{MarkdownEditor-IUHHJ532.cjs → MarkdownEditor-ZD4W4UJ6.cjs} +8 -8
- package/dist/lib/node/MarkdownEditor-ZD4W4UJ6.cjs.map +7 -0
- package/dist/lib/node/{chunk-GRU6YP3J.cjs → chunk-2T7LIVPT.cjs} +17 -13
- package/dist/lib/node/chunk-2T7LIVPT.cjs.map +7 -0
- package/dist/lib/node/{chunk-Q4ZSCBQE.cjs → chunk-5ZWOR7JF.cjs} +6 -6
- package/dist/lib/node/{chunk-TGMR2CKU.cjs → chunk-LPD4NOTH.cjs} +5 -18
- package/dist/lib/node/chunk-LPD4NOTH.cjs.map +7 -0
- package/dist/lib/node/{chunk-EZTJSCMZ.cjs → chunk-MCA5BBJR.cjs} +6 -6
- package/dist/lib/node/chunk-MCA5BBJR.cjs.map +7 -0
- package/dist/lib/node/{chunk-DFWSVQEA.cjs → chunk-OEWBZFBF.cjs} +12 -10
- package/dist/lib/node/chunk-OEWBZFBF.cjs.map +7 -0
- package/dist/lib/node/index.cjs +62 -61
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.cjs +3 -3
- package/dist/lib/node/meta.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/types/index.cjs +5 -5
- package/dist/lib/node/types/index.cjs.map +1 -1
- package/dist/lib/node-esm/DocumentCard-RHVY4Z6L.mjs +12 -0
- package/dist/lib/node-esm/DocumentEditor-JBVVPEYE.mjs +12 -0
- package/dist/lib/node-esm/MarkdownEditor-OS7YG6MA.mjs +11 -0
- package/dist/lib/{browser/chunk-4GGD6YJO.mjs → node-esm/chunk-2BGTVWHN.mjs} +4 -5
- package/dist/lib/node-esm/chunk-2BGTVWHN.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-RL7QY322.mjs → chunk-OE3CMI5X.mjs} +4 -3
- package/dist/lib/node-esm/{chunk-RL7QY322.mjs.map → chunk-OE3CMI5X.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-RQLDAFNM.mjs → chunk-QARGBUBS.mjs} +14 -9
- package/dist/lib/node-esm/chunk-QARGBUBS.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-354DCID5.mjs → chunk-RO5FEVW6.mjs} +3 -1
- package/dist/lib/node-esm/{chunk-354DCID5.mjs.map → chunk-RO5FEVW6.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-5FP6MXCU.mjs → chunk-UG4MIBCA.mjs} +8 -5
- package/dist/lib/node-esm/chunk-UG4MIBCA.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-7W37KPH3.mjs → chunk-W525OVFX.mjs} +3 -2
- package/dist/lib/node-esm/chunk-W525OVFX.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +23 -21
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/meta.mjs +2 -1
- package/dist/lib/node-esm/types/index.mjs +3 -2
- package/dist/types/src/MarkdownPlugin.d.ts.map +1 -1
- package/dist/types/src/components/DocumentEditor.d.ts.map +1 -1
- package/dist/types/src/components/MarkdownEditor.d.ts +1 -1
- package/dist/types/src/components/MarkdownEditor.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +1 -4
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/types/document.d.ts +2 -0
- package/dist/types/src/types/document.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +4 -5
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/package.json +31 -31
- package/src/MarkdownPlugin.tsx +9 -8
- package/src/components/DocumentEditor.tsx +3 -1
- package/src/components/MarkdownEditor.tsx +9 -5
- package/src/meta.tsx +1 -5
- package/src/types/types.ts +5 -4
- package/dist/lib/browser/DocumentEditor-PXYEHGQA.mjs +0 -11
- package/dist/lib/browser/chunk-4GGD6YJO.mjs.map +0 -7
- package/dist/lib/browser/chunk-7W37KPH3.mjs.map +0 -7
- package/dist/lib/browser/chunk-RQLDAFNM.mjs.map +0 -7
- package/dist/lib/node/DocumentEditor-DZOOGCBM.cjs.map +0 -7
- package/dist/lib/node/MarkdownEditor-IUHHJ532.cjs.map +0 -7
- package/dist/lib/node/chunk-DFWSVQEA.cjs.map +0 -7
- package/dist/lib/node/chunk-EZTJSCMZ.cjs.map +0 -7
- package/dist/lib/node/chunk-GRU6YP3J.cjs.map +0 -7
- package/dist/lib/node/chunk-TGMR2CKU.cjs.map +0 -7
- package/dist/lib/node-esm/DocumentCard-2P4EICBA.mjs +0 -11
- package/dist/lib/node-esm/DocumentEditor-PXYEHGQA.mjs +0 -11
- package/dist/lib/node-esm/MarkdownEditor-IE2ISQQF.mjs +0 -10
- package/dist/lib/node-esm/chunk-4GGD6YJO.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5FP6MXCU.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-7W37KPH3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-RQLDAFNM.mjs.map +0 -7
- /package/dist/lib/browser/{DocumentCard-2P4EICBA.mjs.map → DocumentCard-RKENHCNE.mjs.map} +0 -0
- /package/dist/lib/browser/{DocumentEditor-PXYEHGQA.mjs.map → DocumentEditor-FAXQRX37.mjs.map} +0 -0
- /package/dist/lib/browser/{MarkdownEditor-IE2ISQQF.mjs.map → MarkdownEditor-5EUT7P66.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-RL7QY322.mjs.map → chunk-AFWT6Z7B.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-Q4ZSCBQE.cjs.map → chunk-5ZWOR7JF.cjs.map} +0 -0
- /package/dist/lib/node-esm/{DocumentCard-2P4EICBA.mjs.map → DocumentCard-RHVY4Z6L.mjs.map} +0 -0
- /package/dist/lib/node-esm/{DocumentEditor-PXYEHGQA.mjs.map → DocumentEditor-JBVVPEYE.mjs.map} +0 -0
- /package/dist/lib/node-esm/{MarkdownEditor-IE2ISQQF.mjs.map → MarkdownEditor-OS7YG6MA.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-markdown/src/extensions.tsx":{"bytes":16961,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/meta.tsx":{"bytes":2114,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx":{"bytes":11958,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-card","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/extensions.tsx","kind":"import-statement","original":"../extensions"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx":{"bytes":6483,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/hooks/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx","kind":"import-statement","original":"./useSelectCurrentThread"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx":{"bytes":24697,"imports":[{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/document.ts":{"bytes":2402,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/types.ts":{"bytes":4249,"imports":[{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/index.ts":{"bytes":591,"imports":[{"path":"packages/plugins/plugin-markdown/src/types/document.ts","kind":"import-statement","original":"./document"},{"path":"packages/plugins/plugin-markdown/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-markdown/src/util.tsx":{"bytes":6329,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx":{"bytes":13847,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"import-statement","original":"./MarkdownEditor"},{"path":"packages/plugins/plugin-markdown/src/extensions.tsx","kind":"import-statement","original":"../extensions"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx":{"bytes":5241,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/Layout.tsx":{"bytes":3294,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx":{"bytes":12506,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/index.ts":{"bytes":2441,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","kind":"import-statement","original":"./DocumentCard"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","kind":"import-statement","original":"./DocumentEditor"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"import-statement","original":"./MarkdownEditor"},{"path":"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx","kind":"import-statement","original":"./HeadingMenu"},{"path":"packages/plugins/plugin-markdown/src/components/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx","kind":"import-statement","original":"./MarkdownSettings"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","kind":"dynamic-import","original":"./DocumentCard"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","kind":"dynamic-import","original":"./DocumentEditor"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"dynamic-import","original":"./MarkdownEditor"}],"format":"esm"},"packages/plugins/plugin-markdown/src/translations.ts":{"bytes":4765,"imports":[{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx":{"bytes":51210,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-markdown/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-markdown/src/index.ts":{"bytes":969,"imports":[{"path":"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx","kind":"import-statement","original":"./MarkdownPlugin"},{"path":"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx","kind":"import-statement","original":"./MarkdownPlugin"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-markdown/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":36255},"packages/plugins/plugin-markdown/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RL7QY322.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-5FP6MXCU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-2P4EICBA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-PXYEHGQA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-IE2ISQQF.mjs","kind":"dynamic-import"}],"exports":["DocumentType","MarkdownAction","MarkdownPlugin","TextType","default","getFallbackName","isMarkdownProperties","markdownExtensionPlugins","serializer","setFallbackName"],"entryPoint":"packages/plugins/plugin-markdown/src/index.ts","inputs":{"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx":{"bytesInOutput":13380},"packages/plugins/plugin-markdown/src/components/index.ts":{"bytesInOutput":267},"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx":{"bytesInOutput":258},"packages/plugins/plugin-markdown/src/components/Layout.tsx":{"bytesInOutput":196},"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx":{"bytesInOutput":3477},"packages/plugins/plugin-markdown/src/translations.ts":{"bytesInOutput":1463},"packages/plugins/plugin-markdown/src/index.ts":{"bytesInOutput":34}},"bytes":20263},"packages/plugins/plugin-markdown/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"}],"exports":["MARKDOWN_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-markdown/src/meta.tsx","inputs":{},"bytes":165},"packages/plugins/plugin-markdown/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"}],"exports":["DocumentType","MarkdownAction","TextType"],"entryPoint":"packages/plugins/plugin-markdown/src/types/index.ts","inputs":{},"bytes":210},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-2P4EICBA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-2P4EICBA.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RL7QY322.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"}],"exports":["DocumentCard","default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","inputs":{},"bytes":254},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RL7QY322.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6298},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RL7QY322.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-card","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["DocumentCard","DocumentCard_default"],"inputs":{"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx":{"bytesInOutput":2854}},"bytes":3140},"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-IE2ISQQF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-IE2ISQQF.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"}],"exports":["MarkdownEditor","default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","inputs":{},"bytes":233},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-PXYEHGQA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-PXYEHGQA.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-5FP6MXCU.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","inputs":{},"bytes":290},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-5FP6MXCU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10577},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-5FP6MXCU.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["DocumentEditor_default","getFallbackName","isMarkdownProperties","markdownExtensionPlugins","serializer","setFallbackName"],"inputs":{"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx":{"bytesInOutput":2923},"packages/plugins/plugin-markdown/src/util.tsx":{"bytesInOutput":1246}},"bytes":4742},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3917},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-7W37KPH3.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["DocumentType","MarkdownAction","TextType"],"inputs":{"packages/plugins/plugin-markdown/src/types/document.ts":{"bytesInOutput":499},"packages/plugins/plugin-markdown/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-markdown/src/types/types.ts":{"bytesInOutput":340}},"bytes":1114},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8511},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-354DCID5.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["createBaseExtensions"],"inputs":{"packages/plugins/plugin-markdown/src/extensions.tsx":{"bytesInOutput":4032}},"bytes":4167},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16094},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RQLDAFNM.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs","kind":"import-statement"},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["MarkdownEditor","MarkdownEditor_default"],"inputs":{"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx":{"bytesInOutput":5978},"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx":{"bytesInOutput":1356},"packages/plugins/plugin-markdown/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":7708},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1044},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-4GGD6YJO.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["MARKDOWN_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-markdown/src/meta.tsx":{"bytesInOutput":501}},"bytes":641}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-markdown/src/extensions.tsx":{"bytes":16961,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/meta.tsx":{"bytes":1551,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx":{"bytes":11958,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-card","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/extensions.tsx","kind":"import-statement","original":"../extensions"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx":{"bytes":6483,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/hooks/index.ts":{"bytes":544,"imports":[{"path":"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx","kind":"import-statement","original":"./useSelectCurrentThread"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx":{"bytes":24979,"imports":[{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/document.ts":{"bytes":2402,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/types.ts":{"bytes":4373,"imports":[{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/types/index.ts":{"bytes":591,"imports":[{"path":"packages/plugins/plugin-markdown/src/types/document.ts","kind":"import-statement","original":"./document"},{"path":"packages/plugins/plugin-markdown/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-markdown/src/util.tsx":{"bytes":6329,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx":{"bytes":13973,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"import-statement","original":"./MarkdownEditor"},{"path":"packages/plugins/plugin-markdown/src/extensions.tsx","kind":"import-statement","original":"../extensions"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx":{"bytes":5241,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/Layout.tsx":{"bytes":3294,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx":{"bytes":12506,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/components/index.ts":{"bytes":2441,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","kind":"import-statement","original":"./DocumentCard"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","kind":"import-statement","original":"./DocumentEditor"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"import-statement","original":"./MarkdownEditor"},{"path":"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx","kind":"import-statement","original":"./HeadingMenu"},{"path":"packages/plugins/plugin-markdown/src/components/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx","kind":"import-statement","original":"./MarkdownSettings"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","kind":"dynamic-import","original":"./DocumentCard"},{"path":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","kind":"dynamic-import","original":"./DocumentEditor"},{"path":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","kind":"dynamic-import","original":"./MarkdownEditor"}],"format":"esm"},"packages/plugins/plugin-markdown/src/translations.ts":{"bytes":4765,"imports":[{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx":{"bytes":50882,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-markdown/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-markdown/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-markdown/src/index.ts":{"bytes":969,"imports":[{"path":"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx","kind":"import-statement","original":"./MarkdownPlugin"},{"path":"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx","kind":"import-statement","original":"./MarkdownPlugin"},{"path":"packages/plugins/plugin-markdown/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-markdown/src/util.tsx","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-markdown/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":36084},"packages/plugins/plugin-markdown/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-OE3CMI5X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-UG4MIBCA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-RHVY4Z6L.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-JBVVPEYE.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-OS7YG6MA.mjs","kind":"dynamic-import"}],"exports":["DocumentType","MarkdownAction","MarkdownPlugin","TextType","default","getFallbackName","isMarkdownProperties","markdownExtensionPlugins","serializer","setFallbackName"],"entryPoint":"packages/plugins/plugin-markdown/src/index.ts","inputs":{"packages/plugins/plugin-markdown/src/MarkdownPlugin.tsx":{"bytesInOutput":13084},"packages/plugins/plugin-markdown/src/components/index.ts":{"bytesInOutput":267},"packages/plugins/plugin-markdown/src/components/HeadingMenu.tsx":{"bytesInOutput":258},"packages/plugins/plugin-markdown/src/components/Layout.tsx":{"bytesInOutput":196},"packages/plugins/plugin-markdown/src/components/MarkdownSettings.tsx":{"bytesInOutput":3477},"packages/plugins/plugin-markdown/src/translations.ts":{"bytesInOutput":1463},"packages/plugins/plugin-markdown/src/index.ts":{"bytesInOutput":34}},"bytes":20059},"packages/plugins/plugin-markdown/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"}],"exports":["MARKDOWN_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-markdown/src/meta.tsx","inputs":{},"bytes":257},"packages/plugins/plugin-markdown/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"}],"exports":["DocumentType","MarkdownAction","TextType"],"entryPoint":"packages/plugins/plugin-markdown/src/types/index.ts","inputs":{},"bytes":302},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-RHVY4Z6L.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentCard-RHVY4Z6L.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-OE3CMI5X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"}],"exports":["DocumentCard","default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx","inputs":{},"bytes":346},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-OE3CMI5X.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6299},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-OE3CMI5X.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-card","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["DocumentCard","DocumentCard_default"],"inputs":{"packages/plugins/plugin-markdown/src/components/DocumentCard.tsx":{"bytesInOutput":2854}},"bytes":3232},"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-OS7YG6MA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/MarkdownEditor-OS7YG6MA.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"}],"exports":["MarkdownEditor","default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx","inputs":{},"bytes":325},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-JBVVPEYE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-markdown/dist/lib/node-esm/DocumentEditor-JBVVPEYE.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-UG4MIBCA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx","inputs":{},"bytes":382},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-UG4MIBCA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10637},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-UG4MIBCA.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["DocumentEditor_default","getFallbackName","isMarkdownProperties","markdownExtensionPlugins","serializer","setFallbackName"],"inputs":{"packages/plugins/plugin-markdown/src/components/DocumentEditor.tsx":{"bytesInOutput":2951},"packages/plugins/plugin-markdown/src/util.tsx":{"bytesInOutput":1246}},"bytes":4862},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4008},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-W525OVFX.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["DocumentType","MarkdownAction","TextType"],"inputs":{"packages/plugins/plugin-markdown/src/types/document.ts":{"bytesInOutput":499},"packages/plugins/plugin-markdown/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-markdown/src/types/types.ts":{"bytesInOutput":340}},"bytes":1206},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8513},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-RO5FEVW6.mjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["createBaseExtensions"],"inputs":{"packages/plugins/plugin-markdown/src/extensions.tsx":{"bytesInOutput":4032}},"bytes":4260},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16247},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-QARGBUBS.mjs":{"imports":[{"path":"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs","kind":"import-statement"},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"exports":["MarkdownEditor","MarkdownEditor_default"],"inputs":{"packages/plugins/plugin-markdown/src/components/MarkdownEditor.tsx":{"bytesInOutput":6076},"packages/plugins/plugin-markdown/src/hooks/useSelectCurrentThread.tsx":{"bytesInOutput":1356},"packages/plugins/plugin-markdown/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":7898},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":738},"packages/plugins/plugin-markdown/dist/lib/node-esm/chunk-2BGTVWHN.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["MARKDOWN_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-markdown/src/meta.tsx":{"bytesInOutput":340}},"bytes":573}}}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
DocumentType,
|
|
3
4
|
MarkdownAction,
|
|
4
5
|
TextType
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-W525OVFX.mjs";
|
|
7
|
+
import "../chunk-2BGTVWHN.mjs";
|
|
7
8
|
export {
|
|
8
9
|
DocumentType,
|
|
9
10
|
MarkdownAction,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownPlugin.d.ts","sourceRoot":"","sources":["../../../src/MarkdownPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"MarkdownPlugin.d.ts","sourceRoot":"","sources":["../../../src/MarkdownPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AA0B7B,OAAO,EACL,KAAK,sBAAsB,EAI5B,MAAM,SAAS,CAAC;AAiBjB,eAAO,MAAM,cAAc,QAAO,gBAAgB,CAAC,sBAAsB,CAuTxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/DocumentEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGnG,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,qBAAqB,CAAC;CACjC,GAAG,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC,GAC1E,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;AAElD;;GAEG;AACH,QAAA,MAAM,cAAc,wEAMjB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"DocumentEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/DocumentEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAclD,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,KAAK,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGnG,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,qBAAqB,CAAC;CACjC,GAAG,IAAI,CAAC,mBAAmB,EAAE,IAAI,GAAG,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC,GAC1E,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;AAElD;;GAEG;AACH,QAAA,MAAM,cAAc,wEAMjB,mBAAmB,sBAgGrB,CAAC;AAEF,eAAe,cAAc,CAAC;AAE9B,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type FileInfo, type LayoutCoordinate } from '@dxos/app-framework';
|
|
3
3
|
import { type EditorViewMode, type EditorInputMode, type UseTextEditorProps } from '@dxos/react-ui-editor';
|
|
4
|
-
import type
|
|
4
|
+
import { type MarkdownPluginState } from '../types';
|
|
5
5
|
export type MarkdownEditorProps = {
|
|
6
6
|
id: string;
|
|
7
7
|
coordinate?: LayoutCoordinate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,KAAK,QAAQ,EAEb,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAcxB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,KAAK,QAAQ,EAEb,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAcxB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAUpD,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,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,UAAU,GAAG,WAAW,GAAG,YAAY,CAAC,GACpF,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAE3D,eAAO,MAAM,cAAc,uJAaxB,mBAAmB,sBAsJrB,CAAC;AAaF,eAAe,cAAc,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { type IconProps } from '@phosphor-icons/react';
|
|
2
|
-
import React from 'react';
|
|
3
1
|
export declare const MARKDOWN_PLUGIN = "dxos.org/plugin/markdown";
|
|
4
2
|
declare const _default: {
|
|
5
3
|
id: string;
|
|
@@ -8,8 +6,7 @@ declare const _default: {
|
|
|
8
6
|
description?: string;
|
|
9
7
|
homePage?: string;
|
|
10
8
|
tags?: string[];
|
|
11
|
-
|
|
12
|
-
iconSymbol?: string;
|
|
9
|
+
icon?: string;
|
|
13
10
|
};
|
|
14
11
|
export default _default;
|
|
15
12
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,6BAA6B,CAAC;;;;;;;;;;AAE1D,wBAMG"}
|
|
@@ -23,6 +23,7 @@ declare const DocumentType_base: import("@dxos/echo-schema").AbstractTypedObject
|
|
|
23
23
|
messages: import("@dxos/echo-schema").Ref<{
|
|
24
24
|
text: string;
|
|
25
25
|
timestamp: string;
|
|
26
|
+
state?: import("@dxos/plugin-space/types").MessageState | undefined;
|
|
26
27
|
sender: {
|
|
27
28
|
name?: string | undefined;
|
|
28
29
|
contact?: import("@dxos/echo-schema").Ref<{
|
|
@@ -65,6 +66,7 @@ declare const DocumentType_base: import("@dxos/echo-schema").AbstractTypedObject
|
|
|
65
66
|
messages: import("@dxos/echo-schema").Ref<{
|
|
66
67
|
text: string;
|
|
67
68
|
timestamp: string;
|
|
69
|
+
state?: import("@dxos/plugin-space/types").MessageState | undefined;
|
|
68
70
|
sender: {
|
|
69
71
|
name?: string | undefined;
|
|
70
72
|
contact?: import("@dxos/echo-schema").Ref<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../src/types/document.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;;;;;;;;AAGxD,qBAAa,QAAS,SAAQ,aAE5B;CAAG
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../../src/types/document.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,GAAG,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;;;;;;;;AAGxD,qBAAa,QAAS,SAAQ,aAE5B;CAAG;;;;;;;;;;;;;;;;iBAQk4F,CAAC;;oBAA8D,CAAC;uBAAyC,CAAC;wBAAwD,CAAC;;;;;;;;2BAAsP,CAAC;qBAAuC,CAAC;;iBAA8C,CAAC;sBAA4E,CAAC;;;mBAAwE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;iBAAvoB,CAAC;;oBAA8D,CAAC;uBAAyC,CAAC;wBAAwD,CAAC;;;;;;;;2BAAsP,CAAC;qBAAuC,CAAC;;iBAA8C,CAAC;sBAA4E,CAAC;;;mBAAwE,CAAC;;;;;;;;AAN9gH,qBAAa,YAAa,SAAQ,iBAKhC;CAAG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GraphBuilderProvides, GraphSerializerProvides, IntentResolverProvides, MetadataRecordsProvides, SettingsProvides, SurfaceProvides, TranslationsProvides } from '@dxos/app-framework';
|
|
2
2
|
import { type SchemaProvides } from '@dxos/plugin-client';
|
|
3
|
+
import { type SpaceInitProvides } from '@dxos/plugin-space';
|
|
3
4
|
import { type Extension, type EditorInputMode, type EditorViewMode } from '@dxos/react-ui-editor';
|
|
4
5
|
import { type DocumentType } from './document';
|
|
5
6
|
export declare enum MarkdownAction {
|
|
@@ -9,7 +10,7 @@ export declare enum MarkdownAction {
|
|
|
9
10
|
export type MarkdownProperties = Record<string, any>;
|
|
10
11
|
export type ExtensionsProvider = (props: {
|
|
11
12
|
document?: DocumentType;
|
|
12
|
-
}) => Extension[];
|
|
13
|
+
}) => Extension[] | undefined;
|
|
13
14
|
export type OnChange = (text: string) => void;
|
|
14
15
|
export type MarkdownExtensionProvides = {
|
|
15
16
|
markdown: {
|
|
@@ -23,9 +24,7 @@ type StackProvides = {
|
|
|
23
24
|
};
|
|
24
25
|
export type MarkdownPluginState = {
|
|
25
26
|
extensionProviders: NonNullable<ExtensionsProvider>[];
|
|
26
|
-
viewMode:
|
|
27
|
-
[key: string]: EditorViewMode;
|
|
28
|
-
};
|
|
27
|
+
viewMode: Record<string, EditorViewMode>;
|
|
29
28
|
};
|
|
30
29
|
export type MarkdownSettingsProps = {
|
|
31
30
|
defaultViewMode: EditorViewMode;
|
|
@@ -43,6 +42,6 @@ type ThreadProvides<T> = {
|
|
|
43
42
|
createSort: (obj: T) => (anchorA: string | undefined, anchorB: string | undefined) => number;
|
|
44
43
|
};
|
|
45
44
|
};
|
|
46
|
-
export type MarkdownPluginProvides = SurfaceProvides & IntentResolverProvides & GraphBuilderProvides & GraphSerializerProvides & MetadataRecordsProvides & SettingsProvides<MarkdownSettingsProps> & TranslationsProvides & SchemaProvides & StackProvides & ThreadProvides<DocumentType>;
|
|
45
|
+
export type MarkdownPluginProvides = SurfaceProvides & IntentResolverProvides & GraphBuilderProvides & GraphSerializerProvides & MetadataRecordsProvides & SettingsProvides<MarkdownSettingsProps> & TranslationsProvides & SchemaProvides & SpaceInitProvides & StackProvides & ThreadProvides<DocumentType>;
|
|
47
46
|
export {};
|
|
48
47
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAElG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,oBAAY,cAAc;IACxB,MAAM,2CAA8B;IACpC,aAAa,kDAAqC;CACnD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,YAAY,CAAA;CAAE,KAAK,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAElG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAK/C,oBAAY,cAAc;IACxB,MAAM,2CAA8B;IACpC,aAAa,kDAAqC;CACnD;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,YAAY,CAAA;CAAE,KAAK,SAAS,EAAE,GAAG,SAAS,CAAC;AAEjG,MAAM,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;AAE9C,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE;QACR,UAAU,EAAE,kBAAkB,CAAC;KAChC,CAAC;CACH,CAAC;AAGF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE;QACL,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;KAClC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAEhC,kBAAkB,EAAE,WAAW,CAAC,kBAAkB,CAAC,EAAE,CAAC;IAItD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,EAAE,cAAc,CAAC;IAChC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAGF,KAAK,cAAc,CAAC,CAAC,IAAI;IACvB,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,IAAI,CAAC,CAAC;QAClC,UAAU,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,CAAC;KAC9F,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,eAAe,GAClD,sBAAsB,GACtB,oBAAoB,GACpB,uBAAuB,GACvB,uBAAuB,GACvB,gBAAgB,CAAC,qBAAqB,CAAC,GACvC,oBAAoB,GACpB,cAAc,GACd,iBAAiB,GACjB,aAAa,GACb,cAAc,CAAC,YAAY,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-markdown",
|
|
3
|
-
"version": "0.6.12-main.
|
|
3
|
+
"version": "0.6.12-main.78ddbdf",
|
|
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",
|
|
@@ -51,28 +51,28 @@
|
|
|
51
51
|
"@codemirror/search": "^6.5.6",
|
|
52
52
|
"@codemirror/view": "^6.29.1",
|
|
53
53
|
"@preact/signals-core": "^1.6.0",
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/
|
|
61
|
-
"@dxos/plugin-
|
|
62
|
-
"@dxos/plugin-
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/plugin-settings": "0.6.12-main.
|
|
65
|
-
"@dxos/plugin-space": "0.6.12-main.
|
|
66
|
-
"@dxos/plugin-theme": "0.6.12-main.
|
|
67
|
-
"@dxos/react-
|
|
68
|
-
"@dxos/react-
|
|
69
|
-
"@dxos/react-
|
|
70
|
-
"@dxos/react-ui-
|
|
71
|
-
"@dxos/react-ui-
|
|
72
|
-
"@dxos/react-ui-editor": "0.6.12-main.
|
|
73
|
-
"@dxos/react-ui-mosaic": "0.6.12-main.
|
|
74
|
-
"@dxos/react-ui-stack": "0.6.12-main.
|
|
75
|
-
"@dxos/util": "0.6.12-main.
|
|
54
|
+
"@dxos/async": "0.6.12-main.78ddbdf",
|
|
55
|
+
"@dxos/echo-schema": "0.6.12-main.78ddbdf",
|
|
56
|
+
"@dxos/app-framework": "0.6.12-main.78ddbdf",
|
|
57
|
+
"@dxos/invariant": "0.6.12-main.78ddbdf",
|
|
58
|
+
"@dxos/local-storage": "0.6.12-main.78ddbdf",
|
|
59
|
+
"@dxos/log": "0.6.12-main.78ddbdf",
|
|
60
|
+
"@dxos/keys": "0.6.12-main.78ddbdf",
|
|
61
|
+
"@dxos/plugin-attention": "0.6.12-main.78ddbdf",
|
|
62
|
+
"@dxos/plugin-client": "0.6.12-main.78ddbdf",
|
|
63
|
+
"@dxos/plugin-graph": "0.6.12-main.78ddbdf",
|
|
64
|
+
"@dxos/plugin-settings": "0.6.12-main.78ddbdf",
|
|
65
|
+
"@dxos/plugin-space": "0.6.12-main.78ddbdf",
|
|
66
|
+
"@dxos/plugin-theme": "0.6.12-main.78ddbdf",
|
|
67
|
+
"@dxos/react-client": "0.6.12-main.78ddbdf",
|
|
68
|
+
"@dxos/react-ui-attention": "0.6.12-main.78ddbdf",
|
|
69
|
+
"@dxos/react-hooks": "0.6.12-main.78ddbdf",
|
|
70
|
+
"@dxos/react-ui-deck": "0.6.12-main.78ddbdf",
|
|
71
|
+
"@dxos/react-ui-card": "0.6.12-main.78ddbdf",
|
|
72
|
+
"@dxos/react-ui-editor": "0.6.12-main.78ddbdf",
|
|
73
|
+
"@dxos/react-ui-mosaic": "0.6.12-main.78ddbdf",
|
|
74
|
+
"@dxos/react-ui-stack": "0.6.12-main.78ddbdf",
|
|
75
|
+
"@dxos/util": "0.6.12-main.78ddbdf"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -81,17 +81,17 @@
|
|
|
81
81
|
"react": "~18.2.0",
|
|
82
82
|
"react-dom": "~18.2.0",
|
|
83
83
|
"vite": "5.4.7",
|
|
84
|
-
"@dxos/random": "0.6.12-main.
|
|
85
|
-
"@dxos/react-ui-theme": "0.6.12-main.
|
|
86
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
87
|
-
"@dxos/storybook-utils": "0.6.12-main.
|
|
84
|
+
"@dxos/random": "0.6.12-main.78ddbdf",
|
|
85
|
+
"@dxos/react-ui-theme": "0.6.12-main.78ddbdf",
|
|
86
|
+
"@dxos/react-ui": "0.6.12-main.78ddbdf",
|
|
87
|
+
"@dxos/storybook-utils": "0.6.12-main.78ddbdf"
|
|
88
88
|
},
|
|
89
89
|
"optionalDependencies": {
|
|
90
90
|
"@phosphor-icons/react": "^2.1.5",
|
|
91
|
-
"react": "
|
|
92
|
-
"react-dom": "
|
|
93
|
-
"@dxos/react-ui
|
|
94
|
-
"@dxos/react-ui": "0.6.12-main.
|
|
91
|
+
"react": "~18.2.0",
|
|
92
|
+
"react-dom": "~18.2.0",
|
|
93
|
+
"@dxos/react-ui": "0.6.12-main.78ddbdf",
|
|
94
|
+
"@dxos/react-ui-theme": "0.6.12-main.78ddbdf"
|
|
95
95
|
},
|
|
96
96
|
"publishConfig": {
|
|
97
97
|
"access": "public"
|
package/src/MarkdownPlugin.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { TextAa } from '@phosphor-icons/react';
|
|
6
6
|
import React, { type Ref } from 'react';
|
|
7
7
|
|
|
8
8
|
import {
|
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
} from '@dxos/app-framework';
|
|
17
17
|
import { create } from '@dxos/echo-schema';
|
|
18
18
|
import { LocalStorageStore } from '@dxos/local-storage';
|
|
19
|
-
import { log } from '@dxos/log';
|
|
20
19
|
import { parseClientPlugin } from '@dxos/plugin-client';
|
|
21
20
|
import { type ActionGroup, createExtension, isActionGroup } from '@dxos/plugin-graph';
|
|
22
21
|
import { SpaceAction } from '@dxos/plugin-space';
|
|
@@ -119,8 +118,7 @@ export const MarkdownPlugin = (): PluginDefinition<MarkdownPluginProvides> => {
|
|
|
119
118
|
[DocumentType.typename]: {
|
|
120
119
|
label: (object: any) => (object instanceof DocumentType ? object.name ?? object.fallbackName : undefined),
|
|
121
120
|
placeholder: ['document title placeholder', { ns: MARKDOWN_PLUGIN }],
|
|
122
|
-
icon:
|
|
123
|
-
iconSymbol: 'ph--text-aa--regular',
|
|
121
|
+
icon: 'ph--text-aa--regular',
|
|
124
122
|
graphProps: {
|
|
125
123
|
managesAutofocus: true,
|
|
126
124
|
},
|
|
@@ -134,6 +132,12 @@ export const MarkdownPlugin = (): PluginDefinition<MarkdownPluginProvides> => {
|
|
|
134
132
|
echo: {
|
|
135
133
|
schema: [DocumentType, TextType],
|
|
136
134
|
},
|
|
135
|
+
space: {
|
|
136
|
+
onSpaceCreate: {
|
|
137
|
+
label: ['create document label', { ns: MARKDOWN_PLUGIN }],
|
|
138
|
+
action: MarkdownAction.CREATE,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
137
141
|
graph: {
|
|
138
142
|
builder: (plugins) => {
|
|
139
143
|
const client = resolvePlugin(plugins, parseClientPlugin)?.provides.client;
|
|
@@ -167,8 +171,7 @@ export const MarkdownPlugin = (): PluginDefinition<MarkdownPluginProvides> => {
|
|
|
167
171
|
},
|
|
168
172
|
properties: {
|
|
169
173
|
label: ['create document label', { ns: MARKDOWN_PLUGIN }],
|
|
170
|
-
icon:
|
|
171
|
-
iconSymbol: 'ph--text-aa--regular',
|
|
174
|
+
icon: 'ph--text-aa--regular',
|
|
172
175
|
testId: 'markdownPlugin.createObject',
|
|
173
176
|
},
|
|
174
177
|
},
|
|
@@ -244,9 +247,7 @@ export const MarkdownPlugin = (): PluginDefinition<MarkdownPluginProvides> => {
|
|
|
244
247
|
predicate: (obj) => obj instanceof DocumentType,
|
|
245
248
|
createSort: (doc: DocumentType) => {
|
|
246
249
|
const accessor = doc.content ? createDocAccessor(doc.content, ['content']) : undefined;
|
|
247
|
-
|
|
248
250
|
if (!accessor) {
|
|
249
|
-
log.warn('No accessor found for document content.');
|
|
250
251
|
return (_) => 0;
|
|
251
252
|
}
|
|
252
253
|
|
|
@@ -58,7 +58,9 @@ const DocumentEditor = ({
|
|
|
58
58
|
() =>
|
|
59
59
|
extensionProviders.reduce((acc: Extension[], provider) => {
|
|
60
60
|
const provided = typeof provider === 'function' ? provider({ document: doc }) : provider;
|
|
61
|
-
|
|
61
|
+
if (provided) {
|
|
62
|
+
acc.push(...provided);
|
|
63
|
+
}
|
|
62
64
|
return acc;
|
|
63
65
|
}, []),
|
|
64
66
|
[extensionProviders],
|
|
@@ -38,11 +38,11 @@ import {
|
|
|
38
38
|
} from '@dxos/react-ui-editor';
|
|
39
39
|
import { sectionToolbarLayout } from '@dxos/react-ui-stack';
|
|
40
40
|
import { textBlockWidth, focusRing, mx } from '@dxos/react-ui-theme';
|
|
41
|
-
import { nonNullable } from '@dxos/util';
|
|
41
|
+
import { isNotFalsy, nonNullable } from '@dxos/util';
|
|
42
42
|
|
|
43
43
|
import { useSelectCurrentThread } from '../hooks';
|
|
44
44
|
import { MARKDOWN_PLUGIN } from '../meta';
|
|
45
|
-
import type
|
|
45
|
+
import { type MarkdownPluginState } from '../types';
|
|
46
46
|
|
|
47
47
|
// TODO(Zan): Factor into a shared location.
|
|
48
48
|
const attentionFragment = mx(
|
|
@@ -87,7 +87,11 @@ export const MarkdownEditor = ({
|
|
|
87
87
|
const isDirectlyAttended = useIsDirectlyAttended(id);
|
|
88
88
|
|
|
89
89
|
// Extensions from other plugins.
|
|
90
|
-
const providerExtensions = useMemo(
|
|
90
|
+
const providerExtensions = useMemo(
|
|
91
|
+
// TODO(burdon): Must pass object to provider.
|
|
92
|
+
() => extensionProviders?.flatMap((provider) => provider({})).filter(nonNullable),
|
|
93
|
+
[extensionProviders],
|
|
94
|
+
);
|
|
91
95
|
|
|
92
96
|
// TODO(Zan): Move these into thread plugin as well?
|
|
93
97
|
const [commentsState, commentObserver] = useCommentState();
|
|
@@ -128,10 +132,10 @@ export const MarkdownEditor = ({
|
|
|
128
132
|
slots: { content: { className: editorContent } },
|
|
129
133
|
}),
|
|
130
134
|
editorGutter,
|
|
131
|
-
role !== 'section' && onFileUpload
|
|
135
|
+
role !== 'section' && onFileUpload && dropFile({ onDrop: handleDrop }),
|
|
132
136
|
providerExtensions,
|
|
133
137
|
extensions,
|
|
134
|
-
].filter(
|
|
138
|
+
].filter(isNotFalsy),
|
|
135
139
|
...(role !== 'section' && {
|
|
136
140
|
id,
|
|
137
141
|
scrollTo,
|
package/src/meta.tsx
CHANGED
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { type IconProps, TextAa } from '@phosphor-icons/react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
|
|
8
5
|
import { pluginMeta } from '@dxos/app-framework';
|
|
9
6
|
|
|
10
7
|
export const MARKDOWN_PLUGIN = 'dxos.org/plugin/markdown';
|
|
@@ -14,6 +11,5 @@ export default pluginMeta({
|
|
|
14
11
|
name: 'Editor',
|
|
15
12
|
description: 'Markdown text editor.',
|
|
16
13
|
homePage: 'https://github.com/dxos/dxos/tree/main/packages/apps/plugins/plugin-markdown',
|
|
17
|
-
|
|
18
|
-
iconSymbol: 'ph--text-aa--regular',
|
|
14
|
+
icon: 'ph--text-aa--regular',
|
|
19
15
|
});
|
package/src/types/types.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type {
|
|
|
12
12
|
TranslationsProvides,
|
|
13
13
|
} from '@dxos/app-framework';
|
|
14
14
|
import { type SchemaProvides } from '@dxos/plugin-client';
|
|
15
|
+
import { type SpaceInitProvides } from '@dxos/plugin-space';
|
|
15
16
|
import { type Extension, type EditorInputMode, type EditorViewMode } from '@dxos/react-ui-editor';
|
|
16
17
|
|
|
17
18
|
import { type DocumentType } from './document';
|
|
@@ -26,7 +27,7 @@ export enum MarkdownAction {
|
|
|
26
27
|
|
|
27
28
|
export type MarkdownProperties = Record<string, any>;
|
|
28
29
|
|
|
29
|
-
export type ExtensionsProvider = (props: { document?: DocumentType }) => Extension[];
|
|
30
|
+
export type ExtensionsProvider = (props: { document?: DocumentType }) => Extension[] | undefined;
|
|
30
31
|
|
|
31
32
|
export type OnChange = (text: string) => void;
|
|
32
33
|
|
|
@@ -49,7 +50,7 @@ export type MarkdownPluginState = {
|
|
|
49
50
|
|
|
50
51
|
// TODO(burdon): Extend view mode per document to include scroll position, etc.
|
|
51
52
|
// View mode per document.
|
|
52
|
-
viewMode:
|
|
53
|
+
viewMode: Record<string, EditorViewMode>;
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
export type MarkdownSettingsProps = {
|
|
@@ -64,8 +65,7 @@ export type MarkdownSettingsProps = {
|
|
|
64
65
|
folding?: boolean;
|
|
65
66
|
};
|
|
66
67
|
|
|
67
|
-
// TODO(Zan): Move this to the plugin-space plugin or another common location
|
|
68
|
-
// when we implement comments in sheets.
|
|
68
|
+
// TODO(Zan): Move this to the plugin-space plugin or another common location when we implement comments in sheets.
|
|
69
69
|
type ThreadProvides<T> = {
|
|
70
70
|
thread: {
|
|
71
71
|
predicate: (obj: any) => obj is T;
|
|
@@ -81,5 +81,6 @@ export type MarkdownPluginProvides = SurfaceProvides &
|
|
|
81
81
|
SettingsProvides<MarkdownSettingsProps> &
|
|
82
82
|
TranslationsProvides &
|
|
83
83
|
SchemaProvides &
|
|
84
|
+
SpaceInitProvides &
|
|
84
85
|
StackProvides &
|
|
85
86
|
ThreadProvides<DocumentType>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DocumentEditor_default
|
|
3
|
-
} from "./chunk-5FP6MXCU.mjs";
|
|
4
|
-
import "./chunk-7W37KPH3.mjs";
|
|
5
|
-
import "./chunk-354DCID5.mjs";
|
|
6
|
-
import "./chunk-RQLDAFNM.mjs";
|
|
7
|
-
import "./chunk-4GGD6YJO.mjs";
|
|
8
|
-
export {
|
|
9
|
-
DocumentEditor_default as default
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=DocumentEditor-PXYEHGQA.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type IconProps, TextAa } from '@phosphor-icons/react';\nimport React from 'react';\n\nimport { pluginMeta } from '@dxos/app-framework';\n\nexport const MARKDOWN_PLUGIN = 'dxos.org/plugin/markdown';\n\nexport default pluginMeta({\n id: MARKDOWN_PLUGIN,\n name: 'Editor',\n description: 'Markdown text editor.',\n homePage: 'https://github.com/dxos/dxos/tree/main/packages/apps/plugins/plugin-markdown',\n iconComponent: (props: IconProps) => <TextAa {...props} />,\n iconSymbol: 'ph--text-aa--regular',\n});\n"],
|
|
5
|
-
"mappings": ";AAIA,SAAyBA,cAAc;AACvC,OAAOC,WAAW;AAElB,SAASC,kBAAkB;AAEpB,IAAMC,kBAAkB;AAE/B,IAAA,eAAeC,WAAW;EACxBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,UAAU;EACVC,eAAe,CAACC,UAAqB,sBAAA,cAACC,QAAWD,KAAAA;EACjDE,YAAY;AACd,CAAA;",
|
|
6
|
-
"names": ["TextAa", "React", "pluginMeta", "MARKDOWN_PLUGIN", "pluginMeta", "id", "name", "description", "homePage", "iconComponent", "props", "TextAa", "iconSymbol"]
|
|
7
|
-
}
|