@tiptap/extension-list 3.21.0 → 3.22.1

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.
@@ -1,5 +1,5 @@
1
- import { Node as Node$1 } from '@tiptap/core';
2
- import { Node } from '@tiptap/pm/model';
1
+ import { Node } from '@tiptap/core';
2
+ import { Node as Node$1 } from '@tiptap/pm/model';
3
3
 
4
4
  interface TaskItemOptions {
5
5
  /**
@@ -8,7 +8,7 @@ interface TaskItemOptions {
8
8
  * @param checked The new checked state
9
9
  * @returns boolean
10
10
  */
11
- onReadOnlyChecked?: (node: Node, checked: boolean) => boolean;
11
+ onReadOnlyChecked?: (node: Node$1, checked: boolean) => boolean;
12
12
  /**
13
13
  * Controls whether the task items can be nested or not.
14
14
  * @default false
@@ -37,7 +37,7 @@ interface TaskItemOptions {
37
37
  * }
38
38
  */
39
39
  a11y?: {
40
- checkboxLabel?: (node: Node, checked: boolean) => string;
40
+ checkboxLabel?: (node: Node$1, checked: boolean) => string;
41
41
  };
42
42
  }
43
43
  /**
@@ -48,6 +48,6 @@ declare const inputRegex: RegExp;
48
48
  * This extension allows you to create task items.
49
49
  * @see https://www.tiptap.dev/api/nodes/task-item
50
50
  */
51
- declare const TaskItem: Node$1<TaskItemOptions, any>;
51
+ declare const TaskItem: Node<TaskItemOptions, any>;
52
52
 
53
53
  export { TaskItem, type TaskItemOptions, inputRegex };
@@ -1,5 +1,5 @@
1
- import { Node as Node$1 } from '@tiptap/core';
2
- import { Node } from '@tiptap/pm/model';
1
+ import { Node } from '@tiptap/core';
2
+ import { Node as Node$1 } from '@tiptap/pm/model';
3
3
 
4
4
  interface TaskItemOptions {
5
5
  /**
@@ -8,7 +8,7 @@ interface TaskItemOptions {
8
8
  * @param checked The new checked state
9
9
  * @returns boolean
10
10
  */
11
- onReadOnlyChecked?: (node: Node, checked: boolean) => boolean;
11
+ onReadOnlyChecked?: (node: Node$1, checked: boolean) => boolean;
12
12
  /**
13
13
  * Controls whether the task items can be nested or not.
14
14
  * @default false
@@ -37,7 +37,7 @@ interface TaskItemOptions {
37
37
  * }
38
38
  */
39
39
  a11y?: {
40
- checkboxLabel?: (node: Node, checked: boolean) => string;
40
+ checkboxLabel?: (node: Node$1, checked: boolean) => string;
41
41
  };
42
42
  }
43
43
  /**
@@ -48,6 +48,6 @@ declare const inputRegex: RegExp;
48
48
  * This extension allows you to create task items.
49
49
  * @see https://www.tiptap.dev/api/nodes/task-item
50
50
  */
51
- declare const TaskItem: Node$1<TaskItemOptions, any>;
51
+ declare const TaskItem: Node<TaskItemOptions, any>;
52
52
 
53
53
  export { TaskItem, type TaskItemOptions, inputRegex };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/extension-list",
3
3
  "description": "List extension for tiptap",
4
- "version": "3.21.0",
4
+ "version": "3.22.1",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -87,12 +87,12 @@
87
87
  "dist"
88
88
  ],
89
89
  "devDependencies": {
90
- "@tiptap/core": "^3.21.0",
91
- "@tiptap/pm": "^3.21.0"
90
+ "@tiptap/core": "^3.22.1",
91
+ "@tiptap/pm": "^3.22.1"
92
92
  },
93
93
  "peerDependencies": {
94
- "@tiptap/core": "^3.21.0",
95
- "@tiptap/pm": "^3.21.0"
94
+ "@tiptap/core": "^3.22.1",
95
+ "@tiptap/pm": "^3.22.1"
96
96
  },
97
97
  "repository": {
98
98
  "type": "git",