@jvs-milkdown/crepe 1.2.2 → 1.2.3

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 (240) hide show
  1. package/lib/tsconfig.tsbuildinfo +1 -1
  2. package/lib/types/builder.d.ts +2 -0
  3. package/lib/types/builder.d.ts.map +1 -0
  4. package/lib/types/core/builder.d.ts +28 -0
  5. package/lib/types/core/builder.d.ts.map +1 -0
  6. package/lib/types/core/crepe.d.ts +12 -0
  7. package/lib/types/core/crepe.d.ts.map +1 -0
  8. package/lib/types/core/index.d.ts +5 -0
  9. package/lib/types/core/index.d.ts.map +1 -0
  10. package/lib/types/core/locale.d.ts +288 -0
  11. package/lib/types/core/locale.d.ts.map +1 -0
  12. package/lib/types/core/slice.d.ts +10 -0
  13. package/lib/types/core/slice.d.ts.map +1 -0
  14. package/lib/types/default-config/default-config.spec.d.ts +2 -0
  15. package/lib/types/default-config/default-config.spec.d.ts.map +1 -0
  16. package/lib/types/default-config/index.d.ts +4 -0
  17. package/lib/types/default-config/index.d.ts.map +1 -0
  18. package/lib/types/feature/attachment/config.d.ts +12 -0
  19. package/lib/types/feature/attachment/config.d.ts.map +1 -0
  20. package/lib/types/feature/attachment/index.d.ts +4 -0
  21. package/lib/types/feature/attachment/index.d.ts.map +1 -0
  22. package/lib/types/feature/attachment/schema.d.ts +3 -0
  23. package/lib/types/feature/attachment/schema.d.ts.map +1 -0
  24. package/lib/types/feature/attachment/view/components/attachment-block.d.ts +19 -0
  25. package/lib/types/feature/attachment/view/components/attachment-block.d.ts.map +1 -0
  26. package/lib/types/feature/attachment/view/index.d.ts +3 -0
  27. package/lib/types/feature/attachment/view/index.d.ts.map +1 -0
  28. package/lib/types/feature/block-edit/handle/component.d.ts +2 -0
  29. package/lib/types/feature/block-edit/handle/component.d.ts.map +1 -0
  30. package/lib/types/feature/block-edit/handle/index.d.ts +4 -0
  31. package/lib/types/feature/block-edit/handle/index.d.ts.map +1 -0
  32. package/lib/types/feature/block-edit/index.d.ts +95 -0
  33. package/lib/types/feature/block-edit/index.d.ts.map +1 -0
  34. package/lib/types/feature/block-edit/menu/api.d.ts +12 -0
  35. package/lib/types/feature/block-edit/menu/api.d.ts.map +1 -0
  36. package/lib/types/feature/block-edit/menu/component.d.ts +2 -0
  37. package/lib/types/feature/block-edit/menu/component.d.ts.map +1 -0
  38. package/lib/types/feature/block-edit/menu/config.d.ts +9 -0
  39. package/lib/types/feature/block-edit/menu/config.d.ts.map +1 -0
  40. package/lib/types/feature/block-edit/menu/index.d.ts +7 -0
  41. package/lib/types/feature/block-edit/menu/index.d.ts.map +1 -0
  42. package/lib/types/feature/block-edit/menu/utils.d.ts +6 -0
  43. package/lib/types/feature/block-edit/menu/utils.d.ts.map +1 -0
  44. package/lib/types/feature/code-mirror/index.d.ts +12 -0
  45. package/lib/types/feature/code-mirror/index.d.ts.map +1 -0
  46. package/lib/types/feature/cursor/index.d.ts +10 -0
  47. package/lib/types/feature/cursor/index.d.ts.map +1 -0
  48. package/lib/types/feature/fixed-toolbar/component.d.ts +2 -0
  49. package/lib/types/feature/fixed-toolbar/component.d.ts.map +1 -0
  50. package/lib/types/feature/fixed-toolbar/config.d.ts +6 -0
  51. package/lib/types/feature/fixed-toolbar/config.d.ts.map +1 -0
  52. package/lib/types/feature/fixed-toolbar/cover-defaults.d.ts +3 -0
  53. package/lib/types/feature/fixed-toolbar/cover-defaults.d.ts.map +1 -0
  54. package/lib/types/feature/fixed-toolbar/document-header.d.ts +2 -0
  55. package/lib/types/feature/fixed-toolbar/document-header.d.ts.map +1 -0
  56. package/lib/types/feature/fixed-toolbar/index.d.ts +25 -0
  57. package/lib/types/feature/fixed-toolbar/index.d.ts.map +1 -0
  58. package/lib/types/feature/fixed-toolbar/menu-bar.d.ts +2 -0
  59. package/lib/types/feature/fixed-toolbar/menu-bar.d.ts.map +1 -0
  60. package/lib/types/feature/fixed-toolbar/outline-panel.d.ts +2 -0
  61. package/lib/types/feature/fixed-toolbar/outline-panel.d.ts.map +1 -0
  62. package/lib/types/feature/fixed-toolbar/shortcut-help-modal.d.ts +2 -0
  63. package/lib/types/feature/fixed-toolbar/shortcut-help-modal.d.ts.map +1 -0
  64. package/lib/types/feature/fixed-toolbar/view-menu-state.d.ts +16 -0
  65. package/lib/types/feature/fixed-toolbar/view-menu-state.d.ts.map +1 -0
  66. package/lib/types/feature/image-block/index.d.ts +26 -0
  67. package/lib/types/feature/image-block/index.d.ts.map +1 -0
  68. package/lib/types/feature/index.d.ts +42 -0
  69. package/lib/types/feature/index.d.ts.map +1 -0
  70. package/lib/types/feature/latex/block-latex.d.ts +2 -0
  71. package/lib/types/feature/latex/block-latex.d.ts.map +1 -0
  72. package/lib/types/feature/latex/command.d.ts +2 -0
  73. package/lib/types/feature/latex/command.d.ts.map +1 -0
  74. package/lib/types/feature/latex/index.d.ts +9 -0
  75. package/lib/types/feature/latex/index.d.ts.map +1 -0
  76. package/lib/types/feature/latex/inline-latex.d.ts +3 -0
  77. package/lib/types/feature/latex/inline-latex.d.ts.map +1 -0
  78. package/lib/types/feature/latex/inline-tooltip/component.d.ts +2 -0
  79. package/lib/types/feature/latex/inline-tooltip/component.d.ts.map +1 -0
  80. package/lib/types/feature/latex/inline-tooltip/tooltip.d.ts +2 -0
  81. package/lib/types/feature/latex/inline-tooltip/tooltip.d.ts.map +1 -0
  82. package/lib/types/feature/latex/inline-tooltip/view.d.ts +13 -0
  83. package/lib/types/feature/latex/inline-tooltip/view.d.ts.map +1 -0
  84. package/lib/types/feature/latex/input-rule.d.ts +3 -0
  85. package/lib/types/feature/latex/input-rule.d.ts.map +1 -0
  86. package/lib/types/feature/latex/remark.d.ts +3 -0
  87. package/lib/types/feature/latex/remark.d.ts.map +1 -0
  88. package/lib/types/feature/link-tooltip/index.d.ts +13 -0
  89. package/lib/types/feature/link-tooltip/index.d.ts.map +1 -0
  90. package/lib/types/feature/list-item/index.d.ts +9 -0
  91. package/lib/types/feature/list-item/index.d.ts.map +1 -0
  92. package/lib/types/feature/loader.d.ts +4 -0
  93. package/lib/types/feature/loader.d.ts.map +1 -0
  94. package/lib/types/feature/placeholder/index.d.ts +11 -0
  95. package/lib/types/feature/placeholder/index.d.ts.map +1 -0
  96. package/lib/types/feature/placeholder/placeholder.spec.d.ts +2 -0
  97. package/lib/types/feature/placeholder/placeholder.spec.d.ts.map +1 -0
  98. package/lib/types/feature/shared.d.ts +3 -0
  99. package/lib/types/feature/shared.d.ts.map +1 -0
  100. package/lib/types/feature/table/index.d.ts +18 -0
  101. package/lib/types/feature/table/index.d.ts.map +1 -0
  102. package/lib/types/feature/table/test.d.ts +3 -0
  103. package/lib/types/feature/table/test.d.ts.map +1 -0
  104. package/lib/types/feature/toolbar/color.d.ts +9 -0
  105. package/lib/types/feature/toolbar/color.d.ts.map +1 -0
  106. package/lib/types/feature/toolbar/component.d.ts +2 -0
  107. package/lib/types/feature/toolbar/component.d.ts.map +1 -0
  108. package/lib/types/feature/toolbar/config.d.ts +17 -0
  109. package/lib/types/feature/toolbar/config.d.ts.map +1 -0
  110. package/lib/types/feature/toolbar/font.d.ts +17 -0
  111. package/lib/types/feature/toolbar/font.d.ts.map +1 -0
  112. package/lib/types/feature/toolbar/highlight-mark.d.ts +8 -0
  113. package/lib/types/feature/toolbar/highlight-mark.d.ts.map +1 -0
  114. package/lib/types/feature/toolbar/index.d.ts +24 -0
  115. package/lib/types/feature/toolbar/index.d.ts.map +1 -0
  116. package/lib/types/feature/toolbar/underline.d.ts +7 -0
  117. package/lib/types/feature/toolbar/underline.d.ts.map +1 -0
  118. package/lib/types/icons/align-center.d.ts +3 -0
  119. package/lib/types/icons/align-center.d.ts.map +1 -0
  120. package/lib/types/icons/align-left.d.ts +3 -0
  121. package/lib/types/icons/align-left.d.ts.map +1 -0
  122. package/lib/types/icons/align-right.d.ts +3 -0
  123. package/lib/types/icons/align-right.d.ts.map +1 -0
  124. package/lib/types/icons/bold.d.ts +3 -0
  125. package/lib/types/icons/bold.d.ts.map +1 -0
  126. package/lib/types/icons/border.d.ts +2 -0
  127. package/lib/types/icons/border.d.ts.map +1 -0
  128. package/lib/types/icons/bullet-list.d.ts +3 -0
  129. package/lib/types/icons/bullet-list.d.ts.map +1 -0
  130. package/lib/types/icons/bullet.d.ts +2 -0
  131. package/lib/types/icons/bullet.d.ts.map +1 -0
  132. package/lib/types/icons/caption.d.ts +2 -0
  133. package/lib/types/icons/caption.d.ts.map +1 -0
  134. package/lib/types/icons/check-box-checked.d.ts +2 -0
  135. package/lib/types/icons/check-box-checked.d.ts.map +1 -0
  136. package/lib/types/icons/check-box-unchecked.d.ts +2 -0
  137. package/lib/types/icons/check-box-unchecked.d.ts.map +1 -0
  138. package/lib/types/icons/chevron-down.d.ts +2 -0
  139. package/lib/types/icons/chevron-down.d.ts.map +1 -0
  140. package/lib/types/icons/clear.d.ts +2 -0
  141. package/lib/types/icons/clear.d.ts.map +1 -0
  142. package/lib/types/icons/close.d.ts +2 -0
  143. package/lib/types/icons/close.d.ts.map +1 -0
  144. package/lib/types/icons/code.d.ts +2 -0
  145. package/lib/types/icons/code.d.ts.map +1 -0
  146. package/lib/types/icons/confirm.d.ts +2 -0
  147. package/lib/types/icons/confirm.d.ts.map +1 -0
  148. package/lib/types/icons/copy.d.ts +2 -0
  149. package/lib/types/icons/copy.d.ts.map +1 -0
  150. package/lib/types/icons/crop.d.ts +2 -0
  151. package/lib/types/icons/crop.d.ts.map +1 -0
  152. package/lib/types/icons/divider.d.ts +3 -0
  153. package/lib/types/icons/divider.d.ts.map +1 -0
  154. package/lib/types/icons/drag-handle.d.ts +2 -0
  155. package/lib/types/icons/drag-handle.d.ts.map +1 -0
  156. package/lib/types/icons/edit.d.ts +2 -0
  157. package/lib/types/icons/edit.d.ts.map +1 -0
  158. package/lib/types/icons/file-link.d.ts +2 -0
  159. package/lib/types/icons/file-link.d.ts.map +1 -0
  160. package/lib/types/icons/font-color.d.ts +2 -0
  161. package/lib/types/icons/font-color.d.ts.map +1 -0
  162. package/lib/types/icons/functions.d.ts +2 -0
  163. package/lib/types/icons/functions.d.ts.map +1 -0
  164. package/lib/types/icons/h1.d.ts +3 -0
  165. package/lib/types/icons/h1.d.ts.map +1 -0
  166. package/lib/types/icons/h2.d.ts +3 -0
  167. package/lib/types/icons/h2.d.ts.map +1 -0
  168. package/lib/types/icons/h3.d.ts +3 -0
  169. package/lib/types/icons/h3.d.ts.map +1 -0
  170. package/lib/types/icons/h4.d.ts +3 -0
  171. package/lib/types/icons/h4.d.ts.map +1 -0
  172. package/lib/types/icons/h5.d.ts +3 -0
  173. package/lib/types/icons/h5.d.ts.map +1 -0
  174. package/lib/types/icons/h6.d.ts +3 -0
  175. package/lib/types/icons/h6.d.ts.map +1 -0
  176. package/lib/types/icons/help.d.ts +2 -0
  177. package/lib/types/icons/help.d.ts.map +1 -0
  178. package/lib/types/icons/high-line-code.d.ts +2 -0
  179. package/lib/types/icons/high-line-code.d.ts.map +1 -0
  180. package/lib/types/icons/image.d.ts +2 -0
  181. package/lib/types/icons/image.d.ts.map +1 -0
  182. package/lib/types/icons/indent-decrease.d.ts +2 -0
  183. package/lib/types/icons/indent-decrease.d.ts.map +1 -0
  184. package/lib/types/icons/indent-increase.d.ts +2 -0
  185. package/lib/types/icons/indent-increase.d.ts.map +1 -0
  186. package/lib/types/icons/index.d.ts +55 -0
  187. package/lib/types/icons/index.d.ts.map +1 -0
  188. package/lib/types/icons/italic.d.ts +3 -0
  189. package/lib/types/icons/italic.d.ts.map +1 -0
  190. package/lib/types/icons/keyboard.d.ts +2 -0
  191. package/lib/types/icons/keyboard.d.ts.map +1 -0
  192. package/lib/types/icons/line-code.d.ts +2 -0
  193. package/lib/types/icons/line-code.d.ts.map +1 -0
  194. package/lib/types/icons/link.d.ts +2 -0
  195. package/lib/types/icons/link.d.ts.map +1 -0
  196. package/lib/types/icons/menu.d.ts +2 -0
  197. package/lib/types/icons/menu.d.ts.map +1 -0
  198. package/lib/types/icons/merge-cell.d.ts +2 -0
  199. package/lib/types/icons/merge-cell.d.ts.map +1 -0
  200. package/lib/types/icons/more.d.ts +2 -0
  201. package/lib/types/icons/more.d.ts.map +1 -0
  202. package/lib/types/icons/ordered-list.d.ts +3 -0
  203. package/lib/types/icons/ordered-list.d.ts.map +1 -0
  204. package/lib/types/icons/plus.d.ts +2 -0
  205. package/lib/types/icons/plus.d.ts.map +1 -0
  206. package/lib/types/icons/quote.d.ts +3 -0
  207. package/lib/types/icons/quote.d.ts.map +1 -0
  208. package/lib/types/icons/remove.d.ts +2 -0
  209. package/lib/types/icons/remove.d.ts.map +1 -0
  210. package/lib/types/icons/search.d.ts +2 -0
  211. package/lib/types/icons/search.d.ts.map +1 -0
  212. package/lib/types/icons/split-cell.d.ts +2 -0
  213. package/lib/types/icons/split-cell.d.ts.map +1 -0
  214. package/lib/types/icons/strikethrough.d.ts +3 -0
  215. package/lib/types/icons/strikethrough.d.ts.map +1 -0
  216. package/lib/types/icons/table.d.ts +2 -0
  217. package/lib/types/icons/table.d.ts.map +1 -0
  218. package/lib/types/icons/text.d.ts +3 -0
  219. package/lib/types/icons/text.d.ts.map +1 -0
  220. package/lib/types/icons/todo-list.d.ts +2 -0
  221. package/lib/types/icons/todo-list.d.ts.map +1 -0
  222. package/lib/types/icons/underline.d.ts +3 -0
  223. package/lib/types/icons/underline.d.ts.map +1 -0
  224. package/lib/types/icons/visibility-off.d.ts +2 -0
  225. package/lib/types/icons/visibility-off.d.ts.map +1 -0
  226. package/lib/types/icons/word-wrap.d.ts +2 -0
  227. package/lib/types/icons/word-wrap.d.ts.map +1 -0
  228. package/lib/types/index.d.ts +3 -0
  229. package/lib/types/index.d.ts.map +1 -0
  230. package/lib/types/utils/checker.d.ts +4 -0
  231. package/lib/types/utils/checker.d.ts.map +1 -0
  232. package/lib/types/utils/group-builder.d.ts +43 -0
  233. package/lib/types/utils/group-builder.d.ts.map +1 -0
  234. package/lib/types/utils/index.d.ts +4 -0
  235. package/lib/types/utils/index.d.ts.map +1 -0
  236. package/lib/types/utils/keep-alive.d.ts +2 -0
  237. package/lib/types/utils/keep-alive.d.ts.map +1 -0
  238. package/lib/types/utils/types.d.ts +4 -0
  239. package/lib/types/utils/types.d.ts.map +1 -0
  240. package/package.json +4 -4
