@fibery/prosemirror-schema 7.0.1 → 7.0.2

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 (79) hide show
  1. package/lib/attr-constraints.d.ts +1 -3
  2. package/lib/attr-constraints.js +1 -2
  3. package/lib/block-id-utils.d.ts +1 -3
  4. package/lib/block-id-utils.js +1 -2
  5. package/lib/create-schema.d.ts +1 -3
  6. package/lib/create-schema.js +4 -5
  7. package/lib/index.d.ts +3 -3
  8. package/lib/index.js +5 -5
  9. package/lib/marks/code.d.ts +1 -3
  10. package/lib/marks/code.js +1 -2
  11. package/lib/marks/em.d.ts +1 -3
  12. package/lib/marks/em.js +1 -2
  13. package/lib/marks/hint-query.d.ts +1 -3
  14. package/lib/marks/hint-query.js +1 -2
  15. package/lib/marks/link.d.ts +1 -3
  16. package/lib/marks/link.js +1 -2
  17. package/lib/marks/linked-highlight.d.ts +1 -3
  18. package/lib/marks/linked-highlight.js +1 -2
  19. package/lib/marks/strike.d.ts +1 -3
  20. package/lib/marks/strike.js +1 -2
  21. package/lib/marks/strong.d.ts +1 -3
  22. package/lib/marks/strong.js +1 -2
  23. package/lib/marks/suggestions.d.ts +1 -3
  24. package/lib/marks/suggestions.js +1 -2
  25. package/lib/marks/text-background-color.d.ts +1 -3
  26. package/lib/marks/text-background-color.js +1 -2
  27. package/lib/marks/underline.d.ts +1 -3
  28. package/lib/marks/underline.js +1 -2
  29. package/lib/nodes/callout.d.ts +1 -3
  30. package/lib/nodes/callout.js +1 -2
  31. package/lib/nodes/check-item.d.ts +1 -3
  32. package/lib/nodes/check-item.js +1 -2
  33. package/lib/nodes/check-list.d.ts +1 -3
  34. package/lib/nodes/check-list.js +1 -2
  35. package/lib/nodes/code-block.d.ts +1 -3
  36. package/lib/nodes/code-block.js +1 -2
  37. package/lib/nodes/column.d.ts +1 -3
  38. package/lib/nodes/column.js +1 -2
  39. package/lib/nodes/columns.d.ts +1 -3
  40. package/lib/nodes/columns.js +1 -2
  41. package/lib/nodes/emoji.d.ts +1 -3
  42. package/lib/nodes/emoji.js +1 -2
  43. package/lib/nodes/entity.d.ts +1 -3
  44. package/lib/nodes/entity.js +1 -2
  45. package/lib/nodes/fibery-view.d.ts +1 -3
  46. package/lib/nodes/fibery-view.js +1 -2
  47. package/lib/nodes/file-block.d.ts +1 -3
  48. package/lib/nodes/file-block.js +1 -2
  49. package/lib/nodes/file.d.ts +1 -3
  50. package/lib/nodes/file.js +1 -2
  51. package/lib/nodes/heading.d.ts +1 -3
  52. package/lib/nodes/heading.js +1 -2
  53. package/lib/nodes/image-block.d.ts +1 -3
  54. package/lib/nodes/image-block.js +1 -2
  55. package/lib/nodes/important.d.ts +1 -3
  56. package/lib/nodes/important.js +1 -2
  57. package/lib/nodes/math-display.d.ts +1 -3
  58. package/lib/nodes/math-display.js +1 -2
  59. package/lib/nodes/math-inline.d.ts +1 -3
  60. package/lib/nodes/math-inline.js +1 -2
  61. package/lib/nodes/media.d.ts +1 -3
  62. package/lib/nodes/media.js +1 -2
  63. package/lib/nodes/mention.d.ts +1 -3
  64. package/lib/nodes/mention.js +1 -2
  65. package/lib/nodes/note.d.ts +1 -3
  66. package/lib/nodes/note.js +1 -2
  67. package/lib/nodes/paragraph.d.ts +1 -3
  68. package/lib/nodes/paragraph.js +1 -2
  69. package/lib/nodes/table-nodes.d.ts +1 -3
  70. package/lib/nodes/table-nodes.js +1 -2
  71. package/lib/nodes/types/inline-content.d.ts +1 -3
  72. package/lib/nodes/types/text.d.ts +1 -3
  73. package/lib/nodes/video.d.ts +1 -3
  74. package/lib/nodes/video.js +1 -2
  75. package/lib/resizable-node-attrs.d.ts +1 -3
  76. package/lib/resizable-node-attrs.js +1 -2
  77. package/lib/transcription-node-attrs.d.ts +1 -3
  78. package/lib/transcription-node-attrs.js +1 -2
  79. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- //#region src/attr-constraints.d.ts
2
1
  export type AttrConstraintType = "string" | "number" | "integer" | "boolean" | "null" | "stringMap";
