@etrepum/lexical-builder-markdown 0.0.34 → 0.0.35
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/dist/MarkdownExport.d.ts
CHANGED
package/dist/MarkdownImport.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { LexicalEditor } from 'lexical';
|
|
2
2
|
import { DisabledToggleOutput } from '@etrepum/lexical-builder';
|
|
3
3
|
import { TransformersByType } from './types';
|
|
4
|
-
|
|
5
4
|
export declare function registerMarkdownShortcuts(editor: LexicalEditor, byType: TransformersByType): () => void;
|
|
6
5
|
export interface MarkdownShortcutsConfig {
|
|
7
6
|
disabled: boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { createMarkdownImport } from './MarkdownImport';
|
|
2
2
|
import { MarkdownTransformerOptions, TransformersByType } from './types';
|
|
3
3
|
import { createMarkdownExport } from './MarkdownExport';
|
|
4
|
-
|
|
5
4
|
export type MarkdownTransformersConfig = MarkdownTransformerOptions & {
|
|
6
5
|
[K in keyof TransformersByType as `${K}Transformers`]: TransformersByType[K];
|
|
7
6
|
};
|
package/dist/index.js
CHANGED
package/dist/types.d.ts
CHANGED
package/dist/utils.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ParagraphNode, Spread, LexicalNode } from 'lexical';
|
|
2
|
-
|
|
3
2
|
export declare function indexBy<T>(list: T[], callback: (arg0: T) => string): Readonly<Record<string, T[]>>;
|
|
4
3
|
export declare const PUNCTUATION_OR_SPACE: RegExp;
|
|
5
4
|
declare const EmptyParagraphNodeBrand: unique symbol;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"test": "vitest run",
|
|
17
17
|
"test:watch": "vitest"
|
|
18
18
|
},
|
|
19
|
-
"version": "0.0.
|
|
19
|
+
"version": "0.0.35",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
@@ -48,14 +48,18 @@
|
|
|
48
48
|
"eslint": "^8.57.0",
|
|
49
49
|
"jsdom": "^24.1.0",
|
|
50
50
|
"tslib": "^2.6.2",
|
|
51
|
-
"typescript": "^5.
|
|
52
|
-
"vite": "^5.
|
|
53
|
-
"vite-plugin-dts": "
|
|
54
|
-
"vite-plugin-package-version": "
|
|
55
|
-
"vitest": "
|
|
51
|
+
"typescript": "^5.5.2",
|
|
52
|
+
"vite": "^5.4.0",
|
|
53
|
+
"vite-plugin-dts": "^4.0.2",
|
|
54
|
+
"vite-plugin-package-version": "^1.1.0",
|
|
55
|
+
"vitest": "^2.0.5"
|
|
56
|
+
},
|
|
57
|
+
"exports": {
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./dist/index.d.ts",
|
|
60
|
+
"default": "./dist/index.js"
|
|
61
|
+
}
|
|
56
62
|
},
|
|
57
|
-
"module": "dist/index.js",
|
|
58
|
-
"types": "dist/index.d.ts",
|
|
59
63
|
"files": [
|
|
60
64
|
"dist"
|
|
61
65
|
]
|