@@ -0,0 +1,6 @@
1
+ export type SlashMenuItem = {
2
+ label: string;
3
+ icon: string;
4
+ tooltip?: string;
5
+ };
6
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/feature/block-edit/menu/utils.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA"}
@@ -0,0 +1,12 @@
1
+ import type { Extension } from '@codemirror/state';
2
+ import { type CodeBlockConfig } from '@jvs-milkdown/kit/component/code-block';
3
+ import type { DefineFeature } from '../shared';
4
+ interface CodeMirrorConfig extends CodeBlockConfig {
5
+ theme: Extension;
6
+ previewToggleIcon: (previewOnlyMode: boolean) => string;
7
+ previewToggleText: (previewOnlyMode: boolean) => string;
8
+ }
9
+ export type CodeMirrorFeatureConfig = Partial<CodeMirrorConfig>;
10
+ export declare const codeMirror: DefineFeature<CodeMirrorFeatureConfig>;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/code-mirror/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAIlD,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,wCAAwC,CAAA;AAG/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAe9C,UAAU,gBAAiB,SAAQ,eAAe;IAChD,KAAK,EAAE,SAAS,CAAA;IAChB,iBAAiB,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,MAAM,CAAA;IACvD,iBAAiB,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,MAAM,CAAA;CACxD;AAED,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AAE/D,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,uBAAuB,CAwD7D,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { DefineFeature } from '../shared';
2
+ interface CursorConfig {
3
+ color: string | false;
4
+ width: number;
5
+ virtual: boolean;
6
+ }
7
+ export type CursorFeatureConfig = Partial<CursorConfig>;
8
+ export declare const cursor: DefineFeature<CursorFeatureConfig>;
9
+ export {};
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/cursor/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAK9C,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,OAAO,CAAA;CACjB;AACD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAA;AAqDvD,eAAO,MAAM,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAmBrD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const FixedToolbarComponent: any;
2
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/component.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,qBAAqB,KAiEhC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { Ctx } from '@jvs-milkdown/kit/ctx';
2
+ import type { GroupBuilder } from '../../utils';
3
+ import type { ToolbarItem } from '../toolbar/config';
4
+ import type { FixedToolbarFeatureConfig } from './index';
5
+ export declare function buildDefaultFixedToolbar(builder: GroupBuilder<ToolbarItem>, _config?: FixedToolbarFeatureConfig, ctx?: Ctx): void;
6
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAA;AA2BhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AA2CxD,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,EAClC,OAAO,CAAC,EAAE,yBAAyB,EACnC,GAAG,CAAC,EAAE,GAAG,QAyaV"}
@@ -0,0 +1,3 @@
1
+ export declare const builtInCoverImages: string[];
2
+ export declare function randomCover(custom?: string[]): string;
3
+ //# sourceMappingURL=cover-defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cover-defaults.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/cover-defaults.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,kBAAkB,UAW9B,CAAA;AAED,wBAAgB,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAGrD"}
@@ -0,0 +1,2 @@
1
+ export declare const DocumentHeader: any;
2
+ //# sourceMappingURL=document-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-header.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/document-header.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,KA4QzB,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { PluginKey } from '@jvs-milkdown/kit/prose/state';
2
+ import type { GroupBuilder } from '../../utils';
3
+ import type { DefineFeature } from '../shared';
4
+ import type { ToolbarItem } from '../toolbar/config';
5
+ export interface FixedToolbarConfig {
6
+ boldIcon?: string;
7
+ codeIcon?: string;
8
+ italicIcon?: string;
9
+ linkIcon?: string;
10
+ strikethroughIcon?: string;
11
+ latexIcon?: string;
12
+ h1Icon?: string;
13
+ h2Icon?: string;
14
+ h3Icon?: string;
15
+ buildToolbar?: (builder: GroupBuilder<ToolbarItem>) => void;
16
+ outlinePosition?: 'left' | 'right';
17
+ onUploadCover?: (file: File) => Promise<string>;
18
+ defaultCoverImages?: string[];
19
+ }
20
+ export type FixedToolbarFeatureConfig = Partial<FixedToolbarConfig>;
21
+ export declare const fixedToolbarConfig: import("@jvs-milkdown/utils").$Ctx<Partial<FixedToolbarConfig>, "fixedToolbarConfigCtx">;
22
+ export declare const fixedToolbarKey: PluginKey<any>;
23
+ export declare const fixedToolbarPlugin: import("@jvs-milkdown/utils").$Prose;
24
+ export declare const fixedToolbar: DefineFeature<FixedToolbarFeatureConfig>;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAajE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAUpD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IAC3D,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAClC,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/C,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAA;AAEnE,eAAO,MAAM,kBAAkB,0FAG9B,CAAA;AAED,eAAO,MAAM,eAAe,gBAA0C,CAAA;AAwNtE,eAAO,MAAM,kBAAkB,sCAK7B,CAAA;AAEF,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,yBAAyB,CA2BjE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const MenuBar: any;
2
+ //# sourceMappingURL=menu-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-bar.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/menu-bar.tsx"],"names":[],"mappings":"AAuDA,eAAO,MAAM,OAAO,KAmflB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const OutlinePanel: any;
2
+ //# sourceMappingURL=outline-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline-panel.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/outline-panel.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,YAAY,KA+cvB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const ShortcutHelpModal: any;
2
+ //# sourceMappingURL=shortcut-help-modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shortcut-help-modal.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/shortcut-help-modal.tsx"],"names":[],"mappings":"AA6IA,eAAO,MAAM,iBAAiB,KAsG5B,CAAA"}
@@ -0,0 +1,16 @@
1
+ export type OutlinePosition = 'left' | 'right';
2
+ export type EditorWidth = 'default' | 'wide' | 'full';
3
+ export interface ViewMenuState {
4
+ outlineVisible: boolean;
5
+ outlinePosition: OutlinePosition;
6
+ outlineWidth: number;
7
+ documentBackground: string | null;
8
+ showTitle: boolean;
9
+ showCover: boolean;
10
+ coverUrl: string;
11
+ editorWidth: EditorWidth;
12
+ }
13
+ export declare const editorWidthMap: Record<EditorWidth, string>;
14
+ export declare const createViewMenuState: () => any;
15
+ export declare const viewMenuStateCtx: import("@jvs-milkdown/utils").$Ctx<any, "viewMenuStateCtx">;
16
+ //# sourceMappingURL=view-menu-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-menu-state.d.ts","sourceRoot":"","sources":["../../../../src/feature/fixed-toolbar/view-menu-state.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AAC9C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,eAAe,EAAE,eAAe,CAAA;IAChC,YAAY,EAAE,MAAM,CAAA;IACpB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,WAAW,CAAA;CACzB;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAItD,CAAA;AAED,eAAO,MAAM,mBAAmB,WAU5B,CAAA;AAIJ,eAAO,MAAM,gBAAgB,6DAAkD,CAAA"}
@@ -0,0 +1,26 @@
1
+ import type { DefineFeature } from '../shared';
2
+ interface ImageBlockConfig {
3
+ onUpload: (file: File) => Promise<string>;
4
+ proxyDomURL: (url: string) => Promise<string> | string;
5
+ inlineImageIcon: string;
6
+ inlineConfirmButton: string;
7
+ inlineUploadButton: string;
8
+ inlineUploadPlaceholderText: string;
9
+ inlineOnUpload: (file: File) => Promise<string>;
10
+ blockImageIcon: string;
11
+ blockConfirmButton: string;
12
+ blockCaptionIcon: string;
13
+ blockCropIcon: string;
14
+ blockBorderIcon: string;
15
+ blockUploadButton: string;
16
+ blockCaptionPlaceholderText: string;
17
+ blockUploadPlaceholderText: string;
18
+ blockOnUpload: (file: File) => Promise<string>;
19
+ onImageLoadError: (event: Event) => void | Promise<void>;
20
+ maxWidth: number;
21
+ maxHeight: number;
22
+ }
23
+ export type ImageBlockFeatureConfig = Partial<ImageBlockConfig>;
24
+ export declare const imageBlock: DefineFeature<ImageBlockFeatureConfig>;
25
+ export {};
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/image-block/index.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAa9C,UAAU,gBAAgB;IACxB,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IACzC,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;IAEtD,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,2BAA2B,EAAE,MAAM,CAAA;IACnC,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAE/C,cAAc,EAAE,MAAM,CAAA;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,2BAA2B,EAAE,MAAM,CAAA;IACnC,0BAA0B,EAAE,MAAM,CAAA;IAClC,aAAa,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9C,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;AAE/D,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,uBAAuB,CA8C7D,CAAA"}
@@ -0,0 +1,42 @@
1
+ import type { BlockEditFeatureConfig } from './block-edit';
2
+ import type { CodeMirrorFeatureConfig } from './code-mirror';
3
+ import type { CursorFeatureConfig } from './cursor';
4
+ import type { FixedToolbarFeatureConfig } from './fixed-toolbar';
5
+ import type { ImageBlockFeatureConfig } from './image-block';
6
+ import type { LatexFeatureConfig } from './latex';
7
+ import type { LinkTooltipFeatureConfig } from './link-tooltip';
8
+ import type { ListItemFeatureConfig } from './list-item';
9
+ import type { PlaceholderFeatureConfig } from './placeholder';
10
+ import type { TableFeatureConfig } from './table';
11
+ import type { ToolbarFeatureConfig } from './toolbar';
12
+ import type { AttachmentFeatureConfig } from './attachment/config';
13
+ export declare enum CrepeFeature {
14
+ CodeMirror = "code-mirror",
15
+ ListItem = "list-item",
16
+ LinkTooltip = "link-tooltip",
17
+ Cursor = "cursor",
18
+ ImageBlock = "image-block",
19
+ BlockEdit = "block-edit",
20
+ Toolbar = "toolbar",
21
+ FixedToolbar = "fixed-toolbar",
22
+ Placeholder = "placeholder",
23
+ Table = "table",
24
+ Latex = "latex",
25
+ Attachment = "attachment"
26
+ }
27
+ export interface CrepeFeatureConfig {
28
+ [CrepeFeature.Cursor]?: CursorFeatureConfig;
29
+ [CrepeFeature.ListItem]?: ListItemFeatureConfig;
30
+ [CrepeFeature.LinkTooltip]?: LinkTooltipFeatureConfig;
31
+ [CrepeFeature.ImageBlock]?: ImageBlockFeatureConfig;
32
+ [CrepeFeature.BlockEdit]?: BlockEditFeatureConfig;
33
+ [CrepeFeature.Placeholder]?: PlaceholderFeatureConfig;
34
+ [CrepeFeature.Toolbar]?: ToolbarFeatureConfig;
35
+ [CrepeFeature.FixedToolbar]?: FixedToolbarFeatureConfig;
36
+ [CrepeFeature.CodeMirror]?: CodeMirrorFeatureConfig;
37
+ [CrepeFeature.Table]?: TableFeatureConfig;
38
+ [CrepeFeature.Latex]?: LatexFeatureConfig;
39
+ [CrepeFeature.Attachment]?: AttachmentFeatureConfig;
40
+ }
41
+ export declare const defaultFeatures: Record<CrepeFeature, boolean>;
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAA;AAChE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AAC5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAA;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAA;AACrD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAKlE,oBAAY,YAAY;IAEtB,UAAU,gBAAgB;IAG1B,QAAQ,cAAc;IAGtB,WAAW,iBAAiB;IAG5B,MAAM,WAAW;IAGjB,UAAU,gBAAgB;IAG1B,SAAS,eAAe;IAGxB,OAAO,YAAY;IAGnB,YAAY,kBAAkB;IAG9B,WAAW,gBAAgB;IAG3B,KAAK,UAAU;IAGf,KAAK,UAAU;IAGf,UAAU,eAAe;CAC1B;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,EAAE,mBAAmB,CAAA;IAC3C,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAC/C,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,EAAE,wBAAwB,CAAA;IACrD,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,EAAE,uBAAuB,CAAA;IACnD,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,EAAE,sBAAsB,CAAA;IACjD,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,EAAE,wBAAwB,CAAA;IACrD,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,oBAAoB,CAAA;IAC7C,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,EAAE,yBAAyB,CAAA;IACvD,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,EAAE,uBAAuB,CAAA;IACnD,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAA;IACzC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAA;IACzC,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,EAAE,uBAAuB,CAAA;CACpD;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAazD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const blockLatexSchema: import("@jvs-milkdown/utils").$NodeSchema<"code_block">;
2
+ //# sourceMappingURL=block-latex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-latex.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/block-latex.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yDAsB3B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const toggleLatexCommand: import("@jvs-milkdown/utils").$Command<unknown>;
2
+ //# sourceMappingURL=command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/command.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB,iDAuC7B,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { KatexOptions } from 'katex';
2
+ import type { DefineFeature } from '../shared';
3
+ export interface LatexConfig {
4
+ katexOptions: KatexOptions;
5
+ inlineEditConfirm: string;
6
+ }
7
+ export type LatexFeatureConfig = Partial<LatexConfig>;
8
+ export declare const latex: DefineFeature<LatexFeatureConfig>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKzC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAa9C,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,YAAY,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;AAErD,eAAO,MAAM,KAAK,EAAE,aAAa,CAAC,kBAAkB,CAsCnD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const mathInlineId = "math_inline";
2
+ export declare const mathInlineSchema: import("@jvs-milkdown/utils").$NodeSchema<"math_inline">;
3
+ //# sourceMappingURL=inline-latex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-latex.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/inline-latex.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,gBAAgB,CAAA;AAQzC,eAAO,MAAM,gBAAgB,0DAqD1B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const LatexTooltip: any;
2
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../../src/feature/latex/inline-tooltip/component.tsx"],"names":[],"mappings":"AA2BA,eAAO,MAAM,YAAY,KA0DvB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const inlineLatexTooltip: import("@jvs-milkdown/plugin-tooltip").TooltipPlugin<"INLINE_LATEX", any>;
2
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/feature/latex/inline-tooltip/tooltip.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,2EAAiC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { Ctx } from '@jvs-milkdown/kit/ctx';
2
+ import type { PluginView } from '@jvs-milkdown/kit/prose/state';
3
+ import { EditorState } from '@jvs-milkdown/kit/prose/state';
4
+ import { EditorView } from '@jvs-milkdown/kit/prose/view';
5
+ import type { LatexConfig } from '..';
6
+ export declare class LatexInlineTooltip implements PluginView {
7
+ #private;
8
+ readonly ctx: Ctx;
9
+ constructor(ctx: Ctx, view: EditorView, config: Partial<LatexConfig>);
10
+ update: (view: EditorView, prevState?: EditorState) => void;
11
+ destroy: () => void;
12
+ }
13
+ //# sourceMappingURL=view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../src/feature/latex/inline-tooltip/view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAM/D,OAAO,EACL,WAAW,EAIZ,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAGL,UAAU,EACX,MAAM,8BAA8B,CAAA;AAGrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,IAAI,CAAA;AAMrC,qBAAa,kBAAmB,YAAW,UAAU;;IAWjD,QAAQ,CAAC,GAAG,EAAE,GAAG;gBAAR,GAAG,EAAE,GAAG,EACjB,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC;IA6J9B,MAAM,GAAI,MAAM,UAAU,EAAE,YAAY,WAAW,UAElD;IAED,OAAO,aAIN;CACF"}
@@ -0,0 +1,3 @@
1
+ export declare const mathInlineInputRule: import("@jvs-milkdown/utils").$InputRule;
2
+ export declare const mathBlockInputRule: import("@jvs-milkdown/utils").$InputRule;
3
+ //# sourceMappingURL=input-rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-rule.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/input-rule.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB,0CAQ/B,CAAA;AAID,eAAO,MAAM,kBAAkB,0CAI9B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const remarkMathPlugin: import("@jvs-milkdown/utils").$Remark<"remarkMath", undefined>;
2
+ export declare const remarkMathBlockPlugin: import("@jvs-milkdown/utils").$Remark<"remarkMathBlock", unknown>;
3
+ //# sourceMappingURL=remark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remark.d.ts","sourceRoot":"","sources":["../../../../src/feature/latex/remark.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,gEAG5B,CAAA;AAuBD,eAAO,MAAM,qBAAqB,mEAGjC,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { DefineFeature } from '../shared';
2
+ interface LinkTooltipConfig {
3
+ linkIcon: string;
4
+ editButton: string;
5
+ removeButton: string;
6
+ confirmButton: string;
7
+ inputPlaceholder: string;
8
+ onCopyLink: (link: string) => void;
9
+ }
10
+ export type LinkTooltipFeatureConfig = Partial<LinkTooltipConfig>;
11
+ export declare const linkTooltip: DefineFeature<LinkTooltipFeatureConfig>;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/link-tooltip/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAO9C,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACnC;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;AAEjE,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,wBAAwB,CAoB/D,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { DefineFeature } from '../shared';
2
+ export interface ListItemConfig {
3
+ bulletIcon: string;
4
+ checkBoxCheckedIcon: string;
5
+ checkBoxUncheckedIcon: string;
6
+ }
7
+ export type ListItemFeatureConfig = Partial<ListItemConfig>;
8
+ export declare const listItem: DefineFeature<ListItemFeatureConfig>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/list-item/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAU9C,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,qBAAqB,EAAE,MAAM,CAAA;CAC9B;AAED,MAAM,MAAM,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;AAkB3D,eAAO,MAAM,QAAQ,EAAE,aAAa,CAAC,qBAAqB,CAQzD,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { Editor } from '@jvs-milkdown/kit/core';
2
+ import { CrepeFeature } from './index';
3
+ export declare function loadFeature(feature: CrepeFeature, editor: Editor, config?: never): void;
4
+ //# sourceMappingURL=loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../src/feature/loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAOpD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAStC,wBAAgB,WAAW,CACzB,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,KAAK,QAwCf"}
@@ -0,0 +1,11 @@
1
+ import type { DefineFeature } from '../shared';
2
+ interface PlaceholderConfig {
3
+ text?: string;
4
+ mode: 'doc' | 'block';
5
+ }
6
+ export type PlaceholderFeatureConfig = Partial<PlaceholderConfig>;
7
+ export declare const placeholderConfig: import("@jvs-milkdown/utils").$Ctx<PlaceholderConfig, "placeholderConfigCtx">;
8
+ export declare const placeholderPlugin: import("@jvs-milkdown/utils").$Prose;
9
+ export declare const placeholder: DefineFeature<PlaceholderFeatureConfig>;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/placeholder/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAiC9C,UAAU,iBAAiB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,KAAK,GAAG,OAAO,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;AAEjE,eAAO,MAAM,iBAAiB,+EAK7B,CAAA;AAED,eAAO,MAAM,iBAAiB,sCAsB5B,CAAA;AAEF,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,wBAAwB,CAkB/D,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom/vitest';
2
+ //# sourceMappingURL=placeholder.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placeholder.spec.d.ts","sourceRoot":"","sources":["../../../../src/feature/placeholder/placeholder.spec.ts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Editor } from '@jvs-milkdown/kit/core';
2
+ export type DefineFeature<Config = unknown> = (editor: Editor, config?: Config) => void;
3
+ //# sourceMappingURL=shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/feature/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAEpD,MAAM,MAAM,aAAa,CAAC,MAAM,GAAG,OAAO,IAAI,CAC5C,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,KACZ,IAAI,CAAA"}
@@ -0,0 +1,18 @@
1
+ import type { DefineFeature } from '../shared';
2
+ interface TableConfig {
3
+ addRowIcon: string;
4
+ addColIcon: string;
5
+ deleteRowIcon: string;
6
+ deleteColIcon: string;
7
+ alignLeftIcon: string;
8
+ alignCenterIcon: string;
9
+ alignRightIcon: string;
10
+ colDragHandleIcon: string;
11
+ rowDragHandleIcon: string;
12
+ mergeCellsIcon: string;
13
+ splitCellIcon: string;
14
+ }
15
+ export type TableFeatureConfig = Partial<TableConfig>;
16
+ export declare const table: DefineFeature<TableFeatureConfig>;
17
+ export {};
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/table/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAe9C,UAAU,WAAW;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;AAErD,eAAO,MAAM,KAAK,EAAE,aAAa,CAAC,kBAAkB,CAmCnD,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EditorState } from '@jvs-milkdown/prose/state';
2
+ export declare function testMerge(state: EditorState): void;
3
+ //# sourceMappingURL=test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.d.ts","sourceRoot":"","sources":["../../../../src/feature/table/test.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAGxD,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,QAI3C"}
@@ -0,0 +1,9 @@
1
+ export declare const remarkTextColorPlugin: import("@jvs-milkdown/utils").$Remark<"remarkTextColor", unknown>;
2
+ export declare const textColorAttr: import("@jvs-milkdown/utils").$MarkAttr;
3
+ export declare const textColorSchema: import("@jvs-milkdown/utils").$MarkSchema<"textColor">;
4
+ export declare const bgColorAttr: import("@jvs-milkdown/utils").$MarkAttr;
5
+ export declare const bgColorSchema: import("@jvs-milkdown/utils").$MarkSchema<"bgColor">;
6
+ export declare const toggleTextColorCommand: import("@jvs-milkdown/utils").$Command<string | null>;
7
+ export declare const toggleBgColorCommand: import("@jvs-milkdown/utils").$Command<string | null>;
8
+ export declare const colorPlugins: (import("@jvs-milkdown/utils").$MarkSchema<"textColor"> | import("@jvs-milkdown/utils").$MarkSchema<"bgColor"> | import("@jvs-milkdown/utils").$Remark<"remarkTextColor", unknown> | import("@jvs-milkdown/utils").$MarkAttr | import("@jvs-milkdown/utils").$Command<string | null>)[];
9
+ //# sourceMappingURL=color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/color.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,qBAAqB,mEAyEjC,CAAA;AAED,eAAO,MAAM,aAAa,yCAAyB,CAAA;AAEnD,eAAO,MAAM,eAAe,wDAgCzB,CAAA;AAEH,eAAO,MAAM,WAAW,yCAAuB,CAAA;AAE/C,eAAO,MAAM,aAAa,sDA+BvB,CAAA;AAEH,eAAO,MAAM,sBAAsB,uDA8ClC,CAAA;AAED,eAAO,MAAM,oBAAoB,uDA8ChC,CAAA;AAED,eAAO,MAAM,YAAY,yRAQxB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const Toolbar: any;
2
+ //# sourceMappingURL=component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/component.tsx"],"names":[],"mappings":"AA+IA,eAAO,MAAM,OAAO,KAmnElB,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type { Ctx } from '@jvs-milkdown/kit/ctx';
2
+ import type { ToolbarFeatureConfig } from '.';
3
+ export type ToolbarItem = {
4
+ active: (ctx: Ctx) => boolean;
5
+ icon: string;
6
+ label: string;
7
+ };
8
+ export declare function getGroups(config?: ToolbarFeatureConfig, ctx?: Ctx): {
9
+ key: string;
10
+ label: string;
11
+ items: Omit<{
12
+ index: number;
13
+ key: string;
14
+ onRun: (ctx: Ctx) => void;
15
+ } & ToolbarItem, "index">[];
16
+ }[];
17
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAA;AAwBhD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAA;AAyB7C,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAA;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAgB,SAAS,CAAC,MAAM,CAAC,EAAE,oBAAoB,EAAE,GAAG,CAAC,EAAE,GAAG;;;;;;;;IAmRjE"}
@@ -0,0 +1,17 @@
1
+ export declare const supportedFontsCache: Map<string, boolean>;
2
+ export declare const isFontSupported: (fontFamily: string | null) => boolean;
3
+ export declare const remarkFontPlugin: import("@jvs-milkdown/utils").$Remark<"remarkFont", unknown>;
4
+ export declare const fontFamilyAttr: import("@jvs-milkdown/utils").$MarkAttr;
5
+ export declare const fontFamilySchema: import("@jvs-milkdown/utils").$MarkSchema<"fontFamily">;
6
+ export declare const fontSizeAttr: import("@jvs-milkdown/utils").$MarkAttr;
7
+ export declare const fontSizeSchema: import("@jvs-milkdown/utils").$MarkSchema<"fontSize">;
8
+ export declare const toggleFontFamilyCommand: import("@jvs-milkdown/utils").$Command<string | null>;
9
+ export declare const toggleFontSizeCommand: import("@jvs-milkdown/utils").$Command<string | null>;
10
+ /**
11
+ * Strip all font-family from external pasted HTML.
12
+ * Internal paste (from the same editor) is detected via `data-pm-slice`
13
+ * and left untouched so that editor-set fonts are preserved.
14
+ */
15
+ export declare function stripFontFamilyFromExternalHTML(html: string): string;
16
+ export declare const fontPlugins: (import("@jvs-milkdown/utils").$MarkAttr | import("@jvs-milkdown/utils").$Command<string | null> | import("@jvs-milkdown/utils").$MarkSchema<"fontFamily"> | import("@jvs-milkdown/utils").$MarkSchema<"fontSize"> | import("@jvs-milkdown/utils").$Remark<"remarkFont", unknown>)[];
17
+ //# sourceMappingURL=font.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"font.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/font.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB,sBAA6B,CAAA;AAE7D,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,GAAG,IAAI,KAAG,OA+B3D,CAAA;AAED,eAAO,MAAM,gBAAgB,8DA4E5B,CAAA;AAED,eAAO,MAAM,cAAc,yCAA0B,CAAA;AAErD,eAAO,MAAM,gBAAgB,yDAmC1B,CAAA;AAEH,eAAO,MAAM,YAAY,yCAAwB,CAAA;AAEjD,eAAO,MAAM,cAAc,uDAiCxB,CAAA;AAEH,eAAO,MAAM,uBAAuB,uDAoDnC,CAAA;AAED,eAAO,MAAM,qBAAqB,uDAmDjC,CAAA;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAiCpE;AAED,eAAO,MAAM,WAAW,sRAQvB,CAAA"}
@@ -0,0 +1,8 @@
1
+ export declare const remarkHighlightMarkPlugin: import("@jvs-milkdown/utils").$Remark<"remarkHighlightMark", unknown>;
2
+ export declare const highlightMarkAttr: import("@jvs-milkdown/utils").$MarkAttr;
3
+ export declare const highlightMarkSchema: import("@jvs-milkdown/utils").$MarkSchema<"highlightMark">;
4
+ export declare const toggleHighlightMarkCommand: import("@jvs-milkdown/utils").$Command<unknown>;
5
+ export declare const highlightMarkKeymap: import("@jvs-milkdown/utils").$UserKeymap<"highlightMarkKeymap", "ToggleHighlightMark" | "HighlightMarkEnter" | "HighlightMarkArrowDown" | "HighlightMarkBackspace">;
6
+ export declare const highlightEmptyBlockPlugin: import("@jvs-milkdown/utils").$Prose;
7
+ export declare const highlightMark: (import("@jvs-milkdown/utils").$Prose | import("@jvs-milkdown/utils").$Command<unknown> | import("@jvs-milkdown/utils").$MarkAttr | import("@jvs-milkdown/utils").$MarkSchema<"highlightMark"> | import("@jvs-milkdown/utils").$Remark<"remarkHighlightMark", unknown> | import("@jvs-milkdown/utils").$UserKeymap<"highlightMarkKeymap", "ToggleHighlightMark" | "HighlightMarkEnter" | "HighlightMarkArrowDown" | "HighlightMarkBackspace">)[];
8
+ //# sourceMappingURL=highlight-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlight-mark.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/highlight-mark.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,yBAAyB,uEAuDrC,CAAA;AAED,eAAO,MAAM,iBAAiB,yCAA6B,CAAA;AAE3D,eAAO,MAAM,mBAAmB,4DAkC7B,CAAA;AAEH,eAAO,MAAM,0BAA0B,iDAsHtC,CAAA;AAED,eAAO,MAAM,mBAAmB,sKAqL9B,CAAA;AAEF,eAAO,MAAM,yBAAyB,sCA+DpC,CAAA;AAEF,eAAO,MAAM,aAAa,kbAOzB,CAAA"}
@@ -0,0 +1,24 @@
1
+ import type { GroupBuilder } from '../../utils';
2
+ import type { DefineFeature } from '../shared';
3
+ import type { ToolbarItem } from './config';
4
+ interface ToolbarConfig {
5
+ boldIcon: string;
6
+ codeIcon: string;
7
+ italicIcon: string;
8
+ linkIcon: string;
9
+ strikethroughIcon: string;
10
+ underlineIcon: string;
11
+ highlightIcon: string;
12
+ latexIcon: string;
13
+ h1Icon: string;
14
+ h2Icon: string;
15
+ h3Icon: string;
16
+ h4Icon: string;
17
+ h5Icon: string;
18
+ h6Icon: string;
19
+ buildToolbar: (builder: GroupBuilder<ToolbarItem>) => void;
20
+ }
21
+ export type ToolbarFeatureConfig = Partial<ToolbarConfig>;
22
+ export declare const toolbar: DefineFeature<ToolbarFeatureConfig>;
23
+ export {};
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/index.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAS3C,UAAU,aAAa;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,iBAAiB,EAAE,MAAM,CAAA;IACzB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;CAC3D;AAED,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,aAAa,CAAC,CAAA;AAwGzD,eAAO,MAAM,OAAO,EAAE,aAAa,CAAC,oBAAoB,CA+BvD,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare const remarkUnderlinePlugin: import("@jvs-milkdown/utils").$Remark<"remarkUnderline", unknown>;
2
+ export declare const underlineAttr: import("@jvs-milkdown/utils").$MarkAttr;
3
+ export declare const underlineSchema: import("@jvs-milkdown/utils").$MarkSchema<"underline">;
4
+ export declare const toggleUnderlineCommand: import("@jvs-milkdown/utils").$Command<unknown>;
5
+ export declare const underlineKeymap: import("@jvs-milkdown/utils").$UserKeymap<"underlineKeymap", "ToggleUnderline">;
6
+ export declare const underline: (import("@jvs-milkdown/utils").$Command<unknown> | import("@jvs-milkdown/utils").$MarkAttr | import("@jvs-milkdown/utils").$MarkSchema<"underline"> | import("@jvs-milkdown/utils").$UserKeymap<"underlineKeymap", "ToggleUnderline"> | import("@jvs-milkdown/utils").$Remark<"remarkUnderline", unknown>)[];
7
+ //# sourceMappingURL=underline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underline.d.ts","sourceRoot":"","sources":["../../../../src/feature/toolbar/underline.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB,mEAkDjC,CAAA;AAED,eAAO,MAAM,aAAa,yCAAyB,CAAA;AAEnD,eAAO,MAAM,eAAe,wDAwBzB,CAAA;AAEH,eAAO,MAAM,sBAAsB,iDAGlC,CAAA;AAED,eAAO,MAAM,eAAe,iFAQ1B,CAAA;AAEF,eAAO,MAAM,SAAS,8SAMrB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const alignCenterIcon = "\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 1024 1024\"\n ><path d=\"M0 0m0 0l1024 0q0 0 0 0l0 1024q0 0 0 0l-1024 0q0 0 0 0l0-1024q0 0 0 0Z\" fill=\"#D8D8D8\" fill-opacity=\"0\" p-id=\"52612\"></path><path d=\"M128 192m46.464 0l675.072 0q46.464 0 46.464 46.464l0 0q0 46.464-46.464 46.464l-675.072 0q-46.464 0-46.464-46.464l0 0q0-46.464 46.464-46.464Z\" fill=\"#363B4C\" p-id=\"52613\"></path><path d=\"M288 497.536c0 25.664 20.8 46.464 46.464 46.464h355.072a46.464 46.464 0 0 0 0-92.928H334.464c-25.664 0-46.464 20.8-46.464 46.464zM224 750.464c0 25.6 20.8 46.464 46.464 46.464h483.072a46.464 46.464 0 0 0 0-92.928H270.464c-25.664 0-46.464 20.8-46.464 46.464z\" fill=\"#363B4C\" p-id=\"52614\"></path></svg>\n";
2
+ export declare const alignCenterIconActive = "\n<svg width=\"24\"\n height=\"24\"\n viewBox=\"0 0 1024 1024\">\n <path d=\"M0 0m0 0l1024 0q0 0 0 0l0 1024q0 0 0 0l-1024 0q0 0 0 0l0-1024q0 0 0 0Z\" fill=\"#1E6FFF\" fill-opacity=\"0\" p-id=\"52154\"></path><path d=\"M128 192m46.464 0l675.072 0q46.464 0 46.464 46.464l0 0q0 46.464-46.464 46.464l-675.072 0q-46.464 0-46.464-46.464l0 0q0-46.464 46.464-46.464Z\" fill=\"#1E6FFF\" p-id=\"52155\"></path><path d=\"M288 497.536c0 25.664 20.8 46.464 46.464 46.464h355.072a46.464 46.464 0 0 0 0-92.928H334.464c-25.664 0-46.464 20.8-46.464 46.464zM224 750.464c0 25.6 20.8 46.464 46.464 46.464h483.072a46.464 46.464 0 0 0 0-92.928H270.464c-25.664 0-46.464 20.8-46.464 46.464z\" fill=\"#1E6FFF\" p-id=\"52156\"></path></svg>\n";
3
+ //# sourceMappingURL=align-center.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align-center.d.ts","sourceRoot":"","sources":["../../../src/icons/align-center.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,ywBAO3B,CAAA;AAED,eAAO,MAAM,qBAAqB,0tBAKjC,CAAA"}