3
2
  export type AttrConstraint = {
4
3
  type?: ReadonlyArray<AttrConstraintType>;
@@ -15,5 +14,4 @@ export type AttrValidationIssue = {
15
14
  message: string;
16
15
  };
17
16
  export declare const validateAttrs: (nodeType: string, attrs: Record<string, unknown>) => AttrValidationIssue[];
18
- export declare const validateMarkAttrs: (markType: string, attrs: Record<string, unknown>) => AttrValidationIssue[];
19
- //#endregion
17
+ export declare const validateMarkAttrs: (markType: string, attrs: Record<string, unknown>) => AttrValidationIssue[];
@@ -1,6 +1,6 @@
1
1
  import { SUGGESTION_MARK_NAMES } from "./marks/suggestions.js";
2
2
  import { ColorToken } from "./marks/text-background-color.js";
3
- //#region src/attr-constraints.ts
3
+ // src/attr-constraints.ts
4
4
  const NODE_ATTR_CONSTRAINTS = {
5
5
  heading: { level: {
6
6
  type: ["integer"],
@@ -196,5 +196,4 @@ const validateEntries = (table, typeName, attrs) => {
196
196
  };
197
197
  const validateAttrs = (nodeType, attrs) => validateEntries(NODE_ATTR_CONSTRAINTS, nodeType, attrs);
198
198
  const validateMarkAttrs = (markType, attrs) => validateEntries(MARK_ATTR_CONSTRAINTS, markType, attrs);
199
- //#endregion
200
199
  export { MARK_ATTR_CONSTRAINTS, NODE_ATTR_CONSTRAINTS, validateAttrValue, validateAttrs, validateMarkAttrValue, validateMarkAttrs };
@@ -1,9 +1,7 @@
1
1
  import { Node, NodeType } from "prosemirror-model";
2
- //#region src/block-id-utils.d.ts
3
2
  export declare const getBlockIdAttr: (type: NodeType) => "id" | null;
4
3
  export declare const hasLegacyGuidAttr: (type: NodeType) => boolean;
5
4
  export declare const getBlockId: (node: Node) => string | null;
6
5
  export declare const buildBlockIdAttrs: (node: Node, nextId: string) => Record<string, unknown>;
7
6
  export declare const FIBERY_VIEW_TYPE = "fiberyView";
8
- export declare const getFiberyViewRef: (node: Node) => string | null;
9
- //#endregion
7
+ export declare const getFiberyViewRef: (node: Node) => string | null;
@@ -1,4 +1,4 @@
1
- //#region src/block-id-utils.ts
1
+ // src/block-id-utils.ts
2
2
  const REFERENCE_ID_TYPES = /* @__PURE__ */ new Set(["fiberyView"]);
3
3
  const getBlockIdAttr = (type) => {
4
4
  if (type.isInline || type.name === "doc" || REFERENCE_ID_TYPES.has(type.name)) return null;
@@ -22,5 +22,4 @@ const getFiberyViewRef = (node) => {
22
22
  if (node.type.name !== "fiberyView") return null;
23
23
  return normalizeId(node.attrs.viewId) ?? normalizeId(node.attrs.id);
24
24
  };
25
- //#endregion
26
25
  export { FIBERY_VIEW_TYPE, buildBlockIdAttrs, getBlockId, getBlockIdAttr, getFiberyViewRef, hasLegacyGuidAttr };
@@ -1,6 +1,5 @@
1
1
  import { EmojiOptions } from "./nodes/emoji.js";
2
2
  import { MarkSpec, Node, NodeSpec, Schema } from "prosemirror-model";
3
- //#region src/create-schema.d.ts
4
3
  type Params = {
5
4
  isImageBlockEnabled?: boolean;
6
5
  fiberyViewEnabled?: boolean;
@@ -14,5 +13,4 @@ export declare const Basic: {
14
13
  nodes: Record<string, NodeSpec>;
15
14
  marks: Record<string, MarkSpec>;
16
15
  fibery: Record<string, MarkSpec>;
17
- };
18
- //#endregion
16
+ };
@@ -1,5 +1,3 @@
1
- import { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARK_NAMES, blockBoundarySuggestion, deletion, insertion, modification } from "./marks/suggestions.js";
2
- import { textBackgroundColor } from "./marks/text-background-color.js";
3
1
  import { code } from "./marks/code.js";
4
2
  import { em } from "./marks/em.js";
5
3
  import { hintQuery } from "./marks/hint-query.js";
@@ -7,6 +5,8 @@ import { link } from "./marks/link.js";
7
5
  import { makeLinkedHighlight, makeLinkedHighlightEntity } from "./marks/linked-highlight.js";
8
6
  import { strike } from "./marks/strike.js";
9
7
  import { strong } from "./marks/strong.js";
8
+ import { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARK_NAMES, blockBoundarySuggestion, deletion, insertion, modification } from "./marks/suggestions.js";
9
+ import { textBackgroundColor } from "./marks/text-background-color.js";
10
10
  import { underline } from "./marks/underline.js";
11
11
  import { makeCallout } from "./nodes/callout.js";
12
12
  import { check_item } from "./nodes/check-item.js";
@@ -17,8 +17,8 @@ import { columns } from "./nodes/columns.js";
17
17
  import { makeEmoji } from "./nodes/emoji.js";
18
18
  import { entity } from "./nodes/entity.js";
19
19
  import { fiberyView } from "./nodes/fibery-view.js";
20
- import { file } from "./nodes/file.js";
21
20
  import { fileBlock } from "./nodes/file-block.js";
21
+ import { file } from "./nodes/file.js";
22
22
  import { makeHeading } from "./nodes/heading.js";
23
23
  import { imageBlock } from "./nodes/image-block.js";
24
24
  import { important } from "./nodes/important.js";
@@ -34,7 +34,7 @@ import { isEmptyObject } from "@fibery/helpers/src/object";
34
34
  import { Schema } from "prosemirror-model";
35
35
  import { marks, nodes } from "prosemirror-schema-basic";
36
36
  import { addListNodes } from "prosemirror-schema-list";
37
- //#region src/create-schema.ts
37
+ // src/create-schema.ts
38
38
  const allowSuggestionMarks = (nodes, marks) => {
39
39
  const probe = new Schema({
40
40
  nodes,
@@ -227,5 +227,4 @@ const Basic = {
227
227
  textBackgroundColor
228
228
  }
229
229
  };
230
- //#endregion
231
230
  export { Basic, createSchema };
package/lib/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
+ import { defaultHeight, defaultWidth } from "./resizable-node-attrs.js";
2
+ import { Basic, createSchema } from "./create-schema.js";
1
3
  import { AttrConstraint, AttrConstraintType, AttrValidationIssue, MARK_ATTR_CONSTRAINTS, NODE_ATTR_CONSTRAINTS, validateAttrValue, validateAttrs, validateMarkAttrValue, validateMarkAttrs } from "./attr-constraints.js";
2
4
  import { FIBERY_VIEW_TYPE, buildBlockIdAttrs, getBlockId, getBlockIdAttr, getFiberyViewRef, hasLegacyGuidAttr } from "./block-id-utils.js";
3
- import { EmojiOptions } from "./nodes/emoji.js";
4
- import { Basic, createSchema } from "./create-schema.js";
5
- import { defaultHeight, defaultWidth } from "./resizable-node-attrs.js";
6
5
  import { EntityAttributes } from "./nodes/entity.js";
7
6
  import { MentionAttributes } from "./nodes/mention.js";
8
7
  import { DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH } from "./nodes/video.js";
@@ -10,5 +9,6 @@ import { DEFAULT_CALLOUT_ICON, DEFAULT_CALLOUT_ICON_TYPE } from "./nodes/callout
10
9
  import { CellAlign, cellAlignValues } from "./nodes/table-nodes.js";
11
10
  import { ColorToken, isColorToken, validateColorToken } from "./marks/text-background-color.js";
12
11
  import { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, SuggestionBaggage, SuggestionMarkName, isSuggestionBaggage } from "./marks/suggestions.js";
12
+ import { EmojiOptions } from "./nodes/emoji.js";
13
13
  import { Node, Schema } from "prosemirror-model";
14
14
  export { type AttrConstraint, type AttrConstraintType, type AttrValidationIssue, Basic, type CellAlign, ColorToken, DEFAULT_CALLOUT_ICON, DEFAULT_CALLOUT_ICON_TYPE, DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH, type EmojiOptions, type EntityAttributes, FIBERY_VIEW_TYPE, INLINE_SUGGESTION_MARK_NAMES, MARK_ATTR_CONSTRAINTS, type MentionAttributes, NODE_ATTR_CONSTRAINTS, Node, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, Schema, type SuggestionBaggage, type SuggestionMarkName, buildBlockIdAttrs, cellAlignValues, createSchema, defaultHeight, defaultWidth, getBlockId, getBlockIdAttr, getFiberyViewRef, hasLegacyGuidAttr, isColorToken, isSuggestionBaggage, validateAttrValue, validateAttrs, validateColorToken, validateMarkAttrValue, validateMarkAttrs };
package/lib/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, isSuggestionBaggage } from "./marks/suggestions.js";
2
- import { ColorToken, isColorToken, validateColorToken } from "./marks/text-background-color.js";
1
+ import { defaultHeight, defaultWidth } from "./resizable-node-attrs.js";
2
+ import { Basic, createSchema } from "./create-schema.js";
3
3
  import { MARK_ATTR_CONSTRAINTS, NODE_ATTR_CONSTRAINTS, validateAttrValue, validateAttrs, validateMarkAttrValue, validateMarkAttrs } from "./attr-constraints.js";
4
4
  import { FIBERY_VIEW_TYPE, buildBlockIdAttrs, getBlockId, getBlockIdAttr, getFiberyViewRef, hasLegacyGuidAttr } from "./block-id-utils.js";
5
+ import { DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH } from "./nodes/video.js";
5
6
  import { DEFAULT_CALLOUT_ICON, DEFAULT_CALLOUT_ICON_TYPE } from "./nodes/callout.js";
6
- import { defaultHeight, defaultWidth } from "./resizable-node-attrs.js";
7
7
  import { cellAlignValues } from "./nodes/table-nodes.js";
8
- import { DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH } from "./nodes/video.js";
9
- import { Basic, createSchema } from "./create-schema.js";
8
+ import { ColorToken, isColorToken, validateColorToken } from "./marks/text-background-color.js";
9
+ import { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, isSuggestionBaggage } from "./marks/suggestions.js";
10
10
  import { Node, Schema } from "prosemirror-model";
11
11
  export { Basic, ColorToken, DEFAULT_CALLOUT_ICON, DEFAULT_CALLOUT_ICON_TYPE, DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH, FIBERY_VIEW_TYPE, INLINE_SUGGESTION_MARK_NAMES, MARK_ATTR_CONSTRAINTS, NODE_ATTR_CONSTRAINTS, Node, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, Schema, buildBlockIdAttrs, cellAlignValues, createSchema, defaultHeight, defaultWidth, getBlockId, getBlockIdAttr, getFiberyViewRef, hasLegacyGuidAttr, isColorToken, isSuggestionBaggage, validateAttrValue, validateAttrs, validateColorToken, validateMarkAttrValue, validateMarkAttrs };
@@ -1,7 +1,5 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/code.d.ts
3
2
  /**
4
3
  Code font mark. Represented as a `<code>` element.
5
4
  */
6
- export declare const code: MarkSpec;
7
- //#endregion
5
+ export declare const code: MarkSpec;
package/lib/marks/code.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/marks/code.ts
1
+ // src/marks/code.ts
2
2
  const codeDOM = ["code", 0];
3
3
  /**
4
4
  Code font mark. Represented as a `<code>` element.
@@ -9,5 +9,4 @@ const code = {
9
9
  return codeDOM;
10
10
  }
11
11
  };
12
- //#endregion
13
12
  export { code };
package/lib/marks/em.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/em.d.ts
3
2
  /**
4
3
  An emphasis mark. Rendered as an `<em>` element. Has parse rules
5
4
  that also match `<i>` and `font-style: italic`.
6
5
  */
7
- export declare const em: MarkSpec;
8
- //#endregion
6
+ export declare const em: MarkSpec;
package/lib/marks/em.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/marks/em.ts
1
+ // src/marks/em.ts
2
2
  const emDOM = ["em", 0];
3
3
  /**
4
4
  An emphasis mark. Rendered as an `<em>` element. Has parse rules
@@ -18,5 +18,4 @@ const em = {
18
18
  return emDOM;
19
19
  }
20
20
  };
21
- //#endregion
22
21
  export { em };
@@ -1,4 +1,2 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/hint-query.d.ts
3
- export declare const hintQuery: MarkSpec;
4
- //#endregion
2
+ export declare const hintQuery: MarkSpec;
@@ -1,4 +1,4 @@
1
- //#region src/marks/hint-query.ts
1
+ // src/marks/hint-query.ts
2
2
  const hintQuery = {
3
3
  excludes: "searchQuery",
4
4
  inclusive: true,
@@ -16,5 +16,4 @@ const hintQuery = {
16
16
  }];
17
17
  }
18
18
  };
19
- //#endregion
20
19
  export { hintQuery };
@@ -1,9 +1,7 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/link.d.ts
3
2
  /**
4
3
  A link. Has `href` and `title` attributes. `title`
5
4
  defaults to the empty string. Rendered and parsed as an `<a>`
6
5
  element.
7
6
  */
8
- export declare const link: MarkSpec;
9
- //#endregion
7
+ export declare const link: MarkSpec;
package/lib/marks/link.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/marks/link.ts
1
+ // src/marks/link.ts
2
2
  const httpRegex = /^[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b[-a-zA-Z0-9()@:%_+.~#?&/=]*$/;
3
3
  /**
4
4
  A link. Has `href` and `title` attributes. `title`
@@ -39,5 +39,4 @@ const link = {
39
39
  ];
40
40
  }
41
41
  };
42
- //#endregion
43
42
  export { link };
@@ -1,5 +1,4 @@
1
1
  import { Attrs, MarkSpec } from "prosemirror-model";
2
- //#region src/marks/linked-highlight.d.ts
3
2
  type Generator = {
4
3
  generate(markAttrs: Attrs): string | null;
5
4
  };
@@ -8,5 +7,4 @@ export declare const makeLinkedHighlight: ({ sharedColorGenerator }: {
8
7
  }) => MarkSpec;
9
8
  export declare const makeLinkedHighlightEntity: ({ sharedColorGenerator }: {
10
9
  sharedColorGenerator?: Generator;
11
- }) => MarkSpec;
12
- //#endregion
10
+ }) => MarkSpec;
@@ -1,4 +1,4 @@
1
- //#region src/marks/linked-highlight.ts
1
+ // src/marks/linked-highlight.ts
2
2
  const hyphenatePascal = (str) => str.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z]{2})[a-z]/, "$1-").toLowerCase();
3
3
  const createMark = (markType, backgroundProperty, sharedColorGenerator) => {
4
4
  const markTag = `span.${markType}`;
@@ -40,5 +40,4 @@ const makeLinkedHighlight = ({ sharedColorGenerator }) => {
40
40
  const makeLinkedHighlightEntity = ({ sharedColorGenerator }) => {
41
41
  return createMark("linkedhighlightentity", "--dynamic-bg-linked-highlight-entity", sharedColorGenerator);
42
42
  };
43
- //#endregion
44
43
  export { makeLinkedHighlight, makeLinkedHighlightEntity };
@@ -1,4 +1,2 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/strike.d.ts
3
- export declare const strike: MarkSpec;
4
- //#endregion
2
+ export declare const strike: MarkSpec;
@@ -1,7 +1,6 @@
1
- //#region src/marks/strike.ts
1
+ // src/marks/strike.ts
2
2
  const strike = {
3
3
  parseDOM: [{ tag: "strike" }, { style: "text-decoration=line-through" }],
4
4
  toDOM: () => ["strike"]
5
5
  };
6
- //#endregion
7
6
  export { strike };
@@ -1,8 +1,6 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/strong.d.ts
3
2
  /**
4
3
  A strong mark. Rendered as `<strong>`, parse rules also match
5
4
  `<b>` and `font-weight: bold`.
6
5
  */
7
- export declare const strong: MarkSpec;
8
- //#endregion
6
+ export declare const strong: MarkSpec;
@@ -1,4 +1,4 @@
1
- //#region src/marks/strong.ts
1
+ // src/marks/strong.ts
2
2
  const strongDOM = ["strong", 0];
3
3
  /**
4
4
  A strong mark. Rendered as `<strong>`, parse rules also match
@@ -28,5 +28,4 @@ const strong = {
28
28
  return strongDOM;
29
29
  }
30
30
  };
31
- //#endregion
32
31
  export { strong };
@@ -1,5 +1,4 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/suggestions.d.ts
3
2
  export declare const SUGGESTION_MARK_NAMES: readonly ["insertion", "deletion", "modification", "blockBoundarySuggestion"];
4
3
  export type SuggestionMarkName = (typeof SUGGESTION_MARK_NAMES)[number];
5
4
  export declare const SUGGESTION_MARKS_EXPR: string;
@@ -9,5 +8,4 @@ export declare const isSuggestionBaggage: (value: unknown) => value is Suggestio
9
8
  export declare const insertion: MarkSpec;
10
9
  export declare const deletion: MarkSpec;
11
10
  export declare const modification: MarkSpec;
12
- export declare const blockBoundarySuggestion: MarkSpec;
13
- //#endregion
11
+ export declare const blockBoundarySuggestion: MarkSpec;
@@ -1,4 +1,4 @@
1
- //#region src/marks/suggestions.ts
1
+ // src/marks/suggestions.ts
2
2
  const SUGGESTION_MARK_NAMES = [
3
3
  "insertion",
4
4
  "deletion",
@@ -175,5 +175,4 @@ const blockBoundarySuggestion = {
175
175
  getAttrs: getBoundaryAttrs
176
176
  }]
177
177
  };
178
- //#endregion
179
178
  export { INLINE_SUGGESTION_MARK_NAMES, SUGGESTION_MARKS_EXPR, SUGGESTION_MARK_NAMES, blockBoundarySuggestion, deletion, insertion, isSuggestionBaggage, modification };
@@ -1,5 +1,4 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/text-background-color.d.ts
3
2
  export declare enum ColorToken {
4
3
  Yellow = "YELLOW",
5
4
  Green = "GREEN",
@@ -13,5 +12,4 @@ export declare enum ColorToken {
13
12
  }
14
13
  export declare const isColorToken: (text: string) => text is ColorToken;
15
14
  export declare const validateColorToken: (color: string | undefined) => ColorToken | undefined;
16
- export declare const textBackgroundColor: MarkSpec;
17
- //#endregion
15
+ export declare const textBackgroundColor: MarkSpec;
@@ -1,4 +1,4 @@
1
- //#region src/marks/text-background-color.ts
1
+ // src/marks/text-background-color.ts
2
2
  let ColorToken = /* @__PURE__ */ function(ColorToken) {
3
3
  ColorToken["Yellow"] = "YELLOW";
4
4
  ColorToken["Green"] = "GREEN";
@@ -69,5 +69,4 @@ const textBackgroundColor = {
69
69
  }];
70
70
  }
71
71
  };
72
- //#endregion
73
72
  export { ColorToken, isColorToken, textBackgroundColor, validateColorToken };
@@ -1,4 +1,2 @@
1
1
  import { MarkSpec } from "prosemirror-model";
2
- //#region src/marks/underline.d.ts
3
- export declare const underline: MarkSpec;
4
- //#endregion
2
+ export declare const underline: MarkSpec;
@@ -1,7 +1,6 @@
1
- //#region src/marks/underline.ts
1
+ // src/marks/underline.ts
2
2
  const underline = {
3
3
  parseDOM: [{ tag: "u" }, { style: "text-decoration=underline" }],
4
4
  toDOM: () => ["u"]
5
5
  };
6
- //#endregion
7
6
  export { underline };
@@ -1,5 +1,4 @@
1
1
  import { EmojiOptions } from "./emoji.js";
2
- //#region src/nodes/callout.d.ts
3
2
  export declare const DEFAULT_CALLOUT_ICON_TYPE = "icon";
4
3
  export declare const DEFAULT_CALLOUT_ICON = "exclamation-circle";
5
4
  export declare const makeCallout: ({ getEmoji }?: EmojiOptions) => {
@@ -26,5 +25,4 @@ export declare const makeCallout: ({ getEmoji }?: EmojiOptions) => {
26
25
  };
27
26
  }[];
28
27
  toDOM(node: import("prosemirror-model").Node): [string, Record<string, string>, number];
29
- };
30
- //#endregion
28
+ };
@@ -1,4 +1,4 @@
1
- //#region src/nodes/callout.ts
1
+ // src/nodes/callout.ts
2
2
  const nodeType = "data-callout-node";
3
3
  const DEFAULT_CALLOUT_ICON_TYPE = "icon";
4
4
  const DEFAULT_CALLOUT_ICON = "exclamation-circle";
@@ -55,5 +55,4 @@ const makeCallout = ({ getEmoji } = defaultOptions) => ({
55
55
  ];
56
56
  }
57
57
  });
58
- //#endregion
59
58
  export { DEFAULT_CALLOUT_ICON, DEFAULT_CALLOUT_ICON_TYPE, makeCallout };
@@ -1,6 +1,5 @@
1
1
  import { Inline } from "./types/inline-content.js";
2
2
  import { NodeSpec } from "prosemirror-model";
3
- //#region src/nodes/check-item.d.ts
4
3
  export interface CheckItemDefinition {
5
4
  type: "check_item";
6
5
  content?: Array<Inline>;
@@ -9,5 +8,4 @@ export interface CheckItemDefinition {
9
8
  state: "TODO" | "DONE";
10
9
  };
11
10
  }
12
- export declare const check_item: NodeSpec;
13
- //#endregion
11
+ export declare const check_item: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { v4 } from "uuid";
2
- //#region src/nodes/check-item.ts
2
+ // src/nodes/check-item.ts
3
3
  const check_item = {
4
4
  content: "inline*",
5
5
  defining: true,
@@ -29,5 +29,4 @@ const check_item = {
29
29
  ];
30
30
  }
31
31
  };
32
- //#endregion
33
32
  export { check_item };
@@ -1,6 +1,5 @@
1
1
  import { CheckItemDefinition } from "./check-item.js";
2
2
  import { NodeSpec } from "prosemirror-model";
3
- //#region src/nodes/check-list.d.ts
4
3
  export interface CheckListContent extends Array<CheckItemDefinition | CheckListDefinition> {
5
4
  0: CheckItemDefinition;
6
5
  }
@@ -11,5 +10,4 @@ export interface CheckListDefinition {
11
10
  id: string;
12
11
  };
13
12
  }
