quoin-editor 1.3.0 → 1.4.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 (142) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/THIRD_PARTY_NOTICES.md +47 -0
  3. package/dist/ai.cjs +21 -22
  4. package/dist/ai.cjs.map +1 -1
  5. package/dist/ai.d.cts +3 -2
  6. package/dist/ai.d.ts +3 -2
  7. package/dist/ai.js +1 -2
  8. package/dist/ai.js.map +1 -1
  9. package/dist/catalogue.cjs +15 -15
  10. package/dist/catalogue.d.cts +9 -8
  11. package/dist/catalogue.d.ts +9 -8
  12. package/dist/catalogue.js +8 -8
  13. package/dist/{chunk-HRTIY6NY.cjs → chunk-3NVFHJFS.cjs} +20 -19
  14. package/dist/chunk-3NVFHJFS.cjs.map +1 -0
  15. package/dist/{chunk-QGQFA5HD.js → chunk-3YA7FYEL.js} +7 -4
  16. package/dist/chunk-3YA7FYEL.js.map +1 -0
  17. package/dist/{chunk-5MQ2AL7L.cjs → chunk-65WK575V.cjs} +552 -96
  18. package/dist/chunk-65WK575V.cjs.map +1 -0
  19. package/dist/{chunk-OZIRHN5H.js → chunk-6LOYAC5N.js} +5 -4
  20. package/dist/chunk-6LOYAC5N.js.map +1 -0
  21. package/dist/{chunk-7RZNJR4J.cjs → chunk-7WSBPD6Z.cjs} +44 -41
  22. package/dist/chunk-7WSBPD6Z.cjs.map +1 -0
  23. package/dist/{chunk-5YQKKFYB.js → chunk-AC4AFDTI.js} +3 -3
  24. package/dist/{chunk-5YQKKFYB.js.map → chunk-AC4AFDTI.js.map} +1 -1
  25. package/dist/{chunk-3YXV6LP7.cjs → chunk-AZ2ZNSFN.cjs} +17 -18
  26. package/dist/chunk-AZ2ZNSFN.cjs.map +1 -0
  27. package/dist/{chunk-5ILVILAJ.cjs → chunk-FQDNF7MF.cjs} +41 -42
  28. package/dist/chunk-FQDNF7MF.cjs.map +1 -0
  29. package/dist/{chunk-AY5ANGXK.cjs → chunk-H5FM6I5W.cjs} +9 -9
  30. package/dist/{chunk-AY5ANGXK.cjs.map → chunk-H5FM6I5W.cjs.map} +1 -1
  31. package/dist/{chunk-DGWAVYTO.js → chunk-KRLHGVJV.js} +5 -4
  32. package/dist/chunk-KRLHGVJV.js.map +1 -0
  33. package/dist/{chunk-YFPEJP6W.js → chunk-MQTLZTIM.js} +446 -23
  34. package/dist/chunk-MQTLZTIM.js.map +1 -0
  35. package/dist/{chunk-YWYOLZWB.cjs → chunk-QPOUONJ7.cjs} +23 -22
  36. package/dist/chunk-QPOUONJ7.cjs.map +1 -0
  37. package/dist/{chunk-FWETDMCE.js → chunk-STCJWXP5.js} +3 -4
  38. package/dist/chunk-STCJWXP5.js.map +1 -0
  39. package/dist/{chunk-X2CN6FXA.cjs → chunk-VUYJGFUA.cjs} +12 -11
  40. package/dist/chunk-VUYJGFUA.cjs.map +1 -0
  41. package/dist/{chunk-R5RI4SFY.js → chunk-VVS6JJLI.js} +5 -4
  42. package/dist/chunk-VVS6JJLI.js.map +1 -0
  43. package/dist/{chunk-UWTU4V3G.js → chunk-YEQEBJPM.js} +3 -4
  44. package/dist/chunk-YEQEBJPM.js.map +1 -0
  45. package/dist/comments.cjs +21 -21
  46. package/dist/comments.cjs.map +1 -1
  47. package/dist/comments.d.cts +3 -2
  48. package/dist/comments.d.ts +3 -2
  49. package/dist/comments.js +5 -5
  50. package/dist/comments.js.map +1 -1
  51. package/dist/diff.d.cts +7 -5
  52. package/dist/diff.d.ts +7 -5
  53. package/dist/docx.d.cts +3 -2
  54. package/dist/docx.d.ts +3 -2
  55. package/dist/embed.cjs +4 -4
  56. package/dist/embed.d.cts +4 -3
  57. package/dist/embed.d.ts +4 -3
  58. package/dist/embed.js +2 -2
  59. package/dist/emoji-data.cjs +272 -263
  60. package/dist/emoji-data.cjs.map +1 -1
  61. package/dist/emoji-data.js +272 -263
  62. package/dist/emoji-data.js.map +1 -1
  63. package/dist/{emoji-extension-W7WYXOxF.d.ts → emoji-extension-C3o_Y5uC.d.cts} +3 -2
  64. package/dist/{emoji-extension-j6FdAXPA.d.cts → emoji-extension-gRKnbW8G.d.ts} +3 -2
  65. package/dist/emoji.cjs +5 -5
  66. package/dist/emoji.d.cts +5 -4
  67. package/dist/emoji.d.ts +5 -4
  68. package/dist/emoji.js +2 -2
  69. package/dist/engine.d.cts +5 -4
  70. package/dist/engine.d.ts +5 -4
  71. package/dist/{find-extension-DhVtoyGx.d.cts → find-extension-BGGsJMu4.d.cts} +3 -2
  72. package/dist/{find-extension-CwhUbnM7.d.ts → find-extension-B_Ctrs6T.d.ts} +3 -2
  73. package/dist/find.cjs +6 -6
  74. package/dist/find.d.cts +5 -4
  75. package/dist/find.d.ts +5 -4
  76. package/dist/find.js +2 -2
  77. package/dist/headless.d.cts +8 -7
  78. package/dist/headless.d.ts +8 -7
  79. package/dist/{index-CLSQdbjq.d.ts → index-CsG7OQoq.d.cts} +3 -2
  80. package/dist/{index-KM5kJs7H.d.cts → index-h1llgZM-.d.ts} +3 -2
  81. package/dist/index.cjs +12 -12
  82. package/dist/index.d.cts +9 -8
  83. package/dist/index.d.ts +9 -8
  84. package/dist/index.js +1 -1
  85. package/dist/math.cjs +4 -4
  86. package/dist/math.d.cts +4 -3
  87. package/dist/math.d.ts +4 -3
  88. package/dist/math.js +2 -2
  89. package/dist/mention.cjs +4 -4
  90. package/dist/mention.d.cts +3 -2
  91. package/dist/mention.d.ts +3 -2
  92. package/dist/mention.js +2 -2
  93. package/dist/presence.cjs +1 -1
  94. package/dist/presence.d.cts +4 -3
  95. package/dist/presence.d.ts +4 -3
  96. package/dist/presence.js +1 -1
  97. package/dist/{registry-CXegaw5k.d.cts → registry-DdQaddP1.d.cts} +2 -1
  98. package/dist/{registry-CXegaw5k.d.ts → registry-DdQaddP1.d.ts} +2 -1
  99. package/dist/{stats-extension-ByKYtIB5.d.cts → stats-extension-XqOTvRaq.d.cts} +3 -2
  100. package/dist/{stats-extension-DNEtte9E.d.ts → stats-extension-oD6D1cYy.d.ts} +3 -2
  101. package/dist/stats.cjs +1 -1
  102. package/dist/stats.d.cts +5 -4
  103. package/dist/stats.d.ts +5 -4
  104. package/dist/stats.js +1 -1
  105. package/dist/styles.css +1 -1
  106. package/dist/{table-extension-DuphgC4v.d.cts → table-extension-BP47hHoz.d.cts} +3 -2
  107. package/dist/{table-extension-BT6DTOXL.d.ts → table-extension-v6VB59bF.d.ts} +3 -2
  108. package/dist/table.cjs +21 -21
  109. package/dist/table.d.cts +5 -4
  110. package/dist/table.d.ts +5 -4
  111. package/dist/table.js +2 -2
  112. package/dist/{to-html-DwhNK6-9.d.cts → to-html-1oD-CDle.d.cts} +2 -1
  113. package/dist/{to-html-B_NwgPSz.d.ts → to-html-CLRBCX0I.d.ts} +2 -1
  114. package/dist/{toc-extension-B0Datrvu.d.ts → toc-extension-CI6jNOYl.d.cts} +3 -2
  115. package/dist/{toc-extension-RtMspT0A.d.cts → toc-extension-CTHWjNJC.d.ts} +3 -2
  116. package/dist/toc.cjs +5 -5
  117. package/dist/toc.d.cts +5 -4
  118. package/dist/toc.d.ts +5 -4
  119. package/dist/toc.js +2 -2
  120. package/dist/{types-rf9DGNaS.d.ts → types-BjLcmV00.d.ts} +2 -1
  121. package/dist/{types-DM6gsVga.d.cts → types-DXF9p4qV.d.cts} +2 -1
  122. package/dist/{view-controller-BzXblb44.d.cts → view-controller-BfVSNZYZ.d.cts} +3 -2
  123. package/dist/{view-controller-CdzfG_xK.d.ts → view-controller-p-2x3J7Y.d.ts} +3 -2
  124. package/dist/view.d.cts +7 -5
  125. package/dist/view.d.ts +7 -5
  126. package/dist/yjs.d.cts +4 -4
  127. package/dist/yjs.d.ts +4 -4
  128. package/package.json +19 -18
  129. package/dist/chunk-3YXV6LP7.cjs.map +0 -1
  130. package/dist/chunk-5ILVILAJ.cjs.map +0 -1
  131. package/dist/chunk-5MQ2AL7L.cjs.map +0 -1
  132. package/dist/chunk-7RZNJR4J.cjs.map +0 -1
  133. package/dist/chunk-DGWAVYTO.js.map +0 -1
  134. package/dist/chunk-FWETDMCE.js.map +0 -1
  135. package/dist/chunk-HRTIY6NY.cjs.map +0 -1
  136. package/dist/chunk-OZIRHN5H.js.map +0 -1
  137. package/dist/chunk-QGQFA5HD.js.map +0 -1
  138. package/dist/chunk-R5RI4SFY.js.map +0 -1
  139. package/dist/chunk-UWTU4V3G.js.map +0 -1
  140. package/dist/chunk-X2CN6FXA.cjs.map +0 -1
  141. package/dist/chunk-YFPEJP6W.js.map +0 -1
  142. package/dist/chunk-YWYOLZWB.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { E as Extension } from './types-rf9DGNaS.js';
