markloom 0.3.0 → 0.5.0

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 (52) hide show
  1. package/README.md +29 -16
  2. package/ai.md +160 -0
  3. package/collab.md +68 -0
  4. package/dist/ai/index.cjs +4 -3
  5. package/dist/ai/index.d.cts +4 -2
  6. package/dist/ai/index.d.ts +4 -2
  7. package/dist/ai/index.js +5 -4
  8. package/dist/ai/theme.css +63 -63
  9. package/dist/{chunk-VVFIQLVR.cjs → chunk-4TMHVNL6.cjs} +71 -79
  10. package/dist/chunk-6DCI7AL3.js +208 -0
  11. package/dist/chunk-AC5E42NH.cjs +208 -0
  12. package/dist/chunk-GQ2HHRGI.cjs +16 -0
  13. package/dist/{chunk-GUPMZI6Q.js → chunk-JMOJU5EU.js} +7 -5
  14. package/dist/chunk-JS527FDV.cjs +294 -0
  15. package/dist/chunk-LA5SBCGQ.js +16 -0
  16. package/dist/{chunk-ITVAR2UM.js → chunk-LEYAQNJA.js} +5 -3
  17. package/dist/{chunk-J3QWW6CN.js → chunk-MFYF2A6U.js} +5 -13
  18. package/dist/chunk-RLTHVQNQ.js +294 -0
  19. package/dist/{chunk-7Q6AXLF2.cjs → chunk-SLRD6FMP.cjs} +30 -28
  20. package/dist/{chunk-UCNEQGMY.js → chunk-WUHTCCAE.js} +391 -332
  21. package/dist/{chunk-2X6AF7XH.cjs → chunk-YJAWPRJW.cjs} +722 -663
  22. package/dist/{chunk-HA6XHJUD.cjs → chunk-YXQDCW4Y.cjs} +22 -20
  23. package/dist/client-A0ZQJnyR.d.ts +137 -0
  24. package/dist/client-BNams4wv.d.cts +137 -0
  25. package/dist/collab/index.cjs +19 -0
  26. package/dist/collab/index.d.cts +3 -0
  27. package/dist/collab/index.d.ts +3 -0
  28. package/dist/collab/index.js +19 -0
  29. package/dist/comments-DlExS6f-.d.cts +43 -0
  30. package/dist/comments-PhnR7Gkn.d.ts +43 -0
  31. package/dist/{controller-Dm4uLD3I.d.ts → controller-BkY1VPzc.d.ts} +24 -8
  32. package/dist/{controller-cE9iEYp3.d.cts → controller-CVIZI--A.d.cts} +24 -8
  33. package/dist/index.cjs +21 -243
  34. package/dist/index.d.cts +5 -7
  35. package/dist/index.d.ts +5 -7
  36. package/dist/index.js +22 -244
  37. package/dist/react/index.cjs +12 -9
  38. package/dist/react/index.d.cts +7 -5
  39. package/dist/react/index.d.ts +7 -5
  40. package/dist/react/index.js +12 -9
  41. package/dist/rebase-batch-8rL_aXEE.d.ts +38 -0
  42. package/dist/rebase-batch-bYnBJpRO.d.cts +38 -0
  43. package/dist/step-BrvHIK7O.d.cts +65 -0
  44. package/dist/step-BrvHIK7O.d.ts +65 -0
  45. package/dist/view/index.cjs +11 -8
  46. package/dist/view/index.d.cts +7 -5
  47. package/dist/view/index.d.ts +7 -5
  48. package/dist/view/index.js +9 -6
  49. package/dist/view/theme.css +507 -507
  50. package/package.json +10 -3
  51. package/dist/comments-USjT1wYN.d.cts +0 -105
  52. package/dist/comments-USjT1wYN.d.ts +0 -105
@@ -79,8 +79,8 @@
79
79
 
80
80
 
81
81
 
82
- var _chunk2X6AF7XHcjs = require('../chunk-2X6AF7XH.cjs');
83
- require('../chunk-HA6XHJUD.cjs');
82
+ var _chunkYJAWPRJWcjs = require('../chunk-YJAWPRJW.cjs');
83
+ require('../chunk-YXQDCW4Y.cjs');
84
84
 
85
85
 
86
86
 
@@ -91,8 +91,11 @@ require('../chunk-HA6XHJUD.cjs');
91
91
 
92
92
 
93
93
 
