@milkdown/preset-gfm 5.3.1 → 5.3.5

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 (64) hide show
  1. package/lib/index.d.ts +1 -36
  2. package/lib/index.es.js +768 -17
  3. package/lib/index.es.js.map +1 -1
  4. package/lib/src/auto-link.d.ts +2 -0
  5. package/lib/src/auto-link.d.ts.map +1 -0
  6. package/lib/src/index.d.ts +36 -0
  7. package/lib/src/index.d.ts.map +1 -0
  8. package/lib/{strike-through.d.ts → src/strike-through.d.ts} +1 -1
  9. package/lib/src/strike-through.d.ts.map +1 -0
  10. package/lib/{supported-keys.d.ts → src/supported-keys.d.ts} +0 -0
  11. package/lib/src/supported-keys.d.ts.map +1 -0
  12. package/lib/src/table/command.d.ts +3 -0
  13. package/lib/src/table/command.d.ts.map +1 -0
  14. package/lib/src/table/index.d.ts +10 -0
  15. package/lib/src/table/index.d.ts.map +1 -0
  16. package/lib/src/table/nodes/index.d.ts +32 -0
  17. package/lib/src/table/nodes/index.d.ts.map +1 -0
  18. package/lib/src/table/nodes/schema.d.ts +2 -0
  19. package/lib/src/table/nodes/schema.d.ts.map +1 -0
  20. package/lib/src/table/nodes/style.d.ts +3 -0
  21. package/lib/src/table/nodes/style.d.ts.map +1 -0
  22. package/lib/src/table/operator-plugin/actions.d.ts +19 -0
  23. package/lib/src/table/operator-plugin/actions.d.ts.map +1 -0
  24. package/lib/src/table/operator-plugin/calc-pos.d.ts +3 -0
  25. package/lib/src/table/operator-plugin/calc-pos.d.ts.map +1 -0
  26. package/lib/src/table/operator-plugin/constant.d.ts +6 -0
  27. package/lib/src/table/operator-plugin/constant.d.ts.map +1 -0
  28. package/lib/src/table/operator-plugin/helper.d.ts +6 -0
  29. package/lib/src/table/operator-plugin/helper.d.ts.map +1 -0
  30. package/lib/src/table/operator-plugin/index.d.ts +6 -0
  31. package/lib/src/table/operator-plugin/index.d.ts.map +1 -0
  32. package/lib/src/table/operator-plugin/style.d.ts +3 -0
  33. package/lib/src/table/operator-plugin/style.d.ts.map +1 -0
  34. package/lib/src/table/operator-plugin/widget.d.ts +8 -0
  35. package/lib/src/table/operator-plugin/widget.d.ts.map +1 -0
  36. package/lib/src/table/utils.d.ts +19 -0
  37. package/lib/src/table/utils.d.ts.map +1 -0
  38. package/lib/{task-list-item.d.ts → src/task-list-item.d.ts} +1 -1
  39. package/lib/src/task-list-item.d.ts.map +1 -0
  40. package/package.json +9 -17
  41. package/src/auto-link.ts +4 -9
  42. package/src/index.ts +13 -6
  43. package/src/strike-through.ts +1 -2
  44. package/src/supported-keys.ts +2 -1
  45. package/src/table/command.ts +16 -0
  46. package/src/table/index.ts +13 -0
  47. package/src/table/nodes/index.ts +169 -0
  48. package/src/table/nodes/schema.ts +16 -0
  49. package/src/table/nodes/style.ts +170 -0
  50. package/src/table/operator-plugin/actions.ts +115 -0
  51. package/src/table/operator-plugin/calc-pos.ts +25 -0
  52. package/src/table/operator-plugin/constant.ts +7 -0
  53. package/src/table/operator-plugin/helper.ts +38 -0
  54. package/src/table/operator-plugin/index.ts +98 -0
  55. package/src/table/operator-plugin/style.ts +50 -0
  56. package/src/table/operator-plugin/widget.ts +66 -0
  57. package/src/table/utils.ts +158 -0
  58. package/src/task-list-item.ts +3 -3
  59. package/lib/auto-link.d.ts +0 -16
  60. package/lib/auto-link.d.ts.map +0 -1
  61. package/lib/index.d.ts.map +0 -1
  62. package/lib/strike-through.d.ts.map +0 -1
  63. package/lib/supported-keys.d.ts.map +0 -1
  64. package/lib/task-list-item.d.ts.map +0 -1
