@clepit/core 0.7.0-beta.468 → 0.7.0-beta.474

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 (34) hide show
  1. package/dist/core/managers/event.d.ts +3 -0
  2. package/dist/core/toolbars/inline/index.d.ts +3 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/tools/block/alert/index.d.ts +0 -1
  6. package/dist/tools/block/audio/index.d.ts +0 -1
  7. package/dist/tools/block/checklist/index.d.ts +0 -1
  8. package/dist/tools/block/code/index.d.ts +0 -1
  9. package/dist/tools/block/collapsible/index.d.ts +0 -1
  10. package/dist/tools/block/collection/index.d.ts +0 -1
  11. package/dist/tools/block/columns/index.d.ts +0 -1
  12. package/dist/tools/block/date/index.d.ts +0 -1
  13. package/dist/tools/block/delimiter/index.d.ts +0 -1
  14. package/dist/tools/block/doc-card/index.d.ts +0 -1
  15. package/dist/tools/block/embed/index.d.ts +0 -1
  16. package/dist/tools/block/file/index.d.ts +0 -1
  17. package/dist/tools/block/glance/index.d.ts +0 -1
  18. package/dist/tools/block/image/index.d.ts +0 -1
  19. package/dist/tools/block/issues/index.d.ts +0 -1
  20. package/dist/tools/block/list/index.d.ts +0 -1
  21. package/dist/tools/block/openapi/index.d.ts +0 -1
  22. package/dist/tools/block/quote/index.d.ts +0 -1
  23. package/dist/tools/block/sketch/index.d.ts +0 -1
  24. package/dist/tools/block/table/index.d.ts +0 -1
  25. package/dist/tools/block/toc/index.d.ts +0 -1
  26. package/dist/tools/block/typeset/index.d.ts +0 -2
  27. package/dist/tools/block/updates/index.d.ts +0 -1
  28. package/dist/tools/block/video/index.d.ts +0 -1
  29. package/dist/tools/inline/marker/index.d.ts +0 -1
  30. package/dist/tools/inline/strikethrough/index.d.ts +0 -1
  31. package/dist/tools/inline/tooltip/index.d.ts +0 -1
  32. package/dist/types.d.ts +1 -1
  33. package/dist/utils/platform.d.ts +0 -2
  34. package/package.json +1 -1