1
+ import { E as Extension } from './types-DXF9p4qV.cjs';
2
2
 
3
3
  /** The groups of the emoji dataset, in the order the picker shows them. */
4
4
  type EmojiGroup = 'smileys' | 'people' | 'animals' | 'food' | 'travel' | 'activities' | 'objects' | 'symbols' | 'flags';
@@ -43,4 +43,5 @@ type EmojiOptions = {
43
43
  */
44
44
  declare function emojiExtension(options?: EmojiOptions): Extension;
45
45
 
46
- export { type Emoji as E, type EmojiGroup as a, type EmojiLabels as b, type EmojiOptions as c, englishEmojiLabels as d, emojiExtension as e };
46
+ export { englishEmojiLabels as d, emojiExtension as e };
47
+ export type { Emoji as E, EmojiGroup as a, EmojiLabels as b, EmojiOptions as c };
@@ -1,4 +1,4 @@
1
- import { E as Extension } from './types-DM6gsVga.cjs';
1
+ import { E as Extension } from './types-BjLcmV00.js';
2
2
 
3
3
  /** The groups of the emoji dataset, in the order the picker shows them. */
4
4
  type EmojiGroup = 'smileys' | 'people' | 'animals' | 'food' | 'travel' | 'activities' | 'objects' | 'symbols' | 'flags';
@@ -43,4 +43,5 @@ type EmojiOptions = {
43
43
  */
44
44
  declare function emojiExtension(options?: EmojiOptions): Extension;
45
45
 
46
- export { type Emoji as E, type EmojiGroup as a, type EmojiLabels as b, type EmojiOptions as c, englishEmojiLabels as d, emojiExtension as e };
46
+ export { englishEmojiLabels as d, emojiExtension as e };
47
+ export type { Emoji as E, EmojiGroup as a, EmojiLabels as b, EmojiOptions as c };
package/dist/emoji.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkYWYOLZWB_cjs = require('./chunk-YWYOLZWB.cjs');
5
- require('./chunk-5MQ2AL7L.cjs');
4
+ var chunkQPOUONJ7_cjs = require('./chunk-QPOUONJ7.cjs');
5
+ require('./chunk-65WK575V.cjs');
6
6
  require('./chunk-QJ34MOFV.cjs');
7
7
  require('./chunk-A6PGQVTR.cjs');
8
8
  require('./chunk-VZZPCYA3.cjs');
@@ -13,15 +13,15 @@ require('./chunk-WZA5S5EJ.cjs');
13
13
 
14
14
  Object.defineProperty(exports, "emojiExtension", {
15
15
  enumerable: true,
16
- get: function () { return chunkYWYOLZWB_cjs.emojiExtension; }
16
+ get: function () { return chunkQPOUONJ7_cjs.emojiExtension; }
17
17
  });
18
18
  Object.defineProperty(exports, "englishEmojiLabels", {
19
19
  enumerable: true,
20
- get: function () { return chunkYWYOLZWB_cjs.englishEmojiLabels; }
20
+ get: function () { return chunkQPOUONJ7_cjs.englishEmojiLabels; }
21
21
  });
22
22
  Object.defineProperty(exports, "loadEmojiData", {
23
23
  enumerable: true,
24
- get: function () { return chunkYWYOLZWB_cjs.loadEmojiData; }
24
+ get: function () { return chunkQPOUONJ7_cjs.loadEmojiData; }
25
25
  });
26
26
  //# sourceMappingURL=emoji.cjs.map
27
27
  //# sourceMappingURL=emoji.cjs.map
package/dist/emoji.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { E as Emoji } from './emoji-extension-j6FdAXPA.cjs';
2
- export { a as EmojiGroup, b as EmojiLabels, c as EmojiOptions, e as emojiExtension, d as englishEmojiLabels } from './emoji-extension-j6FdAXPA.cjs';
3
- import './types-DM6gsVga.cjs';
1
+ import { E as Emoji } from './emoji-extension-C3o_Y5uC.cjs';
2
+ export { a as EmojiGroup, b as EmojiLabels, c as EmojiOptions, e as emojiExtension, d as englishEmojiLabels } from './emoji-extension-C3o_Y5uC.cjs';
3
+ import './types-DXF9p4qV.cjs';
4
4
  import './types-CQ8Vw_7N.cjs';
5
5
 
6
6
  /** The emoji one of whose shortcodes is `code`, whatever its case, written without colons. */
@@ -28,4 +28,5 @@ type EmojiData = {
28
28
  */
29
29
  declare const loadEmojiData: () => Promise<EmojiData>;
30
30
 
31
- export { Emoji, type EmojiData, loadEmojiData };
31
+ export { Emoji, loadEmojiData };
32
+ export type { EmojiData };
package/dist/emoji.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { E as Emoji } from './emoji-extension-W7WYXOxF.js';
2
- export { a as EmojiGroup, b as EmojiLabels, c as EmojiOptions, e as emojiExtension, d as englishEmojiLabels } from './emoji-extension-W7WYXOxF.js';
3
- import './types-rf9DGNaS.js';
1
+ import { E as Emoji } from './emoji-extension-gRKnbW8G.js';
2
+ export { a as EmojiGroup, b as EmojiLabels, c as EmojiOptions, e as emojiExtension, d as englishEmojiLabels } from './emoji-extension-gRKnbW8G.js';
3
+ import './types-BjLcmV00.js';
4
4
  import './types-CQ8Vw_7N.js';
5
5
 
6
6
  /** The emoji one of whose shortcodes is `code`, whatever its case, written without colons. */
@@ -28,4 +28,5 @@ type EmojiData = {
28
28
  */
29
29
  declare const loadEmojiData: () => Promise<EmojiData>;
30
30
 
31
- export { Emoji, type EmojiData, loadEmojiData };
31
+ export { Emoji, loadEmojiData };
32
+ export type { EmojiData };
package/dist/emoji.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { emojiExtension, englishEmojiLabels, loadEmojiData } from './chunk-R5RI4SFY.js';
3
- import './chunk-YFPEJP6W.js';
2
+ export { emojiExtension, englishEmojiLabels, loadEmojiData } from './chunk-VVS6JJLI.js';
3
+ import './chunk-MQTLZTIM.js';
4
4
  import './chunk-XFEDJEJF.js';
5
5
  import './chunk-HDJ653LM.js';
6
6
  import './chunk-OS2O6IKX.js';
package/dist/engine.d.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { A as Attrs, M as Mark, c as AtomNode, m as InlineNode, I as Inline, T as TextNode, i as BlockSpec, n as MarkSpec, e as AtomSpec, S as Schema, Q as QuoinBlock, k as EngineBlock, E as EngineDoc, C as CodecContext, s as StepJSON, a as Step, j as CreatedBlock, h as BlockRangeSelection, N as NodeSelection, P as Pos, u as TextSelection, p as ParseInlineOptions, r as SerializeInlineOptions } from './types-CQ8Vw_7N.cjs';
2
2
  export { d as Assoc, B as BlockAttrs, f as BlockContent, g as BlockFlow, l as InlineCodec, o as MarkdownExportContext, q as PosMap, b as Selection, t as StepResult } from './types-CQ8Vw_7N.cjs';
3
- import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-DM6gsVga.cjs';
4
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DM6gsVga.cjs';
3
+ import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-DXF9p4qV.cjs';
4
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DXF9p4qV.cjs';
5
5
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.cjs';
6
- export { H as HTMLOptions, t as toHTML } from './to-html-DwhNK6-9.cjs';
6
+ export { H as HTMLOptions, t as toHTML } from './to-html-1oD-CDle.cjs';
7
7
 
8
8
  declare function text(value: string, marks?: readonly Mark[]): TextNode;
9
9
  declare function atom(type: string, attrs: Attrs, marks?: readonly Mark[]): AtomNode;
@@ -144,4 +144,5 @@ declare function diffBlocks(a: readonly QuoinBlock[], b: readonly QuoinBlock[],
144
144
 
145
145
  declare function defineExtension<E extends Extension>(extension: E): E;
146
146
 
147
- export { AtomNode, AtomSpec, Attrs, type AttrsPatch, type BlockChange, type BlockCodec, type BlockDiff, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, type FromMarkdownOptions, Inline, type InlineChange, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, PALETTE, ParseInlineOptions, Pos, QuoinBlock, Schema, type SchemaInput, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, type ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo };
147
+ export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, PALETTE, ParseInlineOptions, Pos, QuoinBlock, Schema, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo };
148
+ export type { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput, ToMarkdownOptions };
package/dist/engine.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { A as Attrs, M as Mark, c as AtomNode, m as InlineNode, I as Inline, T as TextNode, i as BlockSpec, n as MarkSpec, e as AtomSpec, S as Schema, Q as QuoinBlock, k as EngineBlock, E as EngineDoc, C as CodecContext, s as StepJSON, a as Step, j as CreatedBlock, h as BlockRangeSelection, N as NodeSelection, P as Pos, u as TextSelection, p as ParseInlineOptions, r as SerializeInlineOptions } from './types-CQ8Vw_7N.js';
2
2
  export { d as Assoc, B as BlockAttrs, f as BlockContent, g as BlockFlow, l as InlineCodec, o as MarkdownExportContext, q as PosMap, b as Selection, t as StepResult } from './types-CQ8Vw_7N.js';
3
- import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-rf9DGNaS.js';
4
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-rf9DGNaS.js';
3
+ import { b as Command, I as InputRule, o as TextStats, E as Extension } from './types-BjLcmV00.js';
4
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, a as Editor, j as EditorOptions, c as EditorState, F as FromHTMLOptions, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-BjLcmV00.js';
5
5
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.js';
6
- export { H as HTMLOptions, t as toHTML } from './to-html-B_NwgPSz.js';
6
+ export { H as HTMLOptions, t as toHTML } from './to-html-CLRBCX0I.js';
7
7
 
8
8
  declare function text(value: string, marks?: readonly Mark[]): TextNode;
9
9
  declare function atom(type: string, attrs: Attrs, marks?: readonly Mark[]): AtomNode;
@@ -144,4 +144,5 @@ declare function diffBlocks(a: readonly QuoinBlock[], b: readonly QuoinBlock[],
144
144
 
145
145
  declare function defineExtension<E extends Extension>(extension: E): E;
146
146
 
147
- export { AtomNode, AtomSpec, Attrs, type AttrsPatch, type BlockChange, type BlockCodec, type BlockDiff, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, type FromMarkdownOptions, Inline, type InlineChange, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, PALETTE, ParseInlineOptions, Pos, QuoinBlock, Schema, type SchemaInput, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, type ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo };
147
+ export { AtomNode, AtomSpec, Attrs, BlockRangeSelection, BlockSpec, CodecContext, Command, CreatedBlock, EngineBlock, EngineDoc, Extension, Inline, InlineNode, InputRule, Mark, MarkSpec, NodeSelection, PALETTE, ParseInlineOptions, Pos, QuoinBlock, Schema, SerializeInlineOptions, Step, StepJSON, TextNode, TextSelection, TextStats, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo };
148
+ export type { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput, ToMarkdownOptions };
@@ -1,4 +1,4 @@
1
- import { E as Extension } from './types-DM6gsVga.cjs';
1
+ import { E as Extension } from './types-DXF9p4qV.cjs';
2
2
 
3
3
  /** Every string the find and replace feature shows or speaks. */
4
4
  type FindLabels = {
@@ -38,4 +38,5 @@ type FindOptions = {
38
38
  */
39
39
  declare function findExtension(options?: FindOptions): Extension;
40
40
 
41
- export { type FindLabels as F, type FindOptions as a, englishFindLabels as e, findExtension as f };
41
+ export { englishFindLabels as e, findExtension as f };
42
+ export type { FindLabels as F, FindOptions as a };
@@ -1,4 +1,4 @@
1
- import { E as Extension } from './types-rf9DGNaS.js';
1
+ import { E as Extension } from './types-BjLcmV00.js';
2
2
 
3
3
  /** Every string the find and replace feature shows or speaks. */
4
4
  type FindLabels = {
@@ -38,4 +38,5 @@ type FindOptions = {
38
38
  */
39
39
  declare function findExtension(options?: FindOptions): Extension;
40
40
 
41
- export { type FindLabels as F, type FindOptions as a, englishFindLabels as e, findExtension as f };
41
+ export { englishFindLabels as e, findExtension as f };
42
+ export type { FindLabels as F, FindOptions as a };
package/dist/find.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk3YXV6LP7_cjs = require('./chunk-3YXV6LP7.cjs');
5
- require('./chunk-5MQ2AL7L.cjs');
4
+ var chunkAZ2ZNSFN_cjs = require('./chunk-AZ2ZNSFN.cjs');
5
+ require('./chunk-65WK575V.cjs');
6
6
  require('./chunk-QJ34MOFV.cjs');
7
7
  require('./chunk-A6PGQVTR.cjs');
8
8
  require('./chunk-VZZPCYA3.cjs');
@@ -13,19 +13,19 @@ require('./chunk-WZA5S5EJ.cjs');
13
13
 
14
14
  Object.defineProperty(exports, "englishFindLabels", {
15
15
  enumerable: true,
16
- get: function () { return chunk3YXV6LP7_cjs.englishFindLabels; }
16
+ get: function () { return chunkAZ2ZNSFN_cjs.englishFindLabels; }
17
17
  });
18
18
  Object.defineProperty(exports, "findExtension", {
19
19
  enumerable: true,
20
- get: function () { return chunk3YXV6LP7_cjs.findExtension; }
20
+ get: function () { return chunkAZ2ZNSFN_cjs.findExtension; }
21
21
  });
22
22
  Object.defineProperty(exports, "findMatches", {
23
23
  enumerable: true,
24
- get: function () { return chunk3YXV6LP7_cjs.findMatches; }
24
+ get: function () { return chunkAZ2ZNSFN_cjs.findMatches; }
25
25
  });
26
26
  Object.defineProperty(exports, "replaceMatches", {
27
27
  enumerable: true,
28
- get: function () { return chunk3YXV6LP7_cjs.replaceMatches; }
28
+ get: function () { return chunkAZ2ZNSFN_cjs.replaceMatches; }
29
29
  });
30
30
  //# sourceMappingURL=find.cjs.map
31
31
  //# sourceMappingURL=find.cjs.map
package/dist/find.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- export { F as FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-DhVtoyGx.cjs';
2
- import { E as EngineDoc } from './types-CQ8Vw_7N.cjs';
3
- import { b as Command } from './types-DM6gsVga.cjs';
1
+ export { F as FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-BGGsJMu4.cjs';
2
+ import { EngineDoc } from './engine.cjs';
3
+ import { Command } from './engine.cjs';
4
4
 
5
5
  type SearchOptions = {
6
6
  readonly caseSensitive: boolean;
@@ -41,4 +41,5 @@ declare function findMatches(doc: EngineDoc, query: string, options: SearchOptio
41
41
  */
42
42
  declare function replaceMatches(search: FindQuery, matches: readonly FindMatch[], replacement: string): Command;
43
43
 
44
- export { type FindMatch, type FindQuery, type FindResult, type SearchOptions, findMatches, replaceMatches };
44
+ export { findMatches, replaceMatches };
45
+ export type { FindMatch, FindQuery, FindResult, SearchOptions };
package/dist/find.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { F as FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-CwhUbnM7.js';
2
- import { E as EngineDoc } from './types-CQ8Vw_7N.js';
3
- import { b as Command } from './types-rf9DGNaS.js';
1
+ export { F as FindLabels, a as FindOptions, e as englishFindLabels, f as findExtension } from './find-extension-B_Ctrs6T.js';
2
+ import { EngineDoc } from './engine.js';
3
+ import { Command } from './engine.js';
4
4
 
5
5
  type SearchOptions = {
6
6
  readonly caseSensitive: boolean;
@@ -41,4 +41,5 @@ declare function findMatches(doc: EngineDoc, query: string, options: SearchOptio
41
41
  */
42
42
  declare function replaceMatches(search: FindQuery, matches: readonly FindMatch[], replacement: string): Command;
43
43
 
44
- export { type FindMatch, type FindQuery, type FindResult, type SearchOptions, findMatches, replaceMatches };
44
+ export { findMatches, replaceMatches };
45
+ export type { FindMatch, FindQuery, FindResult, SearchOptions };
package/dist/find.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-FWETDMCE.js';
3
- import './chunk-YFPEJP6W.js';
2
+ export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-STCJWXP5.js';
3
+ import './chunk-MQTLZTIM.js';
4
4
  import './chunk-XFEDJEJF.js';
5
5
  import './chunk-HDJ653LM.js';
6
6
  import './chunk-OS2O6IKX.js';
@@ -1,14 +1,14 @@
1
- import { R as RenderOptions, V as ViewController } from './view-controller-BzXblb44.cjs';
2
- export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-BzXblb44.cjs';
1
+ import { R as RenderOptions, V as ViewController } from './view-controller-BfVSNZYZ.cjs';
2
+ export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-BfVSNZYZ.cjs';
3
3
  import { I as Inline, b as Selection, k as EngineBlock, S as Schema, Q as QuoinBlock, P as Pos } from './types-CQ8Vw_7N.cjs';
4
4
  export { d as Assoc, c as AtomNode, e as AtomSpec, A as Attrs, B as BlockAttrs, f as BlockContent, g as BlockFlow, h as BlockRangeSelection, i as BlockSpec, C as CodecContext, j as CreatedBlock, E as EngineDoc, l as InlineCodec, m as InlineNode, M as Mark, n as MarkSpec, o as MarkdownExportContext, N as NodeSelection, p as ParseInlineOptions, q as PosMap, r as SerializeInlineOptions, a as Step, s as StepJSON, t as StepResult, T as TextNode, u as TextSelection } from './types-CQ8Vw_7N.cjs';
5
- import { D as Decoration, c as EditorState, E as Extension, T as Transaction } from './types-DM6gsVga.cjs';
6
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, b as Command, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, a as Editor, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DM6gsVga.cjs';
5
+ import { D as Decoration, c as EditorState, E as Extension, T as Transaction } from './types-DXF9p4qV.cjs';
6
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, b as Command, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, a as Editor, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DXF9p4qV.cjs';
7
7
  import * as react from 'react';
8
8
  import { ComponentType, ReactNode } from 'react';
9
9
  export { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, PALETTE, SchemaInput, ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo } from './engine.cjs';
10
10
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.cjs';
11
- export { H as HTMLOptions, t as toHTML } from './to-html-DwhNK6-9.cjs';
11
+ export { H as HTMLOptions, t as toHTML } from './to-html-1oD-CDle.cjs';
12
12
 
13
13
  type DomPoint = {
14
14
  node: Node;
@@ -104,7 +104,7 @@ type BlockShellProps = {
104
104
  block: EngineBlock;
105
105
  renderers: Readonly<Record<string, BlockRenderer>>;
106
106
  };
107
- declare const BlockShell: react.NamedExoticComponent<BlockShellProps>;
107
+ declare const BlockShell: react.MemoExoticComponent<({ block, renderers }: BlockShellProps) => react.JSX.Element | null>;
108
108
 
109
109
  type SelectionSinkProps = {
110
110
  label?: string;
@@ -115,4 +115,5 @@ declare function SelectionSink({ label, blockLabel }: SelectionSinkProps): react
115
115
  declare const defaultRenderers: Readonly<Record<string, BlockRenderer>>;
116
116
  declare const VoidBlockFallback: BlockRenderer;
117
117
 
118
- export { type BlockLabel, type BlockPlaceholder, type BlockRenderProps, type BlockRenderer, BlockShell, Decoration, type DomMap, type DomPoint, EditableRegion, type EditableRegionProps, EditorState, EditorView, type EditorViewProps, EngineBlock, Extension, Inline, Pos, QuoinBlock, RenderOptions, Schema, Selection, SelectionSink, Transaction, type UseQuoinEditorOptions, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController };
118
+ export { BlockShell, Decoration, EditableRegion, EditorState, EditorView, EngineBlock, Extension, Inline, Pos, QuoinBlock, RenderOptions, Schema, Selection, SelectionSink, Transaction, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController };
119
+ export type { BlockLabel, BlockPlaceholder, BlockRenderProps, BlockRenderer, DomMap, DomPoint, EditableRegionProps, EditorViewProps, UseQuoinEditorOptions };
@@ -1,14 +1,14 @@
1
- import { R as RenderOptions, V as ViewController } from './view-controller-CdzfG_xK.js';
2
- export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-CdzfG_xK.js';
1
+ import { R as RenderOptions, V as ViewController } from './view-controller-p-2x3J7Y.js';
2
+ export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-p-2x3J7Y.js';
3
3
  import { I as Inline, b as Selection, k as EngineBlock, S as Schema, Q as QuoinBlock, P as Pos } from './types-CQ8Vw_7N.js';
4
4
  export { d as Assoc, c as AtomNode, e as AtomSpec, A as Attrs, B as BlockAttrs, f as BlockContent, g as BlockFlow, h as BlockRangeSelection, i as BlockSpec, C as CodecContext, j as CreatedBlock, E as EngineDoc, l as InlineCodec, m as InlineNode, M as Mark, n as MarkSpec, o as MarkdownExportContext, N as NodeSelection, p as ParseInlineOptions, q as PosMap, r as SerializeInlineOptions, a as Step, s as StepJSON, t as StepResult, T as TextNode, u as TextSelection } from './types-CQ8Vw_7N.js';
5
- import { D as Decoration, c as EditorState, E as Extension, T as Transaction } from './types-rf9DGNaS.js';
6
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, b as Command, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, a as Editor, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-rf9DGNaS.js';
5
+ import { D as Decoration, c as EditorState, E as Extension, T as Transaction } from './types-BjLcmV00.js';
6
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, b as Command, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, a as Editor, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-BjLcmV00.js';
7
7
  import * as react from 'react';
8
8
  import { ComponentType, ReactNode } from 'react';
9
9
  export { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, PALETTE, SchemaInput, ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo } from './engine.js';
10
10
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.js';
11
- export { H as HTMLOptions, t as toHTML } from './to-html-B_NwgPSz.js';
11
+ export { H as HTMLOptions, t as toHTML } from './to-html-CLRBCX0I.js';
12
12
 
13
13
  type DomPoint = {
14
14
  node: Node;
@@ -104,7 +104,7 @@ type BlockShellProps = {
104
104
  block: EngineBlock;
105
105
  renderers: Readonly<Record<string, BlockRenderer>>;
106
106
  };
107
- declare const BlockShell: react.NamedExoticComponent<BlockShellProps>;
107
+ declare const BlockShell: react.MemoExoticComponent<({ block, renderers }: BlockShellProps) => react.JSX.Element | null>;
108
108
 
109
109
  type SelectionSinkProps = {
110
110
  label?: string;
@@ -115,4 +115,5 @@ declare function SelectionSink({ label, blockLabel }: SelectionSinkProps): react
115
115
  declare const defaultRenderers: Readonly<Record<string, BlockRenderer>>;
116
116
  declare const VoidBlockFallback: BlockRenderer;
117
117
 
118
- export { type BlockLabel, type BlockPlaceholder, type BlockRenderProps, type BlockRenderer, BlockShell, Decoration, type DomMap, type DomPoint, EditableRegion, type EditableRegionProps, EditorState, EditorView, type EditorViewProps, EngineBlock, Extension, Inline, Pos, QuoinBlock, RenderOptions, Schema, Selection, SelectionSink, Transaction, type UseQuoinEditorOptions, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController };
118
+ export { BlockShell, Decoration, EditableRegion, EditorState, EditorView, EngineBlock, Extension, Inline, Pos, QuoinBlock, RenderOptions, Schema, Selection, SelectionSink, Transaction, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController };
119
+ export type { BlockLabel, BlockPlaceholder, BlockRenderProps, BlockRenderer, DomMap, DomPoint, EditableRegionProps, EditorViewProps, UseQuoinEditorOptions };
@@ -1,5 +1,5 @@
1
1
  import * as Y from 'yjs';
2
- import { a as Editor, C as CommandFactories, T as Transaction, c as EditorState } from './types-rf9DGNaS.js';
2
+ import { a as Editor, C as CommandFactories, T as Transaction, c as EditorState } from './types-DXF9p4qV.cjs';
3
3
 
4
4
  type CollaborationHistory = {
5
5
  undo(): boolean;
@@ -65,4 +65,5 @@ type YjsCollaboration = CollaborationAdapter & {
65
65
  */
66
66
  declare function yjsCollaboration(options: YjsCollaborationOptions): YjsCollaboration;
67
67
 
68
- export { type CollaborationAdapter as C, type Seed as S, type YjsCollaboration as Y, type CollaborationHistory as a, type CollaborationUser as b, type YjsAwareness as c, type YjsCollaborationOptions as d, yjsCollaboration as y };
68
+ export { yjsCollaboration as y };
69
+ export type { CollaborationAdapter as C, Seed as S, YjsCollaboration as Y, CollaborationHistory as a, CollaborationUser as b, YjsAwareness as c, YjsCollaborationOptions as d };
@@ -1,5 +1,5 @@
1
1
  import * as Y from 'yjs';
2
- import { a as Editor, C as CommandFactories, T as Transaction, c as EditorState } from './types-DM6gsVga.cjs';
2
+ import { a as Editor, C as CommandFactories, T as Transaction, c as EditorState } from './types-BjLcmV00.js';
3
3
 
4
4
  type CollaborationHistory = {
5
5
  undo(): boolean;
@@ -65,4 +65,5 @@ type YjsCollaboration = CollaborationAdapter & {
65
65
  */
66
66
  declare function yjsCollaboration(options: YjsCollaborationOptions): YjsCollaboration;
67
67
 
68
- export { type CollaborationAdapter as C, type Seed as S, type YjsCollaboration as Y, type CollaborationHistory as a, type CollaborationUser as b, type YjsAwareness as c, type YjsCollaborationOptions as d, yjsCollaboration as y };
68
+ export { yjsCollaboration as y };
69
+ export type { CollaborationAdapter as C, Seed as S, YjsCollaboration as Y, CollaborationHistory as a, CollaborationUser as b, YjsAwareness as c, YjsCollaborationOptions as d };
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk5MQ2AL7L_cjs = require('./chunk-5MQ2AL7L.cjs');
4
+ var chunk65WK575V_cjs = require('./chunk-65WK575V.cjs');
5
5
  var chunkQJ34MOFV_cjs = require('./chunk-QJ34MOFV.cjs');
6
6
  var chunkA6PGQVTR_cjs = require('./chunk-A6PGQVTR.cjs');
7
7
  var chunkVZZPCYA3_cjs = require('./chunk-VZZPCYA3.cjs');
@@ -12,47 +12,47 @@ var chunkWZA5S5EJ_cjs = require('./chunk-WZA5S5EJ.cjs');
12
12
 
13
13
  Object.defineProperty(exports, "BlockCanvas", {
14
14
  enumerable: true,
15
- get: function () { return chunk5MQ2AL7L_cjs.BlockCanvas; }
15
+ get: function () { return chunk65WK575V_cjs.BlockCanvas; }
16
16
  });
17
17
  Object.defineProperty(exports, "FilePickerButton", {
18
18
  enumerable: true,
19
- get: function () { return chunk5MQ2AL7L_cjs.FilePickerButton; }
19
+ get: function () { return chunk65WK575V_cjs.FilePickerButton; }
20
20
  });
21
21
  Object.defineProperty(exports, "QuoinProvider", {
22
22
  enumerable: true,
23
- get: function () { return chunk5MQ2AL7L_cjs.QuoinProvider; }
23
+ get: function () { return chunk65WK575V_cjs.QuoinProvider; }
24
24
  });
25
25
  Object.defineProperty(exports, "UploadField", {
26
26
  enumerable: true,
27
- get: function () { return chunk5MQ2AL7L_cjs.UploadField; }
27
+ get: function () { return chunk65WK575V_cjs.UploadField; }
28
28
  });
29
29
  Object.defineProperty(exports, "coreBlocks", {
30
30
  enumerable: true,
31
- get: function () { return chunk5MQ2AL7L_cjs.coreBlocks; }
31
+ get: function () { return chunk65WK575V_cjs.coreBlocks; }
32
32
  });
33
33
  Object.defineProperty(exports, "englishLabels", {
34
34
  enumerable: true,
35
- get: function () { return chunk5MQ2AL7L_cjs.englishLabels; }
35
+ get: function () { return chunk65WK575V_cjs.englishLabels; }
36
36
  });
37
37
  Object.defineProperty(exports, "formatShortcut", {
38
38
  enumerable: true,
39
- get: function () { return chunk5MQ2AL7L_cjs.formatShortcut; }
39
+ get: function () { return chunk65WK575V_cjs.formatShortcut; }
40
40
  });
41
41
  Object.defineProperty(exports, "resolveLabels", {
42
42
  enumerable: true,
43
- get: function () { return chunk5MQ2AL7L_cjs.resolveLabels; }
43
+ get: function () { return chunk65WK575V_cjs.resolveLabels; }
44
44
  });
45
45
  Object.defineProperty(exports, "useAutosave", {
46
46
  enumerable: true,
47
- get: function () { return chunk5MQ2AL7L_cjs.useAutosave; }
47
+ get: function () { return chunk65WK575V_cjs.useAutosave; }
48
48
  });
49
49
  Object.defineProperty(exports, "useLabels", {
50
50
  enumerable: true,
51
- get: function () { return chunk5MQ2AL7L_cjs.useLabels; }
51
+ get: function () { return chunk65WK575V_cjs.useLabels; }
52
52
  });
53
53
  Object.defineProperty(exports, "useQuoin", {
54
54
  enumerable: true,
55
- get: function () { return chunk5MQ2AL7L_cjs.useQuoin; }
55
+ get: function () { return chunk65WK575V_cjs.useQuoin; }
56
56
  });
57
57
  Object.defineProperty(exports, "BlockShell", {
58
58
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,19 +1,19 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType } from 'react';
3
- import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-CXegaw5k.cjs';
4
- export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-CXegaw5k.cjs';
3
+ import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-DdQaddP1.cjs';
4
+ export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-DdQaddP1.cjs';
5
5
  import { Q as QuoinBlock, P as Pos } from './types-CQ8Vw_7N.cjs';
6
6
  export { d as Assoc, c as AtomNode, e as AtomSpec, A as Attrs, B as BlockAttrs, f as BlockContent, g as BlockFlow, h as BlockRangeSelection, i as BlockSpec, C as CodecContext, j as CreatedBlock, k as EngineBlock, E as EngineDoc, I as Inline, l as InlineCodec, m as InlineNode, M as Mark, n as MarkSpec, o as MarkdownExportContext, N as NodeSelection, p as ParseInlineOptions, q as PosMap, S as Schema, b as Selection, r as SerializeInlineOptions, a as Step, s as StepJSON, t as StepResult, T as TextNode, u as TextSelection } from './types-CQ8Vw_7N.cjs';
7
- import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-DM6gsVga.cjs';
8
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DM6gsVga.cjs';
7
+ import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-DXF9p4qV.cjs';
8
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-DXF9p4qV.cjs';
9
9
  import { PALETTE } from './engine.cjs';
10
10
  export { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput, ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo } from './engine.cjs';
11
- import { V as ViewController, R as RenderOptions } from './view-controller-BzXblb44.cjs';
12
- export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-BzXblb44.cjs';
11
+ import { V as ViewController, R as RenderOptions } from './view-controller-BfVSNZYZ.cjs';
12
+ export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-BfVSNZYZ.cjs';
13
13
  import { BlockRenderer } from './headless.cjs';
14
14
  export { BlockLabel, BlockPlaceholder, BlockRenderProps, BlockShell, DomMap, DomPoint, EditableRegion, EditableRegionProps, EditorView, EditorViewProps, SelectionSink, UseQuoinEditorOptions, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController } from './headless.cjs';
15
15
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.cjs';
16
- export { H as HTMLOptions, t as toHTML } from './to-html-DwhNK6-9.cjs';
16
+ export { H as HTMLOptions, t as toHTML } from './to-html-1oD-CDle.cjs';
17
17
 
18
18
  type PaletteName = (typeof PALETTE)[number];
19
19
 
@@ -510,4 +510,5 @@ type UseAutosaveResult = {
510
510
  */
511
511
  declare function useAutosave<T>({ deps, build, save, debounceMs, maxBackoffMs, maxRetries, isRetryable, flushOnHide, }: UseAutosaveInput<T>): UseAutosaveResult;
512
512
 
513
- export { AnyBlockDefinition, type AutosaveStatus, BlockCanvas, type BlockCanvasProps, type BlockMenuAction, BlockRenderer, type CalloutBlockData, type CodeBlockData, CodeHighlighter, Command, type CoreBlockData, Editor, EditorState, Extension, type ExtensionUI, type FileBlockData, FilePickerButton, type FilePickerButtonProps, type ImageBlockData, type MarkdownBlockData, PALETTE, Pos, QuoinBlock, type QuoinConfig, type QuoinConfigInput, type QuoinEditorHandle, type QuoinLabels, QuoinProvider, RenderOptions, type ShortcutPlatform, type SlashGroup, type SlashItem, type SuggestionRange, type ToolbarItem, UploadField, type UploadFieldProps, UploadFn, UploadResult, type UseAutosaveInput, type UseAutosaveResult, ViewController, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin };
513
+ export { AnyBlockDefinition, BlockCanvas, BlockRenderer, CodeHighlighter, Command, Editor, EditorState, Extension, FilePickerButton, PALETTE, Pos, QuoinBlock, QuoinProvider, RenderOptions, UploadField, UploadFn, UploadResult, ViewController, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin };
514
+ export type { AutosaveStatus, BlockCanvasProps, BlockMenuAction, CalloutBlockData, CodeBlockData, CoreBlockData, ExtensionUI, FileBlockData, FilePickerButtonProps, ImageBlockData, MarkdownBlockData, QuoinConfig, QuoinConfigInput, QuoinEditorHandle, QuoinLabels, ShortcutPlatform, SlashGroup, SlashItem, SuggestionRange, ToolbarItem, UploadFieldProps, UseAutosaveInput, UseAutosaveResult };
package/dist/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType } from 'react';
3
- import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-CXegaw5k.js';
4
- export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-CXegaw5k.js';
3
+ import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-DdQaddP1.js';
4
+ export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-DdQaddP1.js';
5
5
  import { Q as QuoinBlock, P as Pos } from './types-CQ8Vw_7N.js';
6
6
  export { d as Assoc, c as AtomNode, e as AtomSpec, A as Attrs, B as BlockAttrs, f as BlockContent, g as BlockFlow, h as BlockRangeSelection, i as BlockSpec, C as CodecContext, j as CreatedBlock, k as EngineBlock, E as EngineDoc, I as Inline, l as InlineCodec, m as InlineNode, M as Mark, n as MarkSpec, o as MarkdownExportContext, N as NodeSelection, p as ParseInlineOptions, q as PosMap, S as Schema, b as Selection, r as SerializeInlineOptions, a as Step, s as StepJSON, t as StepResult, T as TextNode, u as TextSelection } from './types-CQ8Vw_7N.js';
7
- import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-rf9DGNaS.js';
8
- export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-rf9DGNaS.js';
7
+ import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-BjLcmV00.js';
8
+ export { A as Align, B as BlockStructureOptions, e as BoundCommands, f as Chain, C as CommandFactories, g as CoreCommands, h as CoreExtensionOptions, i as DOMParserLike, D as Decoration, j as EditorOptions, F as FromHTMLOptions, I as InputRule, k as InputRuleContext, l as InputRuleRange, m as InsertTextOptions, K as KeyLike, M as MarkdownOptions, n as PasteRule, P as PluginKey, d as PluginSpec, S as Slice, o as TextStats, T as Transaction, p as TransactionOrigin, q as applyTransaction, r as coreExtensions, s as createEditor, t as createPluginKey, u as createState, v as fromHTML, w as getPluginState, x as insertBlockAfter, y as insertText, z as insertTextWithRules, G as keyName, H as normalizeKey, J as setBlockType, L as toggleMark } from './types-BjLcmV00.js';
9
9
  import { PALETTE } from './engine.js';
10
10
  export { AttrsPatch, BlockChange, BlockCodec, BlockDiff, FromMarkdownOptions, InlineChange, SchemaInput, ToMarkdownOptions, addMarkStep, atom, blockInputRules, blockRangeSelection, coreBlockSpecs, countDoc, countText, createBlockCodec, createSchema, defineExtension, diffBlocks, diffInline, fromMarkdown, insertBlocksStep, joinBlocksStep, markInputRules, moveBlocksStep, nodeSelection, normalizeInline, parseInline, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, sanitizeHref, serializeInline, setAttrsStep, setIndentStep, splitBlockStep, stepFromJSON, text, textSelection, toMarkdown, toPlainText, typographyRules, undo } from './engine.js';
11
- import { V as ViewController, R as RenderOptions } from './view-controller-CdzfG_xK.js';
12
- export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-CdzfG_xK.js';
11
+ import { V as ViewController, R as RenderOptions } from './view-controller-p-2x3J7Y.js';
12
+ export { A as AtomRenderer, K as KeyInterceptor, a as ViewControllerOptions, W as WidgetRenderer, h as hostKey } from './view-controller-p-2x3J7Y.js';
13
13
  import { BlockRenderer } from './headless.js';
14
14
  export { BlockLabel, BlockPlaceholder, BlockRenderProps, BlockShell, DomMap, DomPoint, EditableRegion, EditableRegionProps, EditorView, EditorViewProps, SelectionSink, UseQuoinEditorOptions, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController } from './headless.js';
15
15
  export { E as EmbedProvider, a as EmbedUrl } from './embed-provider-jXwlRmnp.js';
16
- export { H as HTMLOptions, t as toHTML } from './to-html-B_NwgPSz.js';
16
+ export { H as HTMLOptions, t as toHTML } from './to-html-CLRBCX0I.js';
17
17
 
18
18
  type PaletteName = (typeof PALETTE)[number];
19
19
 
@@ -510,4 +510,5 @@ type UseAutosaveResult = {
510
510
  */
511
511
  declare function useAutosave<T>({ deps, build, save, debounceMs, maxBackoffMs, maxRetries, isRetryable, flushOnHide, }: UseAutosaveInput<T>): UseAutosaveResult;
512
512
 
513
- export { AnyBlockDefinition, type AutosaveStatus, BlockCanvas, type BlockCanvasProps, type BlockMenuAction, BlockRenderer, type CalloutBlockData, type CodeBlockData, CodeHighlighter, Command, type CoreBlockData, Editor, EditorState, Extension, type ExtensionUI, type FileBlockData, FilePickerButton, type FilePickerButtonProps, type ImageBlockData, type MarkdownBlockData, PALETTE, Pos, QuoinBlock, type QuoinConfig, type QuoinConfigInput, type QuoinEditorHandle, type QuoinLabels, QuoinProvider, RenderOptions, type ShortcutPlatform, type SlashGroup, type SlashItem, type SuggestionRange, type ToolbarItem, UploadField, type UploadFieldProps, UploadFn, UploadResult, type UseAutosaveInput, type UseAutosaveResult, ViewController, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin };
513
+ export { AnyBlockDefinition, BlockCanvas, BlockRenderer, CodeHighlighter, Command, Editor, EditorState, Extension, FilePickerButton, PALETTE, Pos, QuoinBlock, QuoinProvider, RenderOptions, UploadField, UploadFn, UploadResult, ViewController, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin };
514
+ export type { AutosaveStatus, BlockCanvasProps, BlockMenuAction, CalloutBlockData, CodeBlockData, CoreBlockData, ExtensionUI, FileBlockData, FilePickerButtonProps, ImageBlockData, MarkdownBlockData, QuoinConfig, QuoinConfigInput, QuoinEditorHandle, QuoinLabels, ShortcutPlatform, SlashGroup, SlashItem, SuggestionRange, ToolbarItem, UploadFieldProps, UseAutosaveInput, UseAutosaveResult };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- export { BlockCanvas, FilePickerButton, QuoinProvider, UploadField, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin } from './chunk-YFPEJP6W.js';
2
+ export { BlockCanvas, FilePickerButton, QuoinProvider, UploadField, coreBlocks, englishLabels, formatShortcut, resolveLabels, useAutosave, useLabels, useQuoin } from './chunk-MQTLZTIM.js';
3
3
  export { BlockShell, EditableRegion, EditorView, SelectionSink, ViewController, VoidBlockFallback, caretFromPoint, defaultRenderers, domMapOf, hostKey, isCrossSelection, renderInline, useEditorState, useQuoinEditor, useViewController } from './chunk-XFEDJEJF.js';
4
4
  export { blockByType, defineBlock, paletteBlocks } from './chunk-HDJ653LM.js';
5
5
  export { Transaction, addMarkStep, applyTransaction, blockInputRules, blockRangeSelection, coreExtensions, countDoc, countText, createEditor, createPluginKey, createState, defineExtension, fromHTML, getPluginState, insertBlockAfter, insertBlocksStep, insertText, insertTextWithRules, joinBlocksStep, keyName, markInputRules, moveBlocksStep, nodeSelection, normalizeKey, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, setAttrsStep, setBlockType, setIndentStep, splitBlockStep, stepFromJSON, textSelection, toHTML, toMarkdown, toPlainText, toggleMark, typographyRules, undo } from './chunk-OS2O6IKX.js';
package/dist/math.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkHRTIY6NY_cjs = require('./chunk-HRTIY6NY.cjs');
4
+ var chunk3NVFHJFS_cjs = require('./chunk-3NVFHJFS.cjs');
5
5
  require('./chunk-XZ4NC3Q7.cjs');
6
6
  require('./chunk-AZF7B2AE.cjs');
7
- require('./chunk-5MQ2AL7L.cjs');
7
+ require('./chunk-65WK575V.cjs');
8
8
  require('./chunk-QJ34MOFV.cjs');
9
9
  require('./chunk-A6PGQVTR.cjs');
10
10
  require('./chunk-VZZPCYA3.cjs');
@@ -15,11 +15,11 @@ require('./chunk-WZA5S5EJ.cjs');
15
15
 
16
16
  Object.defineProperty(exports, "englishMathLabels", {
17
17
  enumerable: true,
18
- get: function () { return chunkHRTIY6NY_cjs.englishMathLabels; }
18
+ get: function () { return chunk3NVFHJFS_cjs.englishMathLabels; }
19
19
  });
20
20
  Object.defineProperty(exports, "mathExtension", {
21
21
  enumerable: true,
22
- get: function () { return chunkHRTIY6NY_cjs.mathExtension; }
22
+ get: function () { return chunk3NVFHJFS_cjs.mathExtension; }
23
23
  });
24
24
  //# sourceMappingURL=math.cjs.map
25
25
  //# sourceMappingURL=math.cjs.map
package/dist/math.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as Extension } from './types-DM6gsVga.cjs';
2
- import { H as HTMLOptions } from './to-html-DwhNK6-9.cjs';
1
+ import { Extension } from './engine.cjs';
2
+ import { HTMLOptions } from './engine.cjs';
3
3
  import './types-CQ8Vw_7N.cjs';
4
4
  import './embed-provider-jXwlRmnp.cjs';
5
5
 
@@ -46,4 +46,5 @@ type MathOptions = {
46
46
  */
47
47
  declare function mathExtension(options?: MathOptions): Extension;
48
48
 
49
- export { type MathLabels, type MathOptions, type RenderMath, englishMathLabels, mathExtension };
49
+ export { englishMathLabels, mathExtension };
50
+ export type { MathLabels, MathOptions, RenderMath };
package/dist/math.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as Extension } from './types-rf9DGNaS.js';
2
- import { H as HTMLOptions } from './to-html-B_NwgPSz.js';
1
+ import { Extension } from './engine.js';
2
+ import { HTMLOptions } from './engine.js';
3
3
  import './types-CQ8Vw_7N.js';
4
4
  import './embed-provider-jXwlRmnp.js';
5
5
 
@@ -46,4 +46,5 @@ type MathOptions = {
46
46
  */
47
47
  declare function mathExtension(options?: MathOptions): Extension;
48
48
 
49
- export { type MathLabels, type MathOptions, type RenderMath, englishMathLabels, mathExtension };
49
+ export { englishMathLabels, mathExtension };
50
+ export type { MathLabels, MathOptions, RenderMath };