14
- export declare const check_list: NodeSpec;
15
- //#endregion
13
+ export declare const check_list: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { v4 } from "uuid";
2
- //#region src/nodes/check-list.ts
2
+ // src/nodes/check-list.ts
3
3
  const check_list = {
4
4
  group: "block",
5
5
  defining: true,
@@ -20,5 +20,4 @@ const check_list = {
20
20
  ];
21
21
  }
22
22
  };
23
- //#endregion
24
23
  export { check_list };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/code-block.d.ts
3
- export declare const code_block: NodeSpec;
4
- //#endregion
2
+ export declare const code_block: NodeSpec;
@@ -1,6 +1,6 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
2
  import { v4 } from "uuid";
3
- //#region src/nodes/code-block.ts
3
+ // src/nodes/code-block.ts
4
4
  const getLanguageFromEditorStyle = (dom) => {
5
5
  return dom.getAttribute("data-language") || void 0;
6
6
  };
@@ -77,5 +77,4 @@ const code_block = {
77
77
  ]];
78
78
  }
79
79
  };
80
- //#endregion
81
80
  export { code_block };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/column.d.ts
3
- export declare const column: NodeSpec;
4
- //#endregion
2
+ export declare const column: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/column.ts
1
+ // src/nodes/column.ts
2
2
  const column = {
3
3
  content: "block+",
4
4
  selectable: true,
@@ -25,5 +25,4 @@ const column = {
25
25
  ];
26
26
  }