@@ -6,7 +6,6 @@ export declare const AlertTool: {
6
6
  readonly input: typeof AlertInput;
7
7
  label: string;
8
8
  readonly output: typeof AlertOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const AudioTool: {
7
7
  label: string;
8
8
  readonly output: typeof AudioOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const ChecklistTool: {
6
6
  readonly input: typeof ChecklistInput;
7
7
  label: string;
8
8
  readonly output: typeof ChecklistOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const CodeTool: {
7
7
  label: string;
8
8
  readonly output: typeof CodeOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const CollapsibleTool: {
6
6
  readonly input: typeof CollapsibleInput;
7
7
  label: string;
8
8
  readonly output: typeof CollapsibleOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const CollectionTool: {
7
7
  label: string;
8
8
  readonly output: typeof CollectionOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const ColumnsTool: {
6
6
  readonly input: typeof ColumnsInput;
7
7
  label: string;
8
8
  readonly output: typeof ColumnsOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -6,7 +6,6 @@ export declare const DateTool: {
6
6
  readonly input: typeof DateInput;
7
7
  label: string;
8
8
  readonly output: typeof DateOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -6,7 +6,6 @@ export declare const DelimiterTool: {
6
6
  readonly input: typeof DelimiterInput;
7
7
  label: string;
8
8
  readonly output: typeof DelimiterOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const DocCardTool: {
7
7
  label: string;
8
8
  readonly output: typeof DocCardOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -7,7 +7,6 @@ export declare const EmbedTool: {
7
7
  label: string;
8
8
  readonly output: typeof EmbedOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -7,7 +7,6 @@ export declare const FileTool: {
7
7
  label: string;
8
8
  readonly output: typeof FileOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const GlanceTool: {
6
6
  readonly input: typeof GlanceInput;
7
7
  label: string;
8
8
  readonly output: typeof GlanceOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const ImageTool: {
7
7
  label: string;
8
8
  readonly output: typeof ImageOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -7,7 +7,6 @@ export declare const IssuesTool: {
7
7
  label: string;
8
8
  readonly output: typeof IssuesOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const ListTool: {
6
6
  readonly input: typeof ListInput;
7
7
  label: string;
8
8
  readonly output: typeof ListOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const OpenApiTool: {
7
7
  label: string;
8
8
  readonly output: typeof OpenApiOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const QuoteTool: {
6
6
  readonly input: typeof QuoteInput;
7
7
  label: string;
8
8
  readonly output: typeof QuoteOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const SketchTool: {
7
7
  label: string;
8
8
  readonly output: typeof SketchOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -7,7 +7,6 @@ export declare const TableTool: {
7
7
  label: string;
8
8
  readonly output: typeof TableOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -6,7 +6,6 @@ export declare const TocTool: {
6
6
  readonly input: typeof TocInput;
7
7
  label: string;
8
8
  readonly output: typeof TocOutput;
9
- shortcut: string;
10
9
  testId: string;
11
10
  type: ToolType;
12
11
  };
@@ -7,7 +7,6 @@ export declare const LatexTool: {
7
7
  label: string;
8
8
  readonly output: typeof LatexOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -17,7 +16,6 @@ export declare const MermaidTool: {
17
16
  label: string;
18
17
  readonly output: typeof MermaidOutput;
19
18
  section: "media";
20
- shortcut: string;
21
19
  testId: string;
22
20
  type: ToolType;
23
21
  };
@@ -7,7 +7,6 @@ export declare const UpdatesTool: {
7
7
  label: string;
8
8
  readonly output: typeof UpdatesOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -7,7 +7,6 @@ export declare const VideoTool: {
7
7
  label: string;
8
8
  readonly output: typeof VideoOutput;
9
9
  section: "media";
10
- shortcut: string;
11
10
  testId: string;
12
11
  type: ToolType;
13
12
  };
@@ -2,7 +2,6 @@ import { BlockClassNames, BlockStyles } from '../../../types';
2
2
  export declare class MarkerInput {
3
3
  static label: string;
4
4
  static icon: string;
5
- static shortcut: string;
6
5
  static apply(range: Range, classNames: BlockClassNames['marker'], styles: BlockStyles['marker']): void;
7
6
  static remove(range: Range): void;
8
7
  private static cleanupSpaces;
@@ -1,7 +1,6 @@
1
1
  export declare class StrikethroughInput {
2
2
  static label: string;
3
3
  static icon: string;
4
- static shortcut: string;
5
4
  static apply(range: Range): void;
6
5
  static remove(range: Range): void;
7
6
  static isActive(range: Range): boolean;
@@ -10,7 +10,6 @@ type BlockStylesAndClassNames = {
10
10
  export declare class TooltipInput {
11
11
  static label: string;
12
12
  static icon: string;
13
- static shortcut: string;
14
13
  static apply(range: Range, editorStylesAndClassNames: EditorStylesAndClassNames, blockStylesAndClassNames: BlockStylesAndClassNames, labels?: Partial<Record<DialogLabel, string>>): void;
15
14
  static remove(range: Range): void;
16
15
  static isActive(range: Range): boolean;
package/dist/types.d.ts CHANGED
@@ -74,7 +74,7 @@ export type Tool = {
74
74
  icon: string;
75
75
  label: string;
76
76
  section?: ToolSection;
77
- shortcut: string;
77
+ shortcut?: string;
78
78
  testId: string;
79
79
  type: ToolType;
80
80
  input: typeof AlertInput | typeof CollapsibleInput | typeof CollectionInput | typeof EmbedInput | typeof SketchInput | typeof LatexInput | typeof MermaidInput | typeof ColumnsInput | typeof DateInput | typeof DocCardInput | typeof FileInput | typeof IssuesInput | typeof TocInput | typeof UpdatesInput | typeof GlanceInput | typeof DelimiterInput | typeof ListInput | typeof OpenApiInput | typeof HeaderInput | typeof QuoteInput | typeof CodeInput | typeof TableInput | typeof ImageInput | typeof AudioInput | typeof VideoInput | typeof ParagraphInput | typeof ChecklistInput;
@@ -36,8 +36,6 @@ export declare const Shortcuts: {
36
36
  cmdQ: () => string;
37
37
  cmdR: () => string;
38
38
  cmdS: () => string;
39
- cmdShift: (key: string) => string;
40
- cmdShiftArrow: (direction: "up" | "down" | "left" | "right") => string;
41
39
  cmdShiftBackspace: () => string;
42
40
  cmdShiftOption: (key: string) => string;
43
41
  cmdShiftZ: () => string;
package/package.json CHANGED
@@ -53,5 +53,5 @@
53
53
  },
54
54
  "sideEffects": false,
55
55
  "types": "dist/index.d.ts",
56
- "version": "0.7.0-beta.468"
56
+ "version": "0.7.0-beta.474"
57
57
  }