94
- var _chunk7Q6AXLF2cjs = require('../chunk-7Q6AXLF2.cjs');
95
- require('../chunk-VVFIQLVR.cjs');
94
+ var _chunkSLRD6FMPcjs = require('../chunk-SLRD6FMP.cjs');
95
+ require('../chunk-4TMHVNL6.cjs');
96
+ require('../chunk-AC5E42NH.cjs');
97
+ require('../chunk-JS527FDV.cjs');
98
+ require('../chunk-GQ2HHRGI.cjs');
96
99
 
97
100
  // src/view/shiki-code-view.ts
98
101
  var _preact = require('preact');
@@ -163,7 +166,7 @@ function subRule() {
163
166
  { kind: "deleteText", path: ctx.leafPath, offset: at, length: eaten },
164
167
  { kind: "insertText", path: ctx.leafPath, offset: at, text: s.to }
165
168
  ];
166
- return { steps, selection: _chunk2X6AF7XHcjs.caret.call(void 0, ctx.leafPath.concat(at + s.to.length)) };
169
+ return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(at + s.to.length)) };
167
170
  }
168
171
  return null;
169
172
  }
@@ -177,7 +180,7 @@ function quoteRule(quote, open, close) {
177
180
  const prev = ctx.marker.slice(-1);
178
181
  const to = prev === "" || prev === " " || prev === "\n" || prev === " " || prev === "(" || prev === "[" || prev === "{" ? open : close;
179
182
  const steps = [{ kind: "insertText", path: ctx.leafPath, offset: ctx.offset, text: to }];
180
- return { steps, selection: _chunk2X6AF7XHcjs.caret.call(void 0, ctx.leafPath.concat(ctx.offset + to.length)) };
183
+ return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(ctx.offset + to.length)) };
181
184
  }
182
185
  };
183
186
  }
@@ -253,7 +256,7 @@ function emojiRule() {
253
256
  { kind: "deleteText", path: ctx.leafPath, offset: at, length: eaten },
254
257
  { kind: "insertText", path: ctx.leafPath, offset: at, text: glyph }
255
258
  ];
256
- return { steps, selection: _chunk2X6AF7XHcjs.caret.call(void 0, ctx.leafPath.concat(at + glyph.length)) };
259
+ return { steps, selection: _chunkYJAWPRJWcjs.caret.call(void 0, ctx.leafPath.concat(at + glyph.length)) };
257
260
  }
258
261
  };
259
262
  }
