@dxos/react-ui-editor 0.8.4-main.69d29f4 → 0.8.4-main.6fa680abb7

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 (70) hide show
  1. package/dist/lib/browser/index.mjs +100 -79
  2. package/dist/lib/browser/index.mjs.map +3 -3
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/node-esm/index.mjs +100 -79
  5. package/dist/lib/node-esm/index.mjs.map +3 -3
  6. package/dist/lib/node-esm/meta.json +1 -1
  7. package/dist/types/src/components/Editor/Editor.d.ts.map +1 -1
  8. package/dist/types/src/components/EditorMenuProvider/EditorMenuProvider.d.ts.map +1 -1
  9. package/dist/types/src/components/EditorMenuProvider/useEditorMenu.d.ts.map +1 -1
  10. package/dist/types/src/components/EditorPreviewProvider/EditorPreviewProvider.d.ts.map +1 -1
  11. package/dist/types/src/components/EditorToolbar/EditorToolbar.d.ts.map +1 -1
  12. package/dist/types/src/components/EditorToolbar/actions.d.ts +1 -0
  13. package/dist/types/src/components/EditorToolbar/actions.d.ts.map +1 -1
  14. package/dist/types/src/components/EditorToolbar/blocks.d.ts +1 -0
  15. package/dist/types/src/components/EditorToolbar/blocks.d.ts.map +1 -1
  16. package/dist/types/src/components/EditorToolbar/formatting.d.ts +1 -0
  17. package/dist/types/src/components/EditorToolbar/formatting.d.ts.map +1 -1
  18. package/dist/types/src/components/EditorToolbar/headings.d.ts +1 -0
  19. package/dist/types/src/components/EditorToolbar/headings.d.ts.map +1 -1
  20. package/dist/types/src/components/EditorToolbar/image.d.ts +1 -0
  21. package/dist/types/src/components/EditorToolbar/image.d.ts.map +1 -1
  22. package/dist/types/src/components/EditorToolbar/search.d.ts +1 -0
  23. package/dist/types/src/components/EditorToolbar/search.d.ts.map +1 -1
  24. package/dist/types/src/components/EditorToolbar/view-mode.d.ts +1 -0
  25. package/dist/types/src/components/EditorToolbar/view-mode.d.ts.map +1 -1
  26. package/dist/types/src/stories/Automerge.stories.d.ts +1 -0
  27. package/dist/types/src/stories/Automerge.stories.d.ts.map +1 -1
  28. package/dist/types/src/stories/Comments.stories.d.ts +1 -1
  29. package/dist/types/src/stories/Experimental.stories.d.ts +1 -1
  30. package/dist/types/src/stories/Markdown.stories.d.ts +1 -1
  31. package/dist/types/src/stories/Preview.stories.d.ts +1 -1
  32. package/dist/types/src/stories/Preview.stories.d.ts.map +1 -1
  33. package/dist/types/src/stories/TextEditor.stories.d.ts +1 -1
  34. package/dist/types/src/stories/components/EditorStory.d.ts +2 -2
  35. package/dist/types/src/stories/components/EditorStory.d.ts.map +1 -1
  36. package/dist/types/src/stories/components/util.d.ts +3 -3
  37. package/dist/types/src/stories/components/util.d.ts.map +1 -1
  38. package/dist/types/src/util/react.d.ts +1 -4
  39. package/dist/types/src/util/react.d.ts.map +1 -1
  40. package/dist/types/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +45 -45
  42. package/src/components/Editor/Editor.stories.tsx +1 -1
  43. package/src/components/Editor/Editor.tsx +12 -6
  44. package/src/components/EditorContent/EditorContent.tsx +1 -1
  45. package/src/components/EditorMenuProvider/EditorMenuProvider.tsx +19 -24
  46. package/src/components/EditorMenuProvider/useEditorMenu.ts +6 -0
  47. package/src/components/EditorPreviewProvider/EditorPreviewProvider.tsx +5 -7
  48. package/src/components/EditorToolbar/EditorToolbar.tsx +17 -33
  49. package/src/components/EditorToolbar/actions.ts +2 -2
  50. package/src/components/EditorToolbar/blocks.ts +2 -2
  51. package/src/components/EditorToolbar/formatting.ts +2 -2
  52. package/src/components/EditorToolbar/headings.ts +9 -9
  53. package/src/components/EditorToolbar/image.ts +2 -2
  54. package/src/components/EditorToolbar/search.ts +2 -2
  55. package/src/components/EditorToolbar/view-mode.ts +2 -2
  56. package/src/stories/Automerge.stories.tsx +8 -10
  57. package/src/stories/CommandDialog.stories.tsx +5 -5
  58. package/src/stories/Comments.stories.tsx +4 -4
  59. package/src/stories/EditorToolbar.stories.tsx +4 -4
  60. package/src/stories/Experimental.stories.tsx +3 -3
  61. package/src/stories/Markdown.stories.tsx +2 -2
  62. package/src/stories/Outliner.stories.tsx +2 -2
  63. package/src/stories/Popover.stories.tsx +3 -3
  64. package/src/stories/Preview.stories.tsx +57 -47
  65. package/src/stories/Tags.stories.tsx +5 -5
  66. package/src/stories/TextEditor.stories.tsx +2 -2
  67. package/src/stories/Theme.stories.tsx +2 -2
  68. package/src/stories/components/EditorStory.tsx +3 -5
  69. package/src/stories/components/util.tsx +19 -22
  70. package/src/util/react.tsx +2 -11
