@etrepum/lexical-builder-markdown 0.0.31-nightly.20240723.0 → 0.0.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,11 @@
1
1
  import { LexicalEditor } from 'lexical';
2
+ import { DisabledToggleOutput } from '@etrepum/lexical-builder';
2
3
  import { TransformersByType } from './types';
3
4
 
4
5
  export declare function registerMarkdownShortcuts(editor: LexicalEditor, byType: TransformersByType): () => void;
5
6
  export interface MarkdownShortcutsConfig {
6
7
  disabled: boolean;
7
8
  }
8
- export interface MarkdownShortcutsOutput {
9
- isDisabled: () => boolean;
10
- setDisabled: (disabled: boolean) => void;
11
- }
12
- export declare const MarkdownShortcutsPlan: import('@etrepum/lexical-builder').LexicalPlan<MarkdownShortcutsConfig, "@etrepum/lexical-builder-markdown/MarkdownShortcuts", MarkdownShortcutsOutput, unknown>;
9
+ export type MarkdownShortcutsOutput = DisabledToggleOutput;
10
+ export declare const MarkdownShortcutsPlan: import('@etrepum/lexical-builder').LexicalPlan<MarkdownShortcutsConfig, "@etrepum/lexical-builder-markdown/MarkdownShortcuts", DisabledToggleOutput, unknown>;
13
11
  //# sourceMappingURL=MarkdownShortcutsPlan.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MarkdownShortcutsPlan.d.ts","sourceRoot":"","sources":["../src/MarkdownShortcutsPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,EAEL,KAAK,aAAa,EAUnB,MAAM,SAAS,CAAC;AASjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA0SlD,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,kBAAkB,GACzB,MAAM,IAAI,CA+FZ;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,OAAO,CAAC;CACnB;AACD,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,OAAO,CAAC;IAC1B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C;AAED,eAAO,MAAM,qBAAqB,kKAmBhC,CAAC"}
1
+ {"version":3,"file":"MarkdownShortcutsPlan.d.ts","sourceRoot":"","sources":["../src/MarkdownShortcutsPlan.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,EAEL,KAAK,aAAa,EAUnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAGL,KAAK,oBAAoB,EAG1B,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA0SlD,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,kBAAkB,GACzB,MAAM,IAAI,CA+FZ;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,OAAO,CAAC;CACnB;AACD,MAAM,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,+JAmBhC,CAAC"}
package/dist/index.js CHANGED
@@ -547,7 +547,7 @@ const ze = G({
547
547
  })
548
548
  );
549
549
  }
550
- }), Ue = "0.0.31-nightly.20240723.0";
550
+ }), Ue = "0.0.31";
551
551
  export {
552
552
  ze as MarkdownShortcutsPlan,
553
553
  W as MarkdownTransformersPlan,
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "test": "vitest run",
17
17
  "test:watch": "vitest"
18
18
  },
19
- "version": "0.0.31-nightly.20240723.0",
19
+ "version": "0.0.31",
20
20
  "license": "MIT",
21
21
  "repository": {
22
22
  "type": "git",
@@ -32,12 +32,12 @@
32
32
  "@etrepum/lexical-builder-list": "*"
33
33
  },
34
34
  "peerDependencies": {
35
- "@lexical/code": ">=0.16.2-nightly.20240716",
36
- "@lexical/list": ">=0.16.2-nightly.20240716",
37
- "@lexical/markdown": ">=0.16.2-nightly.20240716",
38
- "@lexical/rich-text": ">=0.16.2-nightly.20240716",
39
- "@lexical/utils": ">=0.16.2-nightly.20240716",
40
- "lexical": ">=0.16.2-nightly.20240716"
35
+ "@lexical/code": ">=0.16.2-nightly.20240724",
36
+ "@lexical/list": ">=0.16.2-nightly.20240724",
37
+ "@lexical/markdown": ">=0.16.2-nightly.20240724",
38
+ "@lexical/rich-text": ">=0.16.2-nightly.20240724",
39
+ "@lexical/utils": ">=0.16.2-nightly.20240724",
40
+ "lexical": ">=0.16.2-nightly.20240724"
41
41
  },
42
42
  "sideEffects": false,
43
43
  "devDependencies": {
@@ -50,9 +50,9 @@
50
50
  "tslib": "^2.6.2",
51
51
  "typescript": "^5.4.5",
52
52
  "vite": "^5.2.11",
53
- "vite-plugin-dts": "^3.9.1",
54
- "vite-plugin-package-version": "^1.1.0",
55
- "vitest": "^1.6.0"
53
+ "vite-plugin-dts": "*",
54
+ "vite-plugin-package-version": "*",
55
+ "vitest": "*"
56
56
  },
57
57
  "module": "dist/index.js",
58
58
  "types": "dist/index.d.ts",