@jvs-milkdown/crepe 1.2.1 → 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.
- package/lib/cjs/index.js +6 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.js +6 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/theme/common/image-block.css +5 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/builder.d.ts +2 -0
- package/lib/types/builder.d.ts.map +1 -0
- package/lib/types/core/builder.d.ts +28 -0
- package/lib/types/core/builder.d.ts.map +1 -0
- package/lib/types/core/crepe.d.ts +12 -0
- package/lib/types/core/crepe.d.ts.map +1 -0
- package/lib/types/core/index.d.ts +5 -0
- package/lib/types/core/index.d.ts.map +1 -0
- package/lib/types/core/locale.d.ts +288 -0
- package/lib/types/core/locale.d.ts.map +1 -0
- package/lib/types/core/slice.d.ts +10 -0
- package/lib/types/core/slice.d.ts.map +1 -0
- package/lib/types/default-config/default-config.spec.d.ts +2 -0
- package/lib/types/default-config/default-config.spec.d.ts.map +1 -0
- package/lib/types/default-config/index.d.ts +4 -0
- package/lib/types/default-config/index.d.ts.map +1 -0
- package/lib/types/feature/attachment/config.d.ts +12 -0
- package/lib/types/feature/attachment/config.d.ts.map +1 -0
- package/lib/types/feature/attachment/index.d.ts +4 -0
- package/lib/types/feature/attachment/index.d.ts.map +1 -0
- package/lib/types/feature/attachment/schema.d.ts +3 -0
- package/lib/types/feature/attachment/schema.d.ts.map +1 -0
- package/lib/types/feature/attachment/view/components/attachment-block.d.ts +19 -0
- package/lib/types/feature/attachment/view/components/attachment-block.d.ts.map +1 -0
- package/lib/types/feature/attachment/view/index.d.ts +3 -0
- package/lib/types/feature/attachment/view/index.d.ts.map +1 -0
- package/lib/types/feature/block-edit/handle/component.d.ts +2 -0
- package/lib/types/feature/block-edit/handle/component.d.ts.map +1 -0
- package/lib/types/feature/block-edit/handle/index.d.ts +4 -0
- package/lib/types/feature/block-edit/handle/index.d.ts.map +1 -0
- package/lib/types/feature/block-edit/index.d.ts +95 -0
- package/lib/types/feature/block-edit/index.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/api.d.ts +12 -0
- package/lib/types/feature/block-edit/menu/api.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/component.d.ts +2 -0
- package/lib/types/feature/block-edit/menu/component.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/config.d.ts +9 -0
- package/lib/types/feature/block-edit/menu/config.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/index.d.ts +7 -0
- package/lib/types/feature/block-edit/menu/index.d.ts.map +1 -0
- package/lib/types/feature/block-edit/menu/utils.d.ts +6 -0
- package/lib/types/feature/block-edit/menu/utils.d.ts.map +1 -0
- package/lib/types/feature/code-mirror/index.d.ts +12 -0
- package/lib/types/feature/code-mirror/index.d.ts.map +1 -0
- package/lib/types/feature/cursor/index.d.ts +10 -0
- package/lib/types/feature/cursor/index.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/component.d.ts +2 -0
- package/lib/types/feature/fixed-toolbar/component.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/config.d.ts +6 -0
- package/lib/types/feature/fixed-toolbar/config.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/cover-defaults.d.ts +3 -0
- package/lib/types/feature/fixed-toolbar/cover-defaults.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/document-header.d.ts +2 -0
- package/lib/types/feature/fixed-toolbar/document-header.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/index.d.ts +25 -0
- package/lib/types/feature/fixed-toolbar/index.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/menu-bar.d.ts +2 -0
- package/lib/types/feature/fixed-toolbar/menu-bar.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/outline-panel.d.ts +2 -0
- package/lib/types/feature/fixed-toolbar/outline-panel.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/shortcut-help-modal.d.ts +2 -0
- package/lib/types/feature/fixed-toolbar/shortcut-help-modal.d.ts.map +1 -0
- package/lib/types/feature/fixed-toolbar/view-menu-state.d.ts +16 -0
- package/lib/types/feature/fixed-toolbar/view-menu-state.d.ts.map +1 -0
- package/lib/types/feature/image-block/index.d.ts +26 -0
- package/lib/types/feature/image-block/index.d.ts.map +1 -0
- package/lib/types/feature/index.d.ts +42 -0
- package/lib/types/feature/index.d.ts.map +1 -0
- package/lib/types/feature/latex/block-latex.d.ts +2 -0
- package/lib/types/feature/latex/block-latex.d.ts.map +1 -0
- package/lib/types/feature/latex/command.d.ts +2 -0
- package/lib/types/feature/latex/command.d.ts.map +1 -0
- package/lib/types/feature/latex/index.d.ts +9 -0
- package/lib/types/feature/latex/index.d.ts.map +1 -0
- package/lib/types/feature/latex/inline-latex.d.ts +3 -0
- package/lib/types/feature/latex/inline-latex.d.ts.map +1 -0
- package/lib/types/feature/latex/inline-tooltip/component.d.ts +2 -0
- package/lib/types/feature/latex/inline-tooltip/component.d.ts.map +1 -0
- package/lib/types/feature/latex/inline-tooltip/tooltip.d.ts +2 -0
- package/lib/types/feature/latex/inline-tooltip/tooltip.d.ts.map +1 -0
- package/lib/types/feature/latex/inline-tooltip/view.d.ts +13 -0
- package/lib/types/feature/latex/inline-tooltip/view.d.ts.map +1 -0
- package/lib/types/feature/latex/input-rule.d.ts +3 -0
- package/lib/types/feature/latex/input-rule.d.ts.map +1 -0
- package/lib/types/feature/latex/remark.d.ts +3 -0
- package/lib/types/feature/latex/remark.d.ts.map +1 -0
- package/lib/types/feature/link-tooltip/index.d.ts +13 -0
- package/lib/types/feature/link-tooltip/index.d.ts.map +1 -0
- package/lib/types/feature/list-item/index.d.ts +9 -0
- package/lib/types/feature/list-item/index.d.ts.map +1 -0
- package/lib/types/feature/loader.d.ts +4 -0
- package/lib/types/feature/loader.d.ts.map +1 -0
- package/lib/types/feature/placeholder/index.d.ts +11 -0
- package/lib/types/feature/placeholder/index.d.ts.map +1 -0
- package/lib/types/feature/placeholder/placeholder.spec.d.ts +2 -0
- package/lib/types/feature/placeholder/placeholder.spec.d.ts.map +1 -0
- package/lib/types/feature/shared.d.ts +3 -0
- package/lib/types/feature/shared.d.ts.map +1 -0
- package/lib/types/feature/table/index.d.ts +18 -0
- package/lib/types/feature/table/index.d.ts.map +1 -0
- package/lib/types/feature/table/test.d.ts +3 -0
- package/lib/types/feature/table/test.d.ts.map +1 -0
- package/lib/types/feature/toolbar/color.d.ts +9 -0
- package/lib/types/feature/toolbar/color.d.ts.map +1 -0
- package/lib/types/feature/toolbar/component.d.ts +2 -0
- package/lib/types/feature/toolbar/component.d.ts.map +1 -0
- package/lib/types/feature/toolbar/config.d.ts +17 -0
- package/lib/types/feature/toolbar/config.d.ts.map +1 -0
- package/lib/types/feature/toolbar/font.d.ts +17 -0
- package/lib/types/feature/toolbar/font.d.ts.map +1 -0
- package/lib/types/feature/toolbar/highlight-mark.d.ts +8 -0
- package/lib/types/feature/toolbar/highlight-mark.d.ts.map +1 -0
- package/lib/types/feature/toolbar/index.d.ts +24 -0
- package/lib/types/feature/toolbar/index.d.ts.map +1 -0
- package/lib/types/feature/toolbar/underline.d.ts +7 -0
- package/lib/types/feature/toolbar/underline.d.ts.map +1 -0
- package/lib/types/icons/align-center.d.ts +3 -0
- package/lib/types/icons/align-center.d.ts.map +1 -0
- package/lib/types/icons/align-left.d.ts +3 -0
- package/lib/types/icons/align-left.d.ts.map +1 -0
- package/lib/types/icons/align-right.d.ts +3 -0
- package/lib/types/icons/align-right.d.ts.map +1 -0
- package/lib/types/icons/bold.d.ts +3 -0
- package/lib/types/icons/bold.d.ts.map +1 -0
- package/lib/types/icons/border.d.ts +2 -0
- package/lib/types/icons/border.d.ts.map +1 -0
- package/lib/types/icons/bullet-list.d.ts +3 -0
- package/lib/types/icons/bullet-list.d.ts.map +1 -0
- package/lib/types/icons/bullet.d.ts +2 -0
- package/lib/types/icons/bullet.d.ts.map +1 -0
- package/lib/types/icons/caption.d.ts +2 -0
- package/lib/types/icons/caption.d.ts.map +1 -0
- package/lib/types/icons/check-box-checked.d.ts +2 -0
- package/lib/types/icons/check-box-checked.d.ts.map +1 -0
- package/lib/types/icons/check-box-unchecked.d.ts +2 -0
- package/lib/types/icons/check-box-unchecked.d.ts.map +1 -0
- package/lib/types/icons/chevron-down.d.ts +2 -0
- package/lib/types/icons/chevron-down.d.ts.map +1 -0
- package/lib/types/icons/clear.d.ts +2 -0
- package/lib/types/icons/clear.d.ts.map +1 -0
- package/lib/types/icons/close.d.ts +2 -0
- package/lib/types/icons/close.d.ts.map +1 -0
- package/lib/types/icons/code.d.ts +2 -0
- package/lib/types/icons/code.d.ts.map +1 -0
- package/lib/types/icons/confirm.d.ts +2 -0
- package/lib/types/icons/confirm.d.ts.map +1 -0
- package/lib/types/icons/copy.d.ts +2 -0
- package/lib/types/icons/copy.d.ts.map +1 -0
- package/lib/types/icons/crop.d.ts +2 -0
- package/lib/types/icons/crop.d.ts.map +1 -0
- package/lib/types/icons/divider.d.ts +3 -0
- package/lib/types/icons/divider.d.ts.map +1 -0
- package/lib/types/icons/drag-handle.d.ts +2 -0
- package/lib/types/icons/drag-handle.d.ts.map +1 -0
- package/lib/types/icons/edit.d.ts +2 -0
- package/lib/types/icons/edit.d.ts.map +1 -0
- package/lib/types/icons/file-link.d.ts +2 -0
- package/lib/types/icons/file-link.d.ts.map +1 -0
- package/lib/types/icons/font-color.d.ts +2 -0
- package/lib/types/icons/font-color.d.ts.map +1 -0
- package/lib/types/icons/functions.d.ts +2 -0
- package/lib/types/icons/functions.d.ts.map +1 -0
- package/lib/types/icons/h1.d.ts +3 -0
- package/lib/types/icons/h1.d.ts.map +1 -0
- package/lib/types/icons/h2.d.ts +3 -0
- package/lib/types/icons/h2.d.ts.map +1 -0
- package/lib/types/icons/h3.d.ts +3 -0
- package/lib/types/icons/h3.d.ts.map +1 -0
- package/lib/types/icons/h4.d.ts +3 -0
- package/lib/types/icons/h4.d.ts.map +1 -0
- package/lib/types/icons/h5.d.ts +3 -0
- package/lib/types/icons/h5.d.ts.map +1 -0
- package/lib/types/icons/h6.d.ts +3 -0
- package/lib/types/icons/h6.d.ts.map +1 -0
- package/lib/types/icons/help.d.ts +2 -0
- package/lib/types/icons/help.d.ts.map +1 -0
- package/lib/types/icons/high-line-code.d.ts +2 -0
- package/lib/types/icons/high-line-code.d.ts.map +1 -0
- package/lib/types/icons/image.d.ts +2 -0
- package/lib/types/icons/image.d.ts.map +1 -0
- package/lib/types/icons/indent-decrease.d.ts +2 -0
- package/lib/types/icons/indent-decrease.d.ts.map +1 -0
- package/lib/types/icons/indent-increase.d.ts +2 -0
- package/lib/types/icons/indent-increase.d.ts.map +1 -0
- package/lib/types/icons/index.d.ts +55 -0
- package/lib/types/icons/index.d.ts.map +1 -0
- package/lib/types/icons/italic.d.ts +3 -0
- package/lib/types/icons/italic.d.ts.map +1 -0
- package/lib/types/icons/keyboard.d.ts +2 -0
- package/lib/types/icons/keyboard.d.ts.map +1 -0
- package/lib/types/icons/line-code.d.ts +2 -0
- package/lib/types/icons/line-code.d.ts.map +1 -0
- package/lib/types/icons/link.d.ts +2 -0
- package/lib/types/icons/link.d.ts.map +1 -0
- package/lib/types/icons/menu.d.ts +2 -0
- package/lib/types/icons/menu.d.ts.map +1 -0
- package/lib/types/icons/merge-cell.d.ts +2 -0
- package/lib/types/icons/merge-cell.d.ts.map +1 -0
- package/lib/types/icons/more.d.ts +2 -0
- package/lib/types/icons/more.d.ts.map +1 -0
- package/lib/types/icons/ordered-list.d.ts +3 -0
- package/lib/types/icons/ordered-list.d.ts.map +1 -0
- package/lib/types/icons/plus.d.ts +2 -0
- package/lib/types/icons/plus.d.ts.map +1 -0
- package/lib/types/icons/quote.d.ts +3 -0
- package/lib/types/icons/quote.d.ts.map +1 -0
- package/lib/types/icons/remove.d.ts +2 -0
- package/lib/types/icons/remove.d.ts.map +1 -0
- package/lib/types/icons/search.d.ts +2 -0
- package/lib/types/icons/search.d.ts.map +1 -0
- package/lib/types/icons/split-cell.d.ts +2 -0
- package/lib/types/icons/split-cell.d.ts.map +1 -0
- package/lib/types/icons/strikethrough.d.ts +3 -0
- package/lib/types/icons/strikethrough.d.ts.map +1 -0
- package/lib/types/icons/table.d.ts +2 -0
- package/lib/types/icons/table.d.ts.map +1 -0
- package/lib/types/icons/text.d.ts +3 -0
- package/lib/types/icons/text.d.ts.map +1 -0
- package/lib/types/icons/todo-list.d.ts +2 -0
- package/lib/types/icons/todo-list.d.ts.map +1 -0
- package/lib/types/icons/underline.d.ts +3 -0
- package/lib/types/icons/underline.d.ts.map +1 -0
- package/lib/types/icons/visibility-off.d.ts +2 -0
- package/lib/types/icons/visibility-off.d.ts.map +1 -0
- package/lib/types/icons/word-wrap.d.ts +2 -0
- package/lib/types/icons/word-wrap.d.ts.map +1 -0
- package/lib/types/index.d.ts +3 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/utils/checker.d.ts +4 -0
- package/lib/types/utils/checker.d.ts.map +1 -0
- package/lib/types/utils/group-builder.d.ts +43 -0
- package/lib/types/utils/group-builder.d.ts.map +1 -0
- package/lib/types/utils/index.d.ts +4 -0
- package/lib/types/utils/index.d.ts.map +1 -0
- package/lib/types/utils/keep-alive.d.ts +2 -0
- package/lib/types/utils/keep-alive.d.ts.map +1 -0
- package/lib/types/utils/types.d.ts +4 -0
- package/lib/types/utils/types.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/feature/fixed-toolbar/menu-bar.tsx +8 -1
- package/src/theme/common/image-block.css +6 -2
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|