27
27
  };
28
- //#endregion
29
28
  export { column };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/columns.d.ts
3
- export declare const columns: NodeSpec;
4
- //#endregion
2
+ export declare const columns: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
- //#region src/nodes/columns.ts
2
+ // src/nodes/columns.ts
3
3
  const columns = {
4
4
  content: "column+",
5
5
  selectable: true,
@@ -31,5 +31,4 @@ const columns = {
31
31
  ];
32
32
  }
33
33
  };
34
- //#endregion
35
34
  export { columns };
@@ -1,4 +1,3 @@
1
- //#region src/nodes/emoji.d.ts
2
1
  type Emoji = {
3
2
  name: string;
4
3
  shortNames: string[];
@@ -28,5 +27,4 @@ export declare const makeEmoji: ({ getEmoji }?: EmojiOptions) => {
28
27
  "data-emoji-node": string;
29
28
  "data-emoji-code": any;
30
29
  }, any];
31
- };
32
- //#endregion
30
+ };
@@ -1,4 +1,4 @@
1
- //#region src/nodes/emoji.ts
1
+ // src/nodes/emoji.ts
2
2
  const typeAttr = "data-emoji-node";
3
3
  const codeAttr = "data-emoji-code";
4
4
  const defaultOptions = { getEmoji() {} };
