@milkdown/preset-gfm 6.1.5 → 6.2.0
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/auto-link.d.ts.map +1 -1
- package/lib/footnote/definition.d.ts +1 -5
- package/lib/footnote/definition.d.ts.map +1 -1
- package/lib/footnote/reference.d.ts +1 -5
- package/lib/footnote/reference.d.ts.map +1 -1
- package/lib/index.d.ts +1 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +1671 -16
- package/lib/index.es.js.map +1 -1
- package/lib/strike-through.d.ts +1 -5
- package/lib/strike-through.d.ts.map +1 -1
- package/lib/table/command.d.ts +1 -1
- package/lib/table/command.d.ts.map +1 -1
- package/lib/table/nodes/cell-selection.d.ts +38 -0
- package/lib/table/nodes/cell-selection.d.ts.map +1 -0
- package/lib/table/nodes/column-resizing.d.ts +10 -0
- package/lib/table/nodes/column-resizing.d.ts.map +1 -0
- package/lib/table/nodes/commands.d.ts +30 -0
- package/lib/table/nodes/commands.d.ts.map +1 -0
- package/lib/table/nodes/copy-paste.d.ts +13 -0
- package/lib/table/nodes/copy-paste.d.ts.map +1 -0
- package/lib/table/nodes/fix-tables.d.ts +6 -0
- package/lib/table/nodes/fix-tables.d.ts.map +1 -0
- package/lib/table/nodes/index.d.ts +5 -23
- package/lib/table/nodes/index.d.ts.map +1 -1
- package/lib/table/nodes/schema.d.ts +3 -1
- package/lib/table/nodes/schema.d.ts.map +1 -1
- package/lib/table/nodes/table-editing.d.ts +9 -0
- package/lib/table/nodes/table-editing.d.ts.map +1 -0
- package/lib/table/nodes/table-map.d.ts +44 -0
- package/lib/table/nodes/table-map.d.ts.map +1 -0
- package/lib/table/nodes/table-view.d.ts +15 -0
- package/lib/table/nodes/table-view.d.ts.map +1 -0
- package/lib/table/nodes/types.d.ts +15 -0
- package/lib/table/nodes/types.d.ts.map +1 -0
- package/lib/table/nodes/util.d.ts +16 -0
- package/lib/table/nodes/util.d.ts.map +1 -0
- package/lib/table/operator-plugin/actions.d.ts +1 -1
- package/lib/table/operator-plugin/actions.d.ts.map +1 -1
- package/lib/table/operator-plugin/calc-pos.d.ts.map +1 -1
- package/lib/table/operator-plugin/helper.d.ts +1 -1
- package/lib/table/operator-plugin/helper.d.ts.map +1 -1
- package/lib/table/operator-plugin/index.d.ts +1 -1
- package/lib/table/operator-plugin/index.d.ts.map +1 -1
- package/lib/table/operator-plugin/widget.d.ts +4 -4
- package/lib/table/operator-plugin/widget.d.ts.map +1 -1
- package/lib/table/utils.d.ts +4 -4
- package/lib/table/utils.d.ts.map +1 -1
- package/lib/task-list-item.d.ts +1 -5
- package/lib/task-list-item.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/auto-link.ts +4 -3
- package/src/table/command.ts +3 -3
- package/src/table/nodes/cell-selection.ts +352 -0
- package/src/table/nodes/column-resizing.ts +260 -0
- package/src/table/nodes/commands.ts +551 -0
- package/src/table/nodes/copy-paste.ts +306 -0
- package/src/table/nodes/fix-tables.ts +117 -0
- package/src/table/nodes/index.ts +7 -1
- package/src/table/nodes/schema.ts +100 -2
- package/src/table/nodes/table-editing.ts +275 -0
- package/src/table/nodes/table-map.ts +280 -0
- package/src/table/nodes/table-view.ts +76 -0
- package/src/table/nodes/types.ts +16 -0
- package/src/table/nodes/util.ts +107 -0
- package/src/table/operator-plugin/actions.ts +4 -4
- package/src/table/operator-plugin/calc-pos.ts +2 -1
- package/src/table/operator-plugin/helper.ts +2 -1
- package/src/table/operator-plugin/index.ts +1 -1
- package/src/table/operator-plugin/widget.ts +4 -14
- package/src/table/utils.ts +5 -2
- package/src/task-list-item.ts +2 -1
package/lib/auto-link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-link.d.ts","sourceRoot":"","sources":["../src/auto-link.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auto-link.d.ts","sourceRoot":"","sources":["../src/auto-link.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,SAAS,kCAAiC,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export declare const ModifyFootnoteDef: import("@milkdown/core").CmdKey<string>;
|
|
2
|
-
export declare const footnoteDefinition: import("@milkdown/utils").
|
|
3
|
-
id: string;
|
|
4
|
-
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
5
|
-
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
|
6
|
-
}>;
|
|
2
|
+
export declare const footnoteDefinition: import("@milkdown/utils").NodeCreator<string, import("@milkdown/utils").UnknownRecord>;
|
|
7
3
|
//# sourceMappingURL=definition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../src/footnote/definition.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,iBAAiB,yCAA4C,CAAC;AAE3E,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../src/footnote/definition.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,iBAAiB,yCAA4C,CAAC;AAE3E,eAAO,MAAM,kBAAkB,wFAoK7B,CAAC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
export declare const ModifyFootnoteRef: import("@milkdown/core").CmdKey<string>;
|
|
2
|
-
export declare const footnoteReference: import("@milkdown/utils").
|
|
3
|
-
id: string;
|
|
4
|
-
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
5
|
-
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
|
6
|
-
}>;
|
|
2
|
+
export declare const footnoteReference: import("@milkdown/utils").NodeCreator<string, import("@milkdown/utils").UnknownRecord>;
|
|
7
3
|
//# sourceMappingURL=reference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../src/footnote/reference.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,iBAAiB,yCAA4C,CAAC;AAG3E,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../src/footnote/reference.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,iBAAiB,yCAA4C,CAAC;AAG3E,eAAO,MAAM,iBAAiB,wFA8J5B,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -5,9 +5,7 @@ export { SupportedKeys } from './supported-keys';
|
|
|
5
5
|
export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, } from './table';
|
|
6
6
|
export * from './task-list-item';
|
|
7
7
|
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';
|
|
8
|
-
export declare const gfm: AtomList<import("@milkdown/utils")
|
|
9
|
-
languageList?: string[] | undefined;
|
|
10
|
-
}>> & import("@milkdown/core").MilkdownPlugin)>;
|
|
8
|
+
export declare const gfm: AtomList<import("@milkdown/utils").AtomPlugin>;
|
|
11
9
|
export declare const commands: {
|
|
12
10
|
readonly ToggleStrikeThrough: import("@milkdown/core").CmdKey<undefined>;
|
|
13
11
|
readonly TurnIntoTaskList: import("@milkdown/core").CmdKey<undefined>;
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAgBpD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACH,UAAU,EAEV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,GACR,MAAM,SAAS,CAAC;AACjB,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACH,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EAEV,eAAe,EACf,iBAAiB,EAEjB,GAAG,EACH,EAAE,EACF,SAAS,EACT,OAAO,EACP,EAAE,EACF,KAAK,EAEL,eAAe,EACf,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,MAAM,EACN,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAgBpD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACH,UAAU,EAEV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,GACR,MAAM,SAAS,CAAC;AACjB,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACH,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EAEV,eAAe,EACf,iBAAiB,EAEjB,GAAG,EACH,EAAE,EACF,SAAS,EACT,OAAO,EACP,EAAE,EACF,KAAK,EAEL,eAAe,EACf,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,MAAM,EACN,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,GAAG,gDASd,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAC;AACX,oBAAY,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|