@doist/typist 8.0.1 → 8.0.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [8.0.3](https://github.com/Doist/typist/compare/v8.0.2...v8.0.3) (2025-10-24)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **deps:** update tiptap packages to v2.26.3 ([#1110](https://github.com/Doist/typist/issues/1110)) ([a0bfbe7](https://github.com/Doist/typist/commit/a0bfbe7abcff4473c80709e0303bca030742deeb))
6
+
7
+ ## [8.0.2](https://github.com/Doist/typist/compare/v8.0.1...v8.0.2) (2025-05-21)
8
+
9
+ ### Bug Fixes
10
+
11
+ - Add support for npm 11 ([#1097](https://github.com/Doist/typist/issues/1097)) ([62cf6a0](https://github.com/Doist/typist/commit/62cf6a055acf283af2c9424fdce9367b397d9012))
12
+
1
13
  ## [8.0.1](https://github.com/Doist/typist/compare/v8.0.0...v8.0.1) (2025-05-21)
2
14
 
3
15
  ### Bug Fixes
@@ -1,4 +1,4 @@
1
- import type { NodeViewProps } from '@tiptap/react';
1
+ import type { ReactNodeViewProps } from '@tiptap/react';
2
2
  /**
3
3
  * The properties that describe `RichTextImage` node attributes.
4
4
  */
@@ -59,7 +59,7 @@ type RichTextImageOptions = {
59
59
  /**
60
60
  * A React component to render inside the interactive node view.
61
61
  */
62
- NodeViewComponent?: React.ComponentType<NodeViewProps>;
62
+ NodeViewComponent?: React.ComponentType<ReactNodeViewProps>;
63
63
  /**
64
64
  * The event handler that is fired when an image file is pasted.
65
65
  */
@@ -1 +1 @@
1
- {"version":3,"file":"rich-text-image.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-image.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD;;GAEG;AACH,KAAK,uBAAuB,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE;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;AAExB,YAAY,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@doist/typist",
3
3
  "description": "The mighty Tiptap-based rich-text editor React component that powers Doist products.",
4
- "version": "8.0.1",
4
+ "version": "8.0.3",
5
5
  "license": "MIT",
6
6
  "homepage": "https://typist.doist.dev/",
7
7
  "repository": "https://github.com/Doist/typist",
@@ -9,8 +9,8 @@
9
9
  "types": "dist/index.d.ts",
10
10
  "sideEffects": false,
11
11
  "engines": {
12
- "node": "^16.0.0 || ^18.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
13
- "npm": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
12
+ "node": "^22.14.0 || >= 24.10.0",
13
+ "npm": "^10.9.2 || >= 11.5.1"
14
14
  },
15
15
  "publishConfig": {
16
16
  "access": "public"
@@ -45,44 +45,44 @@
45
45
  "validate:pre-push": "run-s test"
46
46
  },
47
47
  "dependencies": {
48
- "@tiptap/core": "2.12.0",
49
- "@tiptap/extension-blockquote": "2.12.0",
50
- "@tiptap/extension-bold": "2.12.0",
51
- "@tiptap/extension-bullet-list": "2.12.0",
52
- "@tiptap/extension-character-count": "2.12.0",
53
- "@tiptap/extension-code": "2.12.0",
54
- "@tiptap/extension-code-block": "2.12.0",
55
- "@tiptap/extension-document": "2.12.0",
56
- "@tiptap/extension-dropcursor": "2.12.0",
57
- "@tiptap/extension-gapcursor": "2.12.0",
58
- "@tiptap/extension-hard-break": "2.12.0",
59
- "@tiptap/extension-heading": "2.12.0",
60
- "@tiptap/extension-history": "2.12.0",
61
- "@tiptap/extension-horizontal-rule": "2.12.0",
62
- "@tiptap/extension-image": "2.12.0",
63
- "@tiptap/extension-italic": "2.12.0",
64
- "@tiptap/extension-link": "2.12.0",
65
- "@tiptap/extension-list-item": "2.12.0",
66
- "@tiptap/extension-list-keymap": "2.12.0",
67
- "@tiptap/extension-ordered-list": "2.12.0",
68
- "@tiptap/extension-paragraph": "2.12.0",
69
- "@tiptap/extension-placeholder": "2.12.0",
70
- "@tiptap/extension-strike": "2.12.0",
71
- "@tiptap/extension-task-item": "2.12.0",
72
- "@tiptap/extension-task-list": "2.12.0",
73
- "@tiptap/extension-text": "2.12.0",
74
- "@tiptap/extension-text-style": "2.12.0",
75
- "@tiptap/extension-typography": "2.12.0",
76
- "@tiptap/pm": "2.12.0",
77
- "@tiptap/react": "2.12.0",
78
- "@tiptap/suggestion": "2.12.0",
48
+ "@tiptap/core": "2.26.3",
49
+ "@tiptap/extension-blockquote": "2.26.3",
50
+ "@tiptap/extension-bold": "2.26.3",
51
+ "@tiptap/extension-bullet-list": "2.26.3",
52
+ "@tiptap/extension-character-count": "2.26.3",
53
+ "@tiptap/extension-code": "2.26.3",
54
+ "@tiptap/extension-code-block": "2.26.3",
55
+ "@tiptap/extension-document": "2.26.3",
56
+ "@tiptap/extension-dropcursor": "2.26.3",
57
+ "@tiptap/extension-gapcursor": "2.26.3",
58
+ "@tiptap/extension-hard-break": "2.26.3",
59
+ "@tiptap/extension-heading": "2.26.3",
60
+ "@tiptap/extension-history": "2.26.3",
61
+ "@tiptap/extension-horizontal-rule": "2.26.3",
62
+ "@tiptap/extension-image": "2.26.3",
63
+ "@tiptap/extension-italic": "2.26.3",
64
+ "@tiptap/extension-link": "2.26.3",
65
+ "@tiptap/extension-list-item": "2.26.3",
66
+ "@tiptap/extension-list-keymap": "2.26.3",
67
+ "@tiptap/extension-ordered-list": "2.26.3",
68
+ "@tiptap/extension-paragraph": "2.26.3",
69
+ "@tiptap/extension-placeholder": "2.26.3",
70
+ "@tiptap/extension-strike": "2.26.3",
71
+ "@tiptap/extension-task-item": "2.26.3",
72
+ "@tiptap/extension-task-list": "2.26.3",
73
+ "@tiptap/extension-text": "2.26.3",
74
+ "@tiptap/extension-text-style": "2.26.3",
75
+ "@tiptap/extension-typography": "2.26.3",
76
+ "@tiptap/pm": "2.26.3",
77
+ "@tiptap/react": "2.26.3",
78
+ "@tiptap/suggestion": "2.26.3",
79
79
  "prosemirror-codemark": "0.4.2"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@doist/eslint-config": "11.2.0",
83
83
  "@doist/prettier-config": "4.0.0",
84
- "@doist/reactist": "28.2.2",
85
- "@mdx-js/react": "3.1.0",
84
+ "@doist/reactist": "28.3.1",
85
+ "@mdx-js/react": "3.1.1",
86
86
  "@semantic-release/changelog": "6.0.3",
87
87
  "@semantic-release/exec": "7.1.0",
88
88
  "@semantic-release/git": "10.0.1",
@@ -99,12 +99,12 @@
99
99
  "@testing-library/react": "16.3.0",
100
100
  "@types/hast": "3.0.4",
101
101
  "@types/lodash-es": "4.17.12",
102
- "@types/react": "18.3.21",
102
+ "@types/react": "18.3.26",
103
103
  "@types/react-dom": "18.3.7",
104
104
  "@types/react-syntax-highlighter": "15.5.13",
105
105
  "@types/turndown": "5.0.5",
106
106
  "@types/unist": "3.0.3",
107
- "@vitejs/plugin-react": "4.4.1",
107
+ "@vitejs/plugin-react": "4.5.1",
108
108
  "boring-avatars": "1.11.2",
109
109
  "classnames": "2.5.1",
110
110
  "conventional-changelog-conventionalcommits": "8.0.0",
@@ -113,7 +113,7 @@
113
113
  "eslint-formatter-codeframe": "7.32.1",
114
114
  "eslint-import-resolver-typescript": "3.6.1",
115
115
  "eslint-plugin-simple-import-sort": "12.0.0",
116
- "eslint-plugin-storybook": "0.8.0",
116
+ "eslint-plugin-storybook": "0.12.0",
117
117
  "eslint-plugin-unicorn": "56.0.0",
118
118
  "eslint-plugin-vitest": "0.4.1",
119
119
  "eslint-plugin-vitest-globals": "1.5.0",
@@ -134,14 +134,14 @@
134
134
  "rehype-raw": "7.0.0",
135
135
  "remark-gfm": "4.0.1",
136
136
  "rimraf": "6.0.1",
137
- "semantic-release": "24.2.3",
137
+ "semantic-release": "25.0.1",
138
138
  "storybook": "8.6.14",
139
139
  "storybook-css-modules": "1.0.8",
140
140
  "tippy.js": "6.3.7",
141
141
  "type-fest": "4.41.0",
142
142
  "typescript": "5.8.3",
143
143
  "typescript-plugin-css-modules": "5.1.0",
144
- "vitest": "3.1.3"
144
+ "vitest": "3.2.1"
145
145
  },
146
146
  "peerDependencies": {
147
147
  "emoji-regex": "^10.2.1",