@@ -38,5 +38,4 @@ const makeEmoji = ({ getEmoji } = defaultOptions) => ({
38
38
  ];
39
39
  }
40
40
  });
41
- //#endregion
42
41
  export { makeEmoji };
@@ -1,5 +1,4 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/entity.d.ts
3
2
  type Meta = {
4
3
  comment?: string;
5
4
  anchor?: string;
@@ -16,5 +15,4 @@ export interface EntityDefinition {
16
15
  type: "entity";
17
16
  attrs: EntityAttributes;
18
17
  }
19
- export declare const entity: NodeSpec;
20
- //#endregion
18
+ export declare const entity: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/entity.ts
1
+ // src/nodes/entity.ts
2
2
  const entity = {
3
3
  inline: true,
4
4
  group: "inline",
@@ -39,5 +39,4 @@ const entity = {
39
39
  }];
40
40
  }
41
41
  };
42
- //#endregion
43
42
  export { entity };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/fibery-view.d.ts
3
- export declare const fiberyView: NodeSpec;
4
- //#endregion
2
+ export declare const fiberyView: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
- //#region src/nodes/fibery-view.ts
2
+ // src/nodes/fibery-view.ts
3
3
  const fiberyView = {
4
4
  inline: false,
5
5
  group: "block",
@@ -35,5 +35,4 @@ const fiberyView = {
35
35
  ];
36
36
  }