package/lib/index.d.ts CHANGED
@@ -1,36 +1 @@
1
- import { AtomList } from '@milkdown/utils';
2
- export * from './strike-through';
3
- export { SupportedKeys } from './supported-keys';
4
- export * from './task-list-item';
5
- export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, tablePlugin, } from '@milkdown/plugin-table';
6
- export { blockquote, bulletList, codeFence, codeInline, commonmark, commonmarkNodes, commonmarkPlugins, doc, em, hardbreak, heading, hr, image, InsertHardbreak, InsertHr, InsertImage, LiftListItem, link, listItem, ModifyImage, ModifyLink, orderedList, paragraph, SinkListItem, SplitListItem, strong, text, ToggleBold, ToggleInlineCode, ToggleItalic, ToggleLink, TurnIntoCodeFence, TurnIntoHeading, TurnIntoText, WrapInBlockquote, WrapInBulletList, WrapInOrderedList, } from '@milkdown/preset-commonmark';
7
- export declare const gfm: AtomList<(import("@milkdown/utils/lib/types").Metadata<import("@milkdown/utils/lib/types").GetPlugin<string, import("@milkdown/preset-commonmark").ImageOptions>> & import("@milkdown/core").MilkdownPlugin) | (import("@milkdown/utils/lib/types").Metadata<import("@milkdown/utils/lib/types").GetPlugin<"CodeFence", {
8
- languageList?: string[] | undefined;
9
- }>> & import("@milkdown/core").MilkdownPlugin)>;
10
- export declare const commands: {
11
- readonly ToggleStrikeThrough: import("@milkdown/core").CmdKey<undefined>;
12
- readonly TurnIntoTaskList: import("@milkdown/core").CmdKey<undefined>;
13
- readonly SinkTaskListItem: import("@milkdown/core").CmdKey<undefined>;
14
- readonly LiftTaskListItem: import("@milkdown/core").CmdKey<undefined>;
15
- readonly SplitTaskListItem: import("@milkdown/core").CmdKey<undefined>;
16
- readonly ToggleInlineCode: import("@milkdown/core").CmdKey<undefined>;
17
- readonly ToggleItalic: import("@milkdown/core").CmdKey<undefined>;
18
- readonly ToggleLink: import("@milkdown/core").CmdKey<string>;
19
- readonly ToggleBold: import("@milkdown/core").CmdKey<undefined>;
20
- readonly ModifyLink: import("@milkdown/core").CmdKey<string>;
21
- readonly ModifyImage: import("@milkdown/core").CmdKey<string>;
22
- readonly WrapInBlockquote: import("@milkdown/core").CmdKey<undefined>;
23
- readonly WrapInBulletList: import("@milkdown/core").CmdKey<undefined>;
24
- readonly WrapInOrderedList: import("@milkdown/core").CmdKey<undefined>;
25
- readonly TurnIntoCodeFence: import("@milkdown/core").CmdKey<undefined>;
26
- readonly TurnIntoHeading: import("@milkdown/core").CmdKey<number>;
27
- readonly TurnIntoText: import("@milkdown/core").CmdKey<undefined>;
28
- readonly InsertHardbreak: import("@milkdown/core").CmdKey<undefined>;
29
- readonly InsertHr: import("@milkdown/core").CmdKey<string>;
30
- readonly InsertImage: import("@milkdown/core").CmdKey<string>;
31
- readonly SplitListItem: import("@milkdown/core").CmdKey<undefined>;
32
- readonly SinkListItem: import("@milkdown/core").CmdKey<undefined>;
33
- readonly LiftListItem: import("@milkdown/core").CmdKey<undefined>;
34
- };
35
- export declare type Commands = typeof commands;
36
- //# sourceMappingURL=index.d.ts.map
1
+ export * from './src/index'