@@ -365,4 +368,4 @@ var comments = {
365
368
 
366
369
 
367
370
 
368
- exports.CALLOUT_VARIANTS = _chunk2X6AF7XHcjs.CALLOUT_VARIANTS; exports.CommentPanel = _chunk2X6AF7XHcjs.CommentPanel; exports.Editor = _chunk2X6AF7XHcjs.Editor; exports.MentionMenu = _chunk2X6AF7XHcjs.MentionMenu; exports.MentionPopovers = _chunk2X6AF7XHcjs.MentionPopovers; exports.TocPanel = _chunk2X6AF7XHcjs.TocPanel; exports.askInput = _chunk2X6AF7XHcjs.askInput; exports.askLinkPopover = _chunk2X6AF7XHcjs.askLinkPopover; exports.atomIsSelected = _chunk2X6AF7XHcjs.atomIsSelected; exports.blockExtensions = _chunk2X6AF7XHcjs.blockExtensions; exports.blockPlainText = _chunk7Q6AXLF2cjs.blockPlainText; exports.blockTransform = _chunk2X6AF7XHcjs.blockTransform; exports.boldMark = _chunk2X6AF7XHcjs.boldMark; exports.bubbleMenu = _chunk2X6AF7XHcjs.bubbleMenu; exports.calloutVariantFromQuery = _chunk2X6AF7XHcjs.calloutVariantFromQuery; exports.caret = _chunk2X6AF7XHcjs.caret; exports.chord = _chunk2X6AF7XHcjs.chord; exports.closeAskInput = _chunk2X6AF7XHcjs.closeAskInput; exports.codeBlock = _chunk2X6AF7XHcjs.codeBlock; exports.codeControls = _chunk2X6AF7XHcjs.codeControls; exports.codeMark = _chunk2X6AF7XHcjs.codeMark; exports.comments = comments; exports.cycleCalloutVariant = _chunk2X6AF7XHcjs.cycleCalloutVariant; exports.decorationExtensions = _chunk2X6AF7XHcjs.decorationExtensions; exports.defaultBlockRenderers = _chunk2X6AF7XHcjs.defaultBlockRenderers; exports.defaultBlockTag = _chunk2X6AF7XHcjs.defaultBlockTag; exports.defaultMarkTag = _chunk2X6AF7XHcjs.defaultMarkTag; exports.diffSpan = _chunk2X6AF7XHcjs.diffSpan; exports.domToPoint = _chunk7Q6AXLF2cjs.domToPoint; exports.dragHandle = _chunk2X6AF7XHcjs.dragHandle; exports.elementChildren = _chunk7Q6AXLF2cjs.elementChildren; exports.embedBlock = _chunk2X6AF7XHcjs.embedBlock; exports.emoji = emoji; exports.focusBlockId = _chunk7Q6AXLF2cjs.focusBlockId; exports.highlightMark = _chunk2X6AF7XHcjs.highlightMark; exports.history = _chunk2X6AF7XHcjs.history; exports.hrBlock = _chunk2X6AF7XHcjs.hrBlock; exports.imageBlock = _chunk2X6AF7XHcjs.imageBlock; exports.indentItem = _chunk2X6AF7XHcjs.indentItem; exports.inputRules = _chunk2X6AF7XHcjs.inputRules; exports.invisibleCharacters = invisibleCharacters; exports.isAtom = _chunk2X6AF7XHcjs.isAtom; exports.isOpaque = _chunk2X6AF7XHcjs.isOpaque; exports.italicMark = _chunk2X6AF7XHcjs.italicMark; exports.leafText = _chunk2X6AF7XHcjs.leafText; exports.lineBoundaryBack = _chunk2X6AF7XHcjs.lineBoundaryBack; exports.lineBoundaryFwd = _chunk2X6AF7XHcjs.lineBoundaryFwd; exports.linkMark = _chunk2X6AF7XHcjs.linkMark; exports.loomKit = _chunk2X6AF7XHcjs.loomKit; exports.mapInput = _chunk2X6AF7XHcjs.mapInput; exports.mapPaste = _chunk2X6AF7XHcjs.mapPaste; exports.mapPasteBlocks = _chunk2X6AF7XHcjs.mapPasteBlocks; exports.markExtensions = _chunk2X6AF7XHcjs.markExtensions; exports.marksAtCaret = _chunk2X6AF7XHcjs.marksAtCaret; exports.mentionMenu = _chunk2X6AF7XHcjs.mentionMenu; exports.mergeTextStyleAttrs = _chunk2X6AF7XHcjs.mergeTextStyleAttrs; exports.normalizeLinkUrl = _chunk2X6AF7XHcjs.normalizeLinkUrl; exports.outdentItem = _chunk2X6AF7XHcjs.outdentItem; exports.pointToDom = _chunk7Q6AXLF2cjs.pointToDom; exports.readSelection = _chunk7Q6AXLF2cjs.readSelection; exports.renderCode = _chunk2X6AF7XHcjs.renderCode; exports.renderDoc = _chunk2X6AF7XHcjs.renderDoc; exports.renderEmbed = _chunk2X6AF7XHcjs.renderEmbed; exports.renderHr = _chunk2X6AF7XHcjs.renderHr; exports.renderImage = _chunk2X6AF7XHcjs.renderImage; exports.renderTable = _chunk2X6AF7XHcjs.renderTable; exports.renderToHtml = _chunk2X6AF7XHcjs.renderToHtml; exports.resolve = _chunk2X6AF7XHcjs.resolve; exports.rootEl = _chunk7Q6AXLF2cjs.rootEl; exports.safeCssValue = _chunk2X6AF7XHcjs.safeCssValue; exports.serializeSelection = _chunk2X6AF7XHcjs.serializeSelection; exports.setAlign = _chunk2X6AF7XHcjs.setAlign; exports.setCalloutVariant = _chunk2X6AF7XHcjs.setCalloutVariant; exports.setTextStyle = _chunk2X6AF7XHcjs.setTextStyle; exports.shikiCodeView = shikiCodeView; exports.slashMenu = _chunk2X6AF7XHcjs.slashMenu; exports.startAiWrite = _chunk7Q6AXLF2cjs.startAiWrite; exports.strikeMark = _chunk2X6AF7XHcjs.strikeMark; exports.subscriptMark = _chunk2X6AF7XHcjs.subscriptMark; exports.superscriptMark = _chunk2X6AF7XHcjs.superscriptMark; exports.tableBlock = _chunk2X6AF7XHcjs.tableBlock; exports.textAlign = _chunk2X6AF7XHcjs.textAlign; exports.textStyleCss = _chunk2X6AF7XHcjs.textStyleCss; exports.textStyleMark = _chunk2X6AF7XHcjs.textStyleMark; exports.toggleMark = _chunk2X6AF7XHcjs.toggleMark; exports.toggleMarkList = _chunk2X6AF7XHcjs.toggleMarkList; exports.twitchChannel = _chunk2X6AF7XHcjs.twitchChannel; exports.typography = typography; exports.underlineMark = _chunk2X6AF7XHcjs.underlineMark; exports.wordBoundaryBack = _chunk2X6AF7XHcjs.wordBoundaryBack; exports.wordBoundaryFwd = _chunk2X6AF7XHcjs.wordBoundaryFwd; exports.wrapList = _chunk2X6AF7XHcjs.wrapList; exports.writeSelection = _chunk7Q6AXLF2cjs.writeSelection; exports.youtubeId = _chunk2X6AF7XHcjs.youtubeId;
371
+ exports.CALLOUT_VARIANTS = _chunkYJAWPRJWcjs.CALLOUT_VARIANTS; exports.CommentPanel = _chunkYJAWPRJWcjs.CommentPanel; exports.Editor = _chunkYJAWPRJWcjs.Editor; exports.MentionMenu = _chunkYJAWPRJWcjs.MentionMenu; exports.MentionPopovers = _chunkYJAWPRJWcjs.MentionPopovers; exports.TocPanel = _chunkYJAWPRJWcjs.TocPanel; exports.askInput = _chunkYJAWPRJWcjs.askInput; exports.askLinkPopover = _chunkYJAWPRJWcjs.askLinkPopover; exports.atomIsSelected = _chunkYJAWPRJWcjs.atomIsSelected; exports.blockExtensions = _chunkYJAWPRJWcjs.blockExtensions; exports.blockPlainText = _chunkSLRD6FMPcjs.blockPlainText; exports.blockTransform = _chunkYJAWPRJWcjs.blockTransform; exports.boldMark = _chunkYJAWPRJWcjs.boldMark; exports.bubbleMenu = _chunkYJAWPRJWcjs.bubbleMenu; exports.calloutVariantFromQuery = _chunkYJAWPRJWcjs.calloutVariantFromQuery; exports.caret = _chunkYJAWPRJWcjs.caret; exports.chord = _chunkYJAWPRJWcjs.chord; exports.closeAskInput = _chunkYJAWPRJWcjs.closeAskInput; exports.codeBlock = _chunkYJAWPRJWcjs.codeBlock; exports.codeControls = _chunkYJAWPRJWcjs.codeControls; exports.codeMark = _chunkYJAWPRJWcjs.codeMark; exports.comments = comments; exports.cycleCalloutVariant = _chunkYJAWPRJWcjs.cycleCalloutVariant; exports.decorationExtensions = _chunkYJAWPRJWcjs.decorationExtensions; exports.defaultBlockRenderers = _chunkYJAWPRJWcjs.defaultBlockRenderers; exports.defaultBlockTag = _chunkYJAWPRJWcjs.defaultBlockTag; exports.defaultMarkTag = _chunkYJAWPRJWcjs.defaultMarkTag; exports.diffSpan = _chunkYJAWPRJWcjs.diffSpan; exports.domToPoint = _chunkSLRD6FMPcjs.domToPoint; exports.dragHandle = _chunkYJAWPRJWcjs.dragHandle; exports.elementChildren = _chunkSLRD6FMPcjs.elementChildren; exports.embedBlock = _chunkYJAWPRJWcjs.embedBlock; exports.emoji = emoji; exports.focusBlockId = _chunkSLRD6FMPcjs.focusBlockId; exports.highlightMark = _chunkYJAWPRJWcjs.highlightMark; exports.history = _chunkYJAWPRJWcjs.history; exports.hrBlock = _chunkYJAWPRJWcjs.hrBlock; exports.imageBlock = _chunkYJAWPRJWcjs.imageBlock; exports.indentItem = _chunkYJAWPRJWcjs.indentItem; exports.inputRules = _chunkYJAWPRJWcjs.inputRules; exports.invisibleCharacters = invisibleCharacters; exports.isAtom = _chunkYJAWPRJWcjs.isAtom; exports.isOpaque = _chunkYJAWPRJWcjs.isOpaque; exports.italicMark = _chunkYJAWPRJWcjs.italicMark; exports.leafText = _chunkYJAWPRJWcjs.leafText; exports.lineBoundaryBack = _chunkYJAWPRJWcjs.lineBoundaryBack; exports.lineBoundaryFwd = _chunkYJAWPRJWcjs.lineBoundaryFwd; exports.linkMark = _chunkYJAWPRJWcjs.linkMark; exports.mapInput = _chunkYJAWPRJWcjs.mapInput; exports.mapPaste = _chunkYJAWPRJWcjs.mapPaste; exports.mapPasteBlocks = _chunkYJAWPRJWcjs.mapPasteBlocks; exports.markExtensions = _chunkYJAWPRJWcjs.markExtensions; exports.markloomKit = _chunkYJAWPRJWcjs.markloomKit; exports.marksAtCaret = _chunkYJAWPRJWcjs.marksAtCaret; exports.mentionMenu = _chunkYJAWPRJWcjs.mentionMenu; exports.mergeTextStyleAttrs = _chunkYJAWPRJWcjs.mergeTextStyleAttrs; exports.normalizeLinkUrl = _chunkYJAWPRJWcjs.normalizeLinkUrl; exports.outdentItem = _chunkYJAWPRJWcjs.outdentItem; exports.pointToDom = _chunkSLRD6FMPcjs.pointToDom; exports.readSelection = _chunkSLRD6FMPcjs.readSelection; exports.renderCode = _chunkYJAWPRJWcjs.renderCode; exports.renderDoc = _chunkYJAWPRJWcjs.renderDoc; exports.renderEmbed = _chunkYJAWPRJWcjs.renderEmbed; exports.renderHr = _chunkYJAWPRJWcjs.renderHr; exports.renderImage = _chunkYJAWPRJWcjs.renderImage; exports.renderTable = _chunkYJAWPRJWcjs.renderTable; exports.renderToHtml = _chunkYJAWPRJWcjs.renderToHtml; exports.resolve = _chunkYJAWPRJWcjs.resolve; exports.rootEl = _chunkSLRD6FMPcjs.rootEl; exports.safeCssValue = _chunkYJAWPRJWcjs.safeCssValue; exports.serializeSelection = _chunkYJAWPRJWcjs.serializeSelection; exports.setAlign = _chunkYJAWPRJWcjs.setAlign; exports.setCalloutVariant = _chunkYJAWPRJWcjs.setCalloutVariant; exports.setTextStyle = _chunkYJAWPRJWcjs.setTextStyle; exports.shikiCodeView = shikiCodeView; exports.slashMenu = _chunkYJAWPRJWcjs.slashMenu; exports.startAiWrite = _chunkSLRD6FMPcjs.startAiWrite; exports.strikeMark = _chunkYJAWPRJWcjs.strikeMark; exports.subscriptMark = _chunkYJAWPRJWcjs.subscriptMark; exports.superscriptMark = _chunkYJAWPRJWcjs.superscriptMark; exports.tableBlock = _chunkYJAWPRJWcjs.tableBlock; exports.textAlign = _chunkYJAWPRJWcjs.textAlign; exports.textStyleCss = _chunkYJAWPRJWcjs.textStyleCss; exports.textStyleMark = _chunkYJAWPRJWcjs.textStyleMark; exports.toggleMark = _chunkYJAWPRJWcjs.toggleMark; exports.toggleMarkList = _chunkYJAWPRJWcjs.toggleMarkList; exports.twitchChannel = _chunkYJAWPRJWcjs.twitchChannel; exports.typography = typography; exports.underlineMark = _chunkYJAWPRJWcjs.underlineMark; exports.wordBoundaryBack = _chunkYJAWPRJWcjs.wordBoundaryBack; exports.wordBoundaryFwd = _chunkYJAWPRJWcjs.wordBoundaryFwd; exports.wrapList = _chunkYJAWPRJWcjs.wrapList; exports.writeSelection = _chunkSLRD6FMPcjs.writeSelection; exports.youtubeId = _chunkYJAWPRJWcjs.youtubeId;
@@ -1,7 +1,9 @@
1
- import { N as NodeView, l as Extension } from '../controller-cE9iEYp3.cjs';
2
- export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, M as MentionCandidate, x as MentionHost, y as MentionMenu, z as MentionPopovers, F as MentionPopoversHost, G as MentionProfile, H as NodeViewCtx, P as PasteRule, R as RenderOpts, J as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-cE9iEYp3.cjs';
3
- import { E as ElementNode, a as Position, N as Node, g as Selection, S as Step, C as CommentAuthor, d as CommentThread, c as CommentRenderState } from '../comments-USjT1wYN.cjs';
1
+ import { N as NodeView, l as Extension } from '../controller-CVIZI--A.cjs';
2
+ export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, x as MentionCandidate, y as MentionHost, z as MentionMenu, F as MentionPopovers, G as MentionPopoversHost, H as MentionProfile, J as NodeViewCtx, P as PasteRule, R as RenderOpts, L as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-CVIZI--A.cjs';
3
+ import { E as ElementNode, a as Position, N as Node, c as Selection, S as Step } from '../step-BrvHIK7O.cjs';
4
+ import { C as CommentAuthor, c as CommentThread, b as CommentRenderState } from '../comments-DlExS6f-.cjs';
4
5
  import 'preact';
6
+ import '../client-BNams4wv.cjs';
5
7
 
6
8
  declare function shikiCodeView(highlight: (code: string, lang?: string) => string, langs?: () => string[]): NodeView;
7
9
 
@@ -15,7 +17,7 @@ declare function readSelection(root: HTMLElement, doc: ElementNode): Selection |
15
17
  declare function writeSelection(root: HTMLElement, doc: ElementNode, selection: Selection): void;
16
18
  declare function elementChildren(el: HTMLElement): HTMLElement[];
17
19
 
18
- declare function loomKit(): Extension[];
20
+ declare function markloomKit(): Extension[];
19
21
 
20
22
  declare const boldMark: Extension;
21
23
  declare const italicMark: Extension;
@@ -152,4 +154,4 @@ declare class TocPanel {
152
154
  private paint;
153
155
  }
154
156
 
155
- export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, loomKit, markExtensions, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
157
+ export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, markExtensions, markloomKit, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
@@ -1,7 +1,9 @@
1
- import { N as NodeView, l as Extension } from '../controller-Dm4uLD3I.js';
2
- export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, M as MentionCandidate, x as MentionHost, y as MentionMenu, z as MentionPopovers, F as MentionPopoversHost, G as MentionProfile, H as NodeViewCtx, P as PasteRule, R as RenderOpts, J as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-Dm4uLD3I.js';
3
- import { E as ElementNode, a as Position, N as Node, g as Selection, S as Step, C as CommentAuthor, d as CommentThread, c as CommentRenderState } from '../comments-USjT1wYN.js';
1
+ import { N as NodeView, l as Extension } from '../controller-BkY1VPzc.js';
2
+ export { e as AiWriteMode, f as AiWriteSession, m as AtomSelectCtx, B as BlockInputRule, n as BlockKind, o as BlockRenderCtx, p as BlockRenderer, C as CALLOUT_VARIANTS, q as CalloutVariant, D as DecorationFactory, r as DecorationHost, k as Editor, E as EditorOptions, I as InputResult, t as InputRuleCtx, u as Intent, K as KeymapCommand, v as KeymapCtx, w as KeymapResult, x as MentionCandidate, y as MentionHost, z as MentionMenu, F as MentionPopovers, G as MentionPopoversHost, H as MentionProfile, J as NodeViewCtx, P as PasteRule, R as RenderOpts, L as Resolved, S as SlashCommand, T as TextStylePatch, O as atomIsSelected, h as blockPlainText, Q as blockTransform, U as calloutVariantFromQuery, V as caret, W as chord, X as cycleCalloutVariant, Y as defaultBlockRenderers, Z as defaultBlockTag, _ as defaultMarkTag, $ as diffSpan, j as focusBlockId, a0 as indentItem, a1 as isAtom, a2 as isOpaque, a3 as leafText, a4 as lineBoundaryBack, a5 as lineBoundaryFwd, a6 as mapInput, a7 as mapPaste, a8 as mapPasteBlocks, a9 as marksAtCaret, aa as mergeTextStyleAttrs, ab as outdentItem, ac as renderCode, ad as renderDoc, ae as renderEmbed, af as renderHr, ag as renderImage, ah as renderTable, ai as renderToHtml, aj as resolve, ak as safeCssValue, al as serializeSelection, am as setAlign, an as setCalloutVariant, ao as setTextStyle, s as startAiWrite, ap as textStyleCss, aq as toggleMark, ar as toggleMarkList, as as twitchChannel, at as wordBoundaryBack, au as wordBoundaryFwd, av as wrapList, aw as youtubeId } from '../controller-BkY1VPzc.js';
3
+ import { E as ElementNode, a as Position, N as Node, c as Selection, S as Step } from '../step-BrvHIK7O.js';
4
+ import { C as CommentAuthor, c as CommentThread, b as CommentRenderState } from '../comments-PhnR7Gkn.js';
4
5
  import 'preact';
6
+ import '../client-A0ZQJnyR.js';
5
7
 
6
8
  declare function shikiCodeView(highlight: (code: string, lang?: string) => string, langs?: () => string[]): NodeView;
7
9
 
@@ -15,7 +17,7 @@ declare function readSelection(root: HTMLElement, doc: ElementNode): Selection |
15
17
  declare function writeSelection(root: HTMLElement, doc: ElementNode, selection: Selection): void;
16
18
  declare function elementChildren(el: HTMLElement): HTMLElement[];
17
19
 
18
- declare function loomKit(): Extension[];
20
+ declare function markloomKit(): Extension[];
19
21
 
20
22
  declare const boldMark: Extension;
21
23
  declare const italicMark: Extension;
@@ -152,4 +154,4 @@ declare class TocPanel {
152
154
  private paint;
153
155
  }
154
156
 
155
- export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, loomKit, markExtensions, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
157
+ export { type AskInputOpts, type AskLinkPopoverOpts, CommentPanel, type CommentPanelHost, Extension, NodeView, TocPanel, type TocPanelHost, askInput, askLinkPopover, blockExtensions, boldMark, bubbleMenu, closeAskInput, codeBlock, codeControls, codeMark, comments, decorationExtensions, domToPoint, dragHandle, elementChildren, embedBlock, emoji, highlightMark, history, hrBlock, imageBlock, inputRules, invisibleCharacters, italicMark, linkMark, markExtensions, markloomKit, mentionMenu, normalizeLinkUrl, pointToDom, readSelection, rootEl, shikiCodeView, slashMenu, strikeMark, subscriptMark, superscriptMark, tableBlock, textAlign, textStyleMark, typography, underlineMark, writeSelection };
@@ -40,11 +40,11 @@ import {
40
40
  lineBoundaryBack,
41
41
  lineBoundaryFwd,
42
42
  linkMark,
43
- loomKit,
44
43
  mapInput,
45
44
  mapPaste,
46
45
  mapPasteBlocks,
47
46
  markExtensions,
47
+ markloomKit,
48
48
  marksAtCaret,
49
49
  mentionMenu,
50
50
  mergeTextStyleAttrs,
@@ -79,8 +79,8 @@ import {
79
79
  wordBoundaryFwd,
80
80
  wrapList,
81
81
  youtubeId
82
- } from "../chunk-UCNEQGMY.js";
83
- import "../chunk-ITVAR2UM.js";
82
+ } from "../chunk-WUHTCCAE.js";
83
+ import "../chunk-LEYAQNJA.js";
84
84
  import {
85
85
  blockPlainText,
86
86
  domToPoint,
@@ -91,8 +91,11 @@ import {
91
91
  rootEl,
92
92
  startAiWrite,
93
93
  writeSelection
94
- } from "../chunk-GUPMZI6Q.js";
95
- import "../chunk-J3QWW6CN.js";
94
+ } from "../chunk-JMOJU5EU.js";
95
+ import "../chunk-MFYF2A6U.js";
96
+ import "../chunk-6DCI7AL3.js";
97
+ import "../chunk-RLTHVQNQ.js";
98
+ import "../chunk-LA5SBCGQ.js";
96
99
 
97
100
  // src/view/shiki-code-view.ts
98
101
  import { h } from "preact";
@@ -319,11 +322,11 @@ export {
319
322
  lineBoundaryBack,
320
323
  lineBoundaryFwd,
321
324
  linkMark,
322
- loomKit,
323
325
  mapInput,
324
326
  mapPaste,
325
327
  mapPasteBlocks,
326
328
  markExtensions,
329
+ markloomKit,
327
330
  marksAtCaret,
328
331
  mentionMenu,
329
332
  mergeTextStyleAttrs,