37
37
  };
38
- //#endregion
39
38
  export { fiberyView };
@@ -1,4 +1,3 @@
1
- //#region src/nodes/file-block.d.ts
2
1
  export declare const fileBlock: {
3
2
  attrs: {
4
3
  transcription: {
@@ -38,5 +37,4 @@ export declare const fileBlock: {
38
37
  "data-size": any;
39
38
  "data-type": any;
40
39
  }, any];
41
- };
42
- //#endregion
40
+ };
@@ -1,6 +1,6 @@
1
1
  import { createDefaultAttrs } from "../transcription-node-attrs.js";
2
2
  import { fileElementAttrs, parseFileElement } from "./file.js";
3
- //#region src/nodes/file-block.ts
3
+ // src/nodes/file-block.ts
4
4
  const fileBlock = {
5
5
  attrs: {
6
6
  src: {},
@@ -31,5 +31,4 @@ const fileBlock = {
31
31
  ];
32
32
  }
33
33
  };
34
- //#endregion
35
34
  export { fileBlock };
@@ -1,5 +1,4 @@
1
1
  import { Attrs } from "prosemirror-model";
2
- //#region src/nodes/file.d.ts
3
2
  export declare const parseFileElement: (dom: HTMLElement) => {
4
3
  src: string | null;
5
4
  title: string;
@@ -45,5 +44,4 @@ export declare const file: {
45
44
  "data-size": any;
46
45
  "data-type": any;
47
46
  }, any];
48
- };
49
- //#endregion
47
+ };
package/lib/nodes/file.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createDefaultAttrs } from "../transcription-node-attrs.js";
2
- //#region src/nodes/file.ts
2
+ // src/nodes/file.ts
3
3
  const parseFileElement = (dom) => ({
4
4
  src: dom.getAttribute("data-file-href"),
5
5
  title: dom.textContent,
@@ -40,5 +40,4 @@ const file = {
40
40
  ];
41
41
  }
42
42
  };