@@ -1 +1 @@
1
- {"inputs":{"src/translations.ts":{"bytes":4288,"imports":[],"format":"esm"},"src/components/EditorContent/controller.ts":{"bytes":3541,"imports":[],"format":"esm"},"src/hooks/useTextEditor.ts":{"bytes":17751,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":477,"imports":[{"path":"src/hooks/useTextEditor.ts","kind":"import-statement","original":"./useTextEditor"}],"format":"esm"},"src/components/EditorContent/EditorContent.tsx":{"bytes":8977,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/EditorContent/controller.ts","kind":"import-statement","original":"./controller"}],"format":"esm"},"src/components/EditorContent/index.ts":{"bytes":586,"imports":[{"path":"src/components/EditorContent/controller.ts","kind":"import-statement","original":"./controller"},{"path":"src/components/EditorContent/EditorContent.tsx","kind":"import-statement","original":"./EditorContent"}],"format":"esm"},"src/components/EditorMenuProvider/menu.ts":{"bytes":6114,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/popover.ts":{"bytes":30750,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/menu-presets.ts":{"bytes":12559,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"}],"format":"esm"},"src/components/EditorMenuProvider/EditorMenuProvider.tsx":{"bytes":21761,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/useEditorMenu.ts":{"bytes":18389,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorMenuProvider/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"}],"format":"esm"},"src/components/EditorMenuProvider/index.ts":{"bytes":882,"imports":[{"path":"src/components/EditorMenuProvider/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/components/EditorMenuProvider/menu-presets.ts","kind":"import-statement","original":"./menu-presets"},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"},{"path":"src/components/EditorMenuProvider/EditorMenuProvider.tsx","kind":"import-statement","original":"./EditorMenuProvider"},{"path":"src/components/EditorMenuProvider/useEditorMenu.ts","kind":"import-statement","original":"./useEditorMenu"}],"format":"esm"},"src/components/EditorToolbar/actions.ts":{"bytes":8850,"imports":[{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"src/components/EditorToolbar/blocks.ts":{"bytes":7080,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/formatting.ts":{"bytes":7401,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/headings.ts":{"bytes":7687,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/image.ts":{"bytes":2178,"imports":[{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/search.ts":{"bytes":2432,"imports":[{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/view-mode.ts":{"bytes":5982,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/EditorToolbar.tsx":{"bytes":13903,"imports":[{"path":"@effect-atom/atom-react","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-menu","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/components/EditorToolbar/blocks.ts","kind":"import-statement","original":"./blocks"},{"path":"src/components/EditorToolbar/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/components/EditorToolbar/headings.ts","kind":"import-statement","original":"./headings"},{"path":"src/components/EditorToolbar/image.ts","kind":"import-statement","original":"./image"},{"path":"src/components/EditorToolbar/search.ts","kind":"import-statement","original":"./search"},{"path":"src/components/EditorToolbar/view-mode.ts","kind":"import-statement","original":"./view-mode"}],"format":"esm"},"src/components/EditorToolbar/useEditorToolbar.ts":{"bytes":1964,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorToolbar/index.ts":{"bytes":1016,"imports":[{"path":"src/components/EditorToolbar/EditorToolbar.tsx","kind":"import-statement","original":"./EditorToolbar"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/components/EditorToolbar/useEditorToolbar.ts","kind":"import-statement","original":"./useEditorToolbar"}],"format":"esm"},"src/components/Editor/Editor.tsx":{"bytes":15022,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/EditorContent/index.ts","kind":"import-statement","original":"../EditorContent"},{"path":"src/components/EditorMenuProvider/index.ts","kind":"import-statement","original":"../EditorMenuProvider"},{"path":"src/components/EditorToolbar/index.ts","kind":"import-statement","original":"../EditorToolbar"}],"format":"esm"},"src/components/Editor/index.ts":{"bytes":470,"imports":[{"path":"src/components/Editor/Editor.tsx","kind":"import-statement","original":"./Editor"}],"format":"esm"},"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx":{"bytes":8575,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorPreviewProvider/index.ts":{"bytes":520,"imports":[{"path":"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx","kind":"import-statement","original":"./EditorPreviewProvider"}],"format":"esm"},"src/components/index.ts":{"bytes":1457,"imports":[{"path":"src/components/Editor/index.ts","kind":"import-statement","original":"./Editor"},{"path":"src/components/EditorContent/index.ts","kind":"import-statement","original":"./EditorContent"},{"path":"src/components/EditorMenuProvider/index.ts","kind":"import-statement","original":"./EditorMenuProvider"},{"path":"src/components/EditorPreviewProvider/index.ts","kind":"import-statement","original":"./EditorPreviewProvider"},{"path":"src/components/EditorToolbar/index.ts","kind":"import-statement","original":"./EditorToolbar"}],"format":"esm"},"src/index.ts":{"bytes":805,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":104877},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","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-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Editor","EditorContent","EditorMenuProvider","EditorPreviewProvider","EditorToolbar","createEditorController","createMenuGroup","filterMenuGroups","formattingCommands","getMenuItem","getNextMenuItem","getPreviousMenuItem","linkSlashCommands","popover","popoverRangeEffect","popoverStateField","translations","useEditorMenu","useEditorPreview","useEditorToolbar","useTextEditor"],"entryPoint":"src/index.ts","inputs":{"src/translations.ts":{"bytesInOutput":1225},"src/components/Editor/Editor.tsx":{"bytesInOutput":2920},"src/components/EditorContent/controller.ts":{"bytesInOutput":665},"src/components/EditorContent/EditorContent.tsx":{"bytesInOutput":1894},"src/hooks/useTextEditor.ts":{"bytesInOutput":4228},"src/components/EditorMenuProvider/menu.ts":{"bytesInOutput":1066},"src/components/EditorMenuProvider/menu-presets.ts":{"bytesInOutput":3394},"src/components/EditorMenuProvider/popover.ts":{"bytesInOutput":6843},"src/components/EditorMenuProvider/EditorMenuProvider.tsx":{"bytesInOutput":5450},"src/components/EditorMenuProvider/useEditorMenu.ts":{"bytesInOutput":4094},"src/components/EditorToolbar/EditorToolbar.tsx":{"bytesInOutput":2546},"src/components/EditorToolbar/actions.ts":{"bytesInOutput":1875},"src/components/EditorToolbar/blocks.ts":{"bytesInOutput":1524},"src/components/EditorToolbar/formatting.ts":{"bytesInOutput":1553},"src/components/EditorToolbar/headings.ts":{"bytesInOutput":1706},"src/components/EditorToolbar/image.ts":{"bytesInOutput":348},"src/components/EditorToolbar/search.ts":{"bytesInOutput":395},"src/components/EditorToolbar/view-mode.ts":{"bytesInOutput":1188},"src/components/EditorToolbar/index.ts":{"bytesInOutput":0},"src/components/EditorToolbar/useEditorToolbar.ts":{"bytesInOutput":208},"src/components/index.ts":{"bytesInOutput":0},"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx":{"bytesInOutput":1929},"src/index.ts":{"bytesInOutput":0}},"bytes":46718}}}
1
+ {"inputs":{"src/translations.ts":{"bytes":4288,"imports":[],"format":"esm"},"src/components/EditorContent/controller.ts":{"bytes":3541,"imports":[],"format":"esm"},"src/hooks/useTextEditor.ts":{"bytes":17751,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":477,"imports":[{"path":"src/hooks/useTextEditor.ts","kind":"import-statement","original":"./useTextEditor"}],"format":"esm"},"src/components/EditorContent/EditorContent.tsx":{"bytes":8985,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/EditorContent/controller.ts","kind":"import-statement","original":"./controller"}],"format":"esm"},"src/components/EditorContent/index.ts":{"bytes":586,"imports":[{"path":"src/components/EditorContent/controller.ts","kind":"import-statement","original":"./controller"},{"path":"src/components/EditorContent/EditorContent.tsx","kind":"import-statement","original":"./EditorContent"}],"format":"esm"},"src/components/EditorMenuProvider/menu.ts":{"bytes":6114,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/popover.ts":{"bytes":30750,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/menu-presets.ts":{"bytes":12559,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"}],"format":"esm"},"src/components/EditorMenuProvider/EditorMenuProvider.tsx":{"bytes":21357,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorMenuProvider/useEditorMenu.ts":{"bytes":19470,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorMenuProvider/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"}],"format":"esm"},"src/components/EditorMenuProvider/index.ts":{"bytes":882,"imports":[{"path":"src/components/EditorMenuProvider/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/components/EditorMenuProvider/menu-presets.ts","kind":"import-statement","original":"./menu-presets"},{"path":"src/components/EditorMenuProvider/popover.ts","kind":"import-statement","original":"./popover"},{"path":"src/components/EditorMenuProvider/EditorMenuProvider.tsx","kind":"import-statement","original":"./EditorMenuProvider"},{"path":"src/components/EditorMenuProvider/useEditorMenu.ts","kind":"import-statement","original":"./useEditorMenu"}],"format":"esm"},"src/components/EditorToolbar/actions.ts":{"bytes":9020,"imports":[{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"}],"format":"esm"},"src/components/EditorToolbar/blocks.ts":{"bytes":7250,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/formatting.ts":{"bytes":7571,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/headings.ts":{"bytes":7823,"imports":[{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/image.ts":{"bytes":2293,"imports":[{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/search.ts":{"bytes":2551,"imports":[{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/view-mode.ts":{"bytes":6156,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"../../translations"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/components/EditorToolbar/EditorToolbar.tsx":{"bytes":13166,"imports":[{"path":"@effect-atom/atom-react","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-menu","kind":"import-statement","external":true},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/components/EditorToolbar/blocks.ts","kind":"import-statement","original":"./blocks"},{"path":"src/components/EditorToolbar/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/components/EditorToolbar/headings.ts","kind":"import-statement","original":"./headings"},{"path":"src/components/EditorToolbar/image.ts","kind":"import-statement","original":"./image"},{"path":"src/components/EditorToolbar/search.ts","kind":"import-statement","original":"./search"},{"path":"src/components/EditorToolbar/view-mode.ts","kind":"import-statement","original":"./view-mode"}],"format":"esm"},"src/components/EditorToolbar/useEditorToolbar.ts":{"bytes":1964,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorToolbar/index.ts":{"bytes":1016,"imports":[{"path":"src/components/EditorToolbar/EditorToolbar.tsx","kind":"import-statement","original":"./EditorToolbar"},{"path":"src/components/EditorToolbar/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/components/EditorToolbar/useEditorToolbar.ts","kind":"import-statement","original":"./useEditorToolbar"}],"format":"esm"},"src/components/Editor/Editor.tsx":{"bytes":15666,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/EditorContent/index.ts","kind":"import-statement","original":"../EditorContent"},{"path":"src/components/EditorMenuProvider/index.ts","kind":"import-statement","original":"../EditorMenuProvider"},{"path":"src/components/EditorToolbar/index.ts","kind":"import-statement","original":"../EditorToolbar"}],"format":"esm"},"src/components/Editor/index.ts":{"bytes":470,"imports":[{"path":"src/components/Editor/Editor.tsx","kind":"import-statement","original":"./Editor"}],"format":"esm"},"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx":{"bytes":8426,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/EditorPreviewProvider/index.ts":{"bytes":520,"imports":[{"path":"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx","kind":"import-statement","original":"./EditorPreviewProvider"}],"format":"esm"},"src/components/index.ts":{"bytes":1457,"imports":[{"path":"src/components/Editor/index.ts","kind":"import-statement","original":"./Editor"},{"path":"src/components/EditorContent/index.ts","kind":"import-statement","original":"./EditorContent"},{"path":"src/components/EditorMenuProvider/index.ts","kind":"import-statement","original":"./EditorMenuProvider"},{"path":"src/components/EditorPreviewProvider/index.ts","kind":"import-statement","original":"./EditorPreviewProvider"},{"path":"src/components/EditorToolbar/index.ts","kind":"import-statement","original":"./EditorToolbar"}],"format":"esm"},"src/index.ts":{"bytes":805,"imports":[{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":105393},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","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-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Editor","EditorContent","EditorMenuProvider","EditorPreviewProvider","EditorToolbar","createEditorController","createMenuGroup","filterMenuGroups","formattingCommands","getMenuItem","getNextMenuItem","getPreviousMenuItem","linkSlashCommands","popover","popoverRangeEffect","popoverStateField","translations","useEditorMenu","useEditorPreview","useEditorToolbar","useTextEditor"],"entryPoint":"src/index.ts","inputs":{"src/translations.ts":{"bytesInOutput":1225},"src/components/Editor/Editor.tsx":{"bytesInOutput":3048},"src/components/EditorContent/controller.ts":{"bytesInOutput":665},"src/components/EditorContent/EditorContent.tsx":{"bytesInOutput":1898},"src/hooks/useTextEditor.ts":{"bytesInOutput":4228},"src/components/EditorMenuProvider/menu.ts":{"bytesInOutput":1066},"src/components/EditorMenuProvider/menu-presets.ts":{"bytesInOutput":3394},"src/components/EditorMenuProvider/popover.ts":{"bytesInOutput":6843},"src/components/EditorMenuProvider/EditorMenuProvider.tsx":{"bytesInOutput":5489},"src/components/EditorMenuProvider/useEditorMenu.ts":{"bytesInOutput":4334},"src/components/EditorToolbar/EditorToolbar.tsx":{"bytesInOutput":2342},"src/components/EditorToolbar/actions.ts":{"bytesInOutput":1929},"src/components/EditorToolbar/blocks.ts":{"bytesInOutput":1578},"src/components/EditorToolbar/formatting.ts":{"bytesInOutput":1607},"src/components/EditorToolbar/headings.ts":{"bytesInOutput":1746},"src/components/EditorToolbar/image.ts":{"bytesInOutput":373},"src/components/EditorToolbar/search.ts":{"bytesInOutput":420},"src/components/EditorToolbar/view-mode.ts":{"bytesInOutput":1242},"src/components/EditorToolbar/index.ts":{"bytesInOutput":0},"src/components/EditorToolbar/useEditorToolbar.ts":{"bytesInOutput":208},"src/components/index.ts":{"bytesInOutput":0},"src/components/EditorPreviewProvider/EditorPreviewProvider.tsx":{"bytesInOutput":1900},"src/index.ts":{"bytesInOutput":0}},"b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AAG;IAC1B,SAAS,EAAE,SAAS,CAAC,eAAe,EAAE,CAAC,CAAC;IACxC,SAAS,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,uBAAuB,EAAE,aAAa,GAAG,MAAM,GAAG,cAAc,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;AAEpH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,GAAI,wDAM3B,kBAAkB,KAAG,aA+HvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditorPreviewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorPreviewProvider/EditorPreviewProvider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4D,MAAM,OAAO,CAAC;AAIhH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQ9E,QAAA,MAAqC,gBAAgB;UAL7C,cAAc;YACZ,iBAAiB;aAChB,OAAO;EAGqG,CAAC;AAExH,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACzD,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;CACpF,CAAC,CAAC;AAEH;;GAEG;AAEH,eAAO,MAAM,qBAAqB,GAAI,wBAAwB,0BAA0B,sBAmDvF,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"EditorPreviewProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorPreviewProvider/EditorPreviewProvider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4D,MAAM,OAAO,CAAC;AAIhH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAQ9E,QAAA,MAAqC,gBAAg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IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IAGpB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,gBAAgB,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD,CAAC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACrC,OAAO,EAAE,MAAM,UAAU,CAAC;IAE1B,aAAa,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAC9C;IACE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uFAAuF;IACvF,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC;CACnE,GAAG,CAAC,6BAA6B,GAAG,yBAAyB,CAAC,CAChE,CAAC;AAEF,eAAO,MAAM,aAAa,qFAAiE,kBAAkB,uBAU3G,CAAC"}
@@ -17,6 +17,7 @@ export declare const createLists: (state: EditorToolbarState, getView: () => Edi
17
17
  edges: {
18
18
  source: string;
19
19
  target: string;
20
+ relation: string;
20
21
  }[];
21
22
  };
22
23
  export declare const createEditorAction: (id: string, props: Partial<MenuActionProperties>, invoke: () => void) => Node.Action<MenuActionProperties>;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/actions.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,gCAAg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AO,MAAM,uBAAuB,GAClC,IAAI,MAAM,EACV,OAAO,IAAI,CAAC,gCAAgC,EAAE,MAAM,CAAC,EACrD,OAAO,MAAM,KACZ,aAAa,CAAC,gCAAgC,CAShD,CAAC"}
@@ -15,6 +15,7 @@ export declare const createBlocks: (state: EditorToolbarState, getView: () => Ed
15
15
  edges: {
16
16
  source: string;
17
17
  target: string;
18
+ relation: string;
18
19
  }[];
19
20
  };
20
21
  //# sourceMappingURL=blocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/blocks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAoC7D,eAAO,MAAM,YAAY,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;CAWhF,CAAC"}
1
+ {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/blocks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAoC7D,eAAO,MAAM,YAAY,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;;CAWhF,CAAC"}
@@ -15,6 +15,7 @@ export declare const createFormatting: (state: EditorToolbarState, getView: () =
15
15
  edges: {
16
16
  source: string;
17
17
  target: string;
18
+ relation: string;
18
19
  }[];
19
20
  };
20
21
  //# sourceMappingURL=formatting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/formatting.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA2C7D,eAAO,MAAM,gBAAgB,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;CAUpF,CAAC"}
1
+ {"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/formatting.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA2C7D,eAAO,MAAM,gBAAgB,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;;CAUpF,CAAC"}
@@ -15,6 +15,7 @@ export declare const createHeadings: (state: EditorToolbarState, getView: () =>
15
15
  edges: {
16
16
  source: string;
17
17
  target: string;
18
+ relation: string;
18
19
  }[];
19
20
  };
20
21
  //# sourceMappingURL=headings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headings.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/headings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAO5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA2C7D,eAAO,MAAM,cAAc,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;CAWlF,CAAC"}
1
+ {"version":3,"file":"headings.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/headings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAO5C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AA2C7D,eAAO,MAAM,cAAc,GAAI,OAAO,kBAAkB,EAAE,SAAS,MAAM,UAAU;;;;;;;;;;;;;;;;CAWlF,CAAC"}
@@ -4,6 +4,7 @@ export declare const createImageUpload: (onImageUpload: () => void) => {
4
4
  edges: Array<{
5
5
  source: string;
6
6
  target: string;
7
+ relation: "child";
7
8
  }>;
8
9
  };
9
10
  //# sourceMappingURL=image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/image.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAc5C,eAAO,MAAM,iBAAiB,GAC5B,eAAe,MAAM,IAAI,KACxB;IACD,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAIjD,CAAC"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/image.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAc5C,eAAO,MAAM,iBAAiB,GAC5B,eAAe,MAAM,IAAI,KACxB;IACD,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAIpE,CAAC"}
@@ -5,6 +5,7 @@ export declare const createSearch: (getView: () => EditorView) => {
5
5
  edges: Array<{
6
6
  source: string;
7
7
  target: string;
8
+ relation: "child";
8
9
  }>;
9
10
  };
10
11
  //# sourceMappingURL=search.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/search.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAc5C,eAAO,MAAM,YAAY,GACvB,SAAS,MAAM,UAAU,KACxB;IACD,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAIjD,CAAC"}
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/search.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAc5C,eAAO,MAAM,YAAY,GACvB,SAAS,MAAM,UAAU,KACxB;IACD,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAIpE,CAAC"}
@@ -15,6 +15,7 @@ export declare const createViewMode: (state: EditorToolbarState, onViewModeChang
15
15
  edges: {
16
16
  source: string;
17
17
  target: string;
18
+ relation: string;
18
19
  }[];
19
20
  };
20
21
  //# sourceMappingURL=view-mode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-mode.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/view-mode.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKtD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAgC7D,eAAO,MAAM,cAAc,GAAI,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;;;;;;;;;;;;;;;CAWzG,CAAC"}
1
+ {"version":3,"file":"view-mode.d.ts","sourceRoot":"","sources":["../../../../../src/components/EditorToolbar/view-mode.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKtD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAgC7D,eAAO,MAAM,cAAc,GAAI,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;;;;;;;;;;;;;;;;CAWzG,CAAC"}
@@ -2,6 +2,7 @@ import { type StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: any;
5
+ decorators: import("@storybook/react").Decorator[];
5
6
  parameters: {
6
7
  layout: string;
7
8
  translations: [{
@@ -1 +1 @@
1
- {"version":3,"file":"Automerge.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Automerge.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAkIjE,QAAA,MAAM,IAAI;;eAEa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKW,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAGrB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAkBtB,CAAC"}
1
+ {"version":3,"file":"Automerge.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Automerge.stories.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiIjE,QAAA,MAAM,IAAI;;eAEa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMW,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAiBtB,CAAC"}
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  debug?: import("./components").DebugMode;
7
7
  debugCustom?: (view: import("@codemirror/view").EditorView) => React.ReactNode;
8
8
  text?: string;
9
- object?: import("@dxos/echo/Obj").Obj<import("@dxos/echo/testing").TestSchema.Expando>;
9
+ object?: import("@dxos/echo/Obj").OfShape<import("@dxos/echo/testing").TestSchema.Expando>;
10
10
  readOnly?: boolean;
11
11
  placeholder?: string;
12
12
  lineNumbers?: boolean;
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  debug?: import("./components").DebugMode;
7
7
  debugCustom?: (view: import("@codemirror/view").EditorView) => React.ReactNode;
8
8
  text?: string;
9
- object?: import("@dxos/echo/Obj").Obj<import("@dxos/echo/testing").TestSchema.Expando>;
9
+ object?: import("@dxos/echo/Obj").OfShape<import("@dxos/echo/testing").TestSchema.Expando>;
10
10
  readOnly?: boolean;
11
11
  placeholder?: string;
12
12
  lineNumbers?: boolean;
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  debug?: import("./components").DebugMode;
7
7
  debugCustom?: (view: import("@codemirror/view").EditorView) => React.ReactNode;
8
8
  text?: string;
9
- object?: import("@dxos/echo/Obj").Obj<import("@dxos/echo/testing").TestSchema.Expando>;
9
+ object?: import("@dxos/echo/Obj").OfShape<import("@dxos/echo/testing").TestSchema.Expando>;
10
10
  readOnly?: boolean;
11
11
  placeholder?: string;
12
12
  lineNumbers?: boolean;
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  debug?: import("./components").DebugMode;
9
9
  debugCustom?: (view: EditorView) => React.ReactNode;
10
10
  text?: string;
11
- object?: import("@dxos/echo/Obj").Obj<import("@dxos/echo/testing").TestSchema.Expando>;
11
+ object?: import("@dxos/echo/Obj").OfShape<import("@dxos/echo/testing").TestSchema.Expando>;
12
12
  readOnly?: boolean;
13
13
  placeholder?: string;
14
14
  lineNumbers?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Preview.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Preview.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AAmBzE,OAAO,EAAE,KAAK,gBAAgB,EAA2C,MAAM,eAAe,CAAC;AAyJ/F,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAO0B,CAAC;AAErC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAiBnC,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC"}
1
+ {"version":3,"file":"Preview.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/Preview.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAoD,MAAM,OAAO,CAAC;AAmBzE,OAAO,EAAE,KAAK,gBAAgB,EAA2C,MAAM,eAAe,CAAC;AAmK/F,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAO0B,CAAC;AAErC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAiBnC,eAAO,MAAM,OAAO,EAAE,KA8BrB,CAAC"}
@@ -6,7 +6,7 @@ declare const meta: {
6
6
  debug?: import("./components").DebugMode;
7
7
  debugCustom?: (view: import("@codemirror/view").EditorView) => React.ReactNode;
8
8
  text?: string;
9
- object?: import("@dxos/echo/Obj").Obj<import("@dxos/echo/testing").TestSchema.Expando>;
9
+ object?: import("@dxos/echo/Obj").OfShape<import("@dxos/echo/testing").TestSchema.Expando>;
10
10
  readOnly?: boolean;
11
11
  placeholder?: string;
12
12
  lineNumbers?: boolean;
@@ -10,7 +10,7 @@ export type StoryProps = Pick<UseTextEditorProps, 'id' | 'scrollTo' | 'selection
10
10
  debug?: DebugMode;
11
11
  debugCustom?: (view: EditorView) => ReactNode;
12
12
  text?: string;
13
- object?: Obj.Obj<TestSchema.Expando>;
13
+ object?: Obj.OfShape<TestSchema.Expando>;
14
14
  readOnly?: boolean;
15
15
  placeholder?: string;
16
16
  lineNumbers?: boolean;
@@ -21,7 +21,7 @@ export declare const EditorStory: React.ForwardRefExoticComponent<Pick<UseTextEd
21
21
  debug?: DebugMode;
22
22
  debugCustom?: (view: EditorView) => ReactNode;
23
23
  text?: string;
24
- object?: Obj.Obj<TestSchema.Expando>;
24
+ object?: Obj.OfShape<TestSchema.Expando>;
25
25
  readOnly?: boolean;
26
26
  placeholder?: string;
27
27
  lineNumbers?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"EditorStory.d.ts","source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,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,CAAC;AAEJ,eAAO,MAAM,WAAW;YAXZ,SAAS;kBACH,CAAC,IAAI,EAAE,UAAU,KAAK,SAAS;WACtC,MAAM;aACJ,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC;eAC7B,OAAO;kBACJ,MAAM;kBACN,OAAO;gBACT,OAAO;cACT,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI;0CAuCvC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type Completion } from '@codemirror/autocomplete';
2
2
  import { type Extension } from '@codemirror/state';
3
- import { type EditorSelectionState } from '@dxos/ui-editor';
3
+ import { type EditorSelectionState, type RenderCallback } from '@dxos/ui-editor';
4
4
  export declare const num: () => string;
5
5
  export declare const img = "![dxos](https://dxos.network/dxos-logotype-blue.png)";
6
6
  export declare const code: string;
@@ -23,10 +23,10 @@ export declare const content: {
23
23
  export declare const text: string;
24
24
  export declare const links: Completion[];
25
25
  export declare const names: string[];
26
- export declare const renderLinkTooltip: import("@dxos/ui-editor").RenderCallback<{
26
+ export declare const renderLinkTooltip: RenderCallback<{
27
27
  url: string;
28
28
  }>;
29
- export declare const renderLinkButton: import("@dxos/ui-editor").RenderCallback<{
29
+ export declare const renderLinkButton: RenderCallback<{
30
30
  url: string;
31
31
  }>;
32
32
  export declare const defaultExtensions: Extension[];
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/stories/components/util.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAKnD,OAAO,EACL,KAAK,oBAAoB,EAO1B,MAAM,iBAAiB,CAAC;AAKzB,eAAO,MAAM,GAAG,cAAiE,CAAC;AAElF,eAAO,MAAM,GAAG,yDAAyD,CAAC;AAE1E,eAA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AEF,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAO5D,CAAC;AAGF,eAAO,MAAM,iBAAiB,EAAE,SAAS,EAIxC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAAS,EAOpC,CAAC;AAGF,eAAO,MAAM,QAAQ,QAEN,CAAC;AAEhB,eAAO,MAAM,eAAe,QAGb,CAAC;AAEhB,eAAO,MAAM,QAAQ,QAIpB,CAAC;AAEF,eAAO,MAAM,MAAM,mCAA0C,CAAC"}
@@ -1,13 +1,10 @@
1
- import { type FC, type ReactNode } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { type RenderCallback } from '@dxos/ui-editor';
3
3
  /**
4
4
  * @deprecated Use `trim` from `@dxos/util`.
5
5
  */
6
6
  export declare const str: (...lines: string[]) => string;
7
- /** @deprecated */
8
- export declare const renderRoot: <T extends Element>(root: T, node: ReactNode) => T;
9
7
  /**
10
- * Utility to create a renderer for a React component.
11
8
  * @deprecated
12
9
  */
13
10
  export declare const createRenderer: <TProps extends object>(Component: FC<TProps>) => RenderCallback<TProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/util/react.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD;;GAEG;AACH,eAAO,MAAM,GAAG,GAAI,GAAG,OAAO,MAAM,EAAE,WAAqB,CAAC;AAE5D,kBAAkB;AAElB,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,OAAO,EAAE,MAAM,CAAC,EAAE,MAAM,SAAS,KAAG,CAGxE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GACxB,MAAM,SAAS,MAAM,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,KAAG,cAAc,CAAC,MAAM,CAUpE,CAAC"}
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/util/react.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGtD;;GAEG;AACH,eAAO,MAAM,GAAG,GAAI,GAAG,OAAO,MAAM,EAAE,WAAqB,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,cAAc,GACxB,MAAM,SAAS,MAAM,EAAE,WAAW,EAAE,CAAC,MAAM,CAAC,KAAG,cAAc,CAAC,MAAM,CASpE,CAAC"}