43
- //#endregion
44
43
  export { file, fileElementAttrs, parseFileElement };
@@ -1,6 +1,4 @@
1
1
  import { Node, NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/heading.d.ts
3
2
  export declare const makeHeading: ({ headingToDOM }: {
4
3
  headingToDOM: ((node: Node) => HTMLElement) | null;
5
- }) => NodeSpec;
6
- //#endregion
4
+ }) => NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { v4 } from "uuid";
2
- //#region src/nodes/heading.ts
2
+ // src/nodes/heading.ts
3
3
  const parseGuid = (dom) => {
4
4
  return dom.getAttribute("guid") || v4();
5
5
  };
@@ -59,5 +59,4 @@ const makeHeading = ({ headingToDOM }) => ({
59
59
  ];
60
60
  }
61
61
  });
62
- //#endregion
63
62
  export { makeHeading };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/image-block.d.ts
3
- export declare const imageBlock: NodeSpec;
4
- //#endregion
2
+ export declare const imageBlock: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
- //#region src/nodes/image-block.ts
2
+ // src/nodes/image-block.ts
3
3
  const imageBlock = {
4
4
  attrs: {
5
5
  src: {},
@@ -40,5 +40,4 @@ const imageBlock = {
40
40
  ];
41
41
  }
42
42
  };
43
- //#endregion
44
43
  export { imageBlock };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/important.d.ts
3
- export declare const important: NodeSpec;
4
- //#endregion
2
+ export declare const important: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/important.ts
1
+ // src/nodes/important.ts
2
2
  const important = {
3
3
  content: "inline*",
4
4
  group: "block",
@@ -11,5 +11,4 @@ const important = {
11
11
  ];
12
12
  }
13
13
  };
14
- //#endregion
15
14
  export { important };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/math-display.d.ts
3
- export declare const math_display: NodeSpec;
4
- //#endregion
2
+ export declare const math_display: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/math-display.ts
1
+ // src/nodes/math-display.ts
2
2
  const math_display = {
3
3
  group: "block math",
4
4
  content: "text*",
@@ -11,5 +11,4 @@ const math_display = {
11
11
  ],
12
12
  parseDOM: [{ tag: "math-display" }]
13
13
  };
14
- //#endregion
15
14
  export { math_display };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/math-inline.d.ts
3
- export declare const math_inline: NodeSpec;
4
- //#endregion
2
+ export declare const math_inline: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/math-inline.ts
1
+ // src/nodes/math-inline.ts
2
2
  const math_inline = {
3
3
  group: "inline math",
4
4
  content: "text*",
@@ -11,5 +11,4 @@ const math_inline = {
11
11
  ],
12
12
  parseDOM: [{ tag: "math-inline" }]
13
13
  };
14
- //#endregion
15
14
  export { math_inline };
@@ -1,6 +1,4 @@
1
1
  import { Node, NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/media.d.ts
3
2
  export declare const makeMedia: ({ mediaToDom }: {
4
3
  mediaToDom: ((node: Node) => HTMLElement) | null;
5
- }) => NodeSpec;
6
- //#endregion
4
+ }) => NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
- //#region src/nodes/media.ts
2
+ // src/nodes/media.ts
3
3
  function toBoolean(attr) {
4
4
  if (typeof attr === "boolean") return attr;
5
5
  if (typeof attr === "string") {
@@ -54,5 +54,4 @@ const makeMedia = ({ mediaToDom }) => ({
54
54
  ];
55
55
  }
56
56
  });
57
- //#endregion
58
57
  export { makeMedia };
@@ -1,5 +1,4 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/mention.d.ts
3
2
  export interface MentionAttributes {
4
3
  id: string;
5
4
  typeId: string;
@@ -8,5 +7,4 @@ export interface MentionDefinition {
8
7
  type: "mention";
9
8
  attrs: MentionAttributes;
10
9
  }
11
- export declare const mention: NodeSpec;
12
- //#endregion
10
+ export declare const mention: NodeSpec;
@@ -1,4 +1,4 @@
1
- //#region src/nodes/mention.ts
1
+ // src/nodes/mention.ts
2
2
  const mention = {
3
3
  inline: true,
4
4
  group: "inline",
@@ -27,5 +27,4 @@ const mention = {
27
27
  }];
28
28
  }
29
29
  };
30
- //#endregion
31
30
  export { mention };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/note.d.ts
3
- export declare const note: NodeSpec;
4
- //#endregion
2
+ export declare const note: NodeSpec;
package/lib/nodes/note.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/nodes/note.ts
1
+ // src/nodes/note.ts
2
2
  const note = {
3
3
  content: "inline*",
4
4
  group: "block",
@@ -11,5 +11,4 @@ const note = {
11
11
  },
12
12
  parseDOM: [{ tag: "div.fibery-note" }]
13
13
  };
14
- //#endregion
15
14
  export { note };
@@ -1,4 +1,2 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/paragraph.d.ts
3
- export declare const paragraph: NodeSpec;
4
- //#endregion
2
+ export declare const paragraph: NodeSpec;
@@ -1,5 +1,5 @@
1
1
  import { v4 } from "uuid";
2
- //#region src/nodes/paragraph.ts
2
+ // src/nodes/paragraph.ts
3
3
  const paragraph = {
4
4
  content: "inline*",
5
5
  group: "block",
@@ -29,5 +29,4 @@ const paragraph = {
29
29
  ];
30
30
  }
31
31
  };
32
- //#endregion
33
32
  export { paragraph };
@@ -1,6 +1,4 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/table-nodes.d.ts
3
2
  export declare const cellAlignValues: readonly ["left", "center", "right"];
4
3
  export type CellAlign = (typeof cellAlignValues)[number];
5
- export declare const tableNodes: Record<string, NodeSpec>;
6
- //#endregion
4
+ export declare const tableNodes: Record<string, NodeSpec>;
@@ -1,6 +1,6 @@
1
1
  import { validateColorToken } from "../marks/text-background-color.js";
2
2
  import { tableNodes as tableNodes$1 } from "prosemirror-tables";
3
- //#region src/nodes/table-nodes.ts
3
+ // src/nodes/table-nodes.ts
4
4
  const cellAlignValues = [
5
5
  "left",
6
6
  "center",
@@ -40,5 +40,4 @@ const tableNodes = tableNodes$1({
40
40
  }
41
41
  }
42
42
  });
43
- //#endregion
44
43
  export { cellAlignValues, tableNodes };
@@ -1,11 +1,9 @@
1
1
  import { EntityDefinition } from "../entity.js";
2
2
  import { MentionDefinition } from "../mention.js";
3
3
  import { TextDefinition } from "./text.js";
4
- //#region src/nodes/types/inline-content.d.ts
5
4
  interface MarksObject<T> {
6
5
  marks?: Array<T>;
7
6
  }
8
7
  export type InlineFormattedText = TextDefinition & MarksObject<unknown>;
9
8
  export type InlineAtomic = MentionDefinition | EntityDefinition | unknown;
10
- export type Inline = InlineFormattedText | InlineAtomic;
11
- //#endregion
9
+ export type Inline = InlineFormattedText | InlineAtomic;
@@ -1,7 +1,5 @@
1
- //#region src/nodes/types/text.d.ts
2
1
  export interface TextDefinition {
3
2
  type: "text";
4
3
  text: string;
5
4
  marks?: Array<any>;
6
- }
7
- //#endregion
5
+ }
@@ -1,6 +1,4 @@
1
1
  import { NodeSpec } from "prosemirror-model";
2
- //#region src/nodes/video.d.ts
3
2
  export declare const DEFAULT_VIDEO_WIDTH = 400;
4
3
  export declare const DEFAULT_VIDEO_HEIGHT = 200;
5
- export declare const video: NodeSpec;
6
- //#endregion
4
+ export declare const video: NodeSpec;
@@ -1,6 +1,6 @@
1
1
  import { createDefaultAttrs, createParseDomAttrs, createToDomAttrs } from "../resizable-node-attrs.js";
2
2
  import { createDefaultAttrs as createDefaultAttrs$1 } from "../transcription-node-attrs.js";
3
- //#region src/nodes/video.ts
3
+ // src/nodes/video.ts
4
4
  const DEFAULT_VIDEO_WIDTH = 400;
5
5
  const DEFAULT_VIDEO_HEIGHT = 200;
6
6
  const video = {
@@ -46,5 +46,4 @@ const video = {
46
46
  }];
47
47
  }
48
48
  };
49
- //#endregion
50
49
  export { DEFAULT_VIDEO_HEIGHT, DEFAULT_VIDEO_WIDTH, video };
@@ -1,5 +1,4 @@
1
1
  import { Attrs } from "prosemirror-model";
2
- //#region src/resizable-node-attrs.d.ts
3
2
  export declare const defaultHeight = 400;
4
3
  export declare const defaultWidth = 900;
5
4
  export declare function createDefaultAttrs(): {
@@ -27,5 +26,4 @@ export declare function createToDomAttrs({ nodeHeight, nodeWidth, nodePageWidth,
27
26
  "data-node-width": any;
28
27
  "data-node-page-width": any;
29
28
  "data-node-full-width": any;
30
- };
31
- //#endregion
29
+ };
@@ -1,4 +1,4 @@
1
- //#region src/resizable-node-attrs.ts
1
+ // src/resizable-node-attrs.ts
2
2
  const defaultHeight = 400;
3
3
  const defaultWidth = 900;
4
4
  function createDefaultAttrs() {
@@ -25,5 +25,4 @@ function createToDomAttrs({ nodeHeight, nodeWidth, nodePageWidth, nodeFullWidth
25
25
  "data-node-full-width": nodeFullWidth
26
26
  };
27
27
  }
28
- //#endregion
29
28
  export { createDefaultAttrs, createParseDomAttrs, createToDomAttrs, defaultHeight, defaultWidth };
@@ -1,4 +1,3 @@
1
- //#region src/transcription-node-attrs.d.ts
2
1
  export declare function createDefaultAttrs(): {
3
2
  transcription: {
4
3
  default: {
@@ -7,5 +6,4 @@ export declare function createDefaultAttrs(): {
7
6
  inserted: boolean;
8
7
  };
9
8
  };
10
- };
11
- //#endregion
9
+ };
@@ -1,4 +1,4 @@
1
- //#region src/transcription-node-attrs.ts
1
+ // src/transcription-node-attrs.ts
2
2
  function createDefaultAttrs() {
3
3
  return { transcription: { default: {
4
4
  status: "IDLE",
@@ -6,5 +6,4 @@ function createDefaultAttrs() {
6
6
  inserted: false
7
7
  } } };
8
8
  }
9
- //#endregion
10
9
  export { createDefaultAttrs };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fibery/prosemirror-schema",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Fibery prosemirror schema",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@fibery/helpers": "6.0.0",
20
+ "@fibery/helpers": "7.0.0",
21
21
  "prosemirror-model": "1.25.4",
22
22
  "prosemirror-schema-basic": "1.2.2",
23
23
  "prosemirror-schema-list": "1.5.1",