@doist/typist 1.2.4 → 1.2.6

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
+ ## [1.2.6](https://github.com/Doist/typist/compare/v1.2.5...v1.2.6) (2023-04-18)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **deps:** update tiptap packages to v2.0.3 ([#226](https://github.com/Doist/typist/issues/226)) ([a1953b0](https://github.com/Doist/typist/commit/a1953b087b51772f5c29671473031cb099c346e0))
6
+
7
+ ## [1.2.5](https://github.com/Doist/typist/compare/v1.2.4...v1.2.5) (2023-04-10)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **deps:** update tiptap packages to v2.0.2 ([#212](https://github.com/Doist/typist/issues/212)) ([200b339](https://github.com/Doist/typist/commit/200b3398c238dab66eba866a76211f715fe26fb4))
12
+
1
13
  ## [1.2.4](https://github.com/Doist/typist/compare/v1.2.3...v1.2.4) (2023-04-04)
2
14
 
3
15
  ### Bug Fixes
@@ -2,6 +2,7 @@ import { Extension } from '@tiptap/core';
2
2
  import { Blockquote } from '@tiptap/extension-blockquote';
3
3
  import { Bold } from '@tiptap/extension-bold';
4
4
  import { BulletList } from '@tiptap/extension-bullet-list';
5
+ import { Code } from '@tiptap/extension-code';
5
6
  import { CodeBlock } from '@tiptap/extension-code-block';
6
7
  import { Dropcursor } from '@tiptap/extension-dropcursor';
7
8
  import { Gapcursor } from '@tiptap/extension-gapcursor';
@@ -23,7 +24,6 @@ import { BoldAndItalics } from './bold-and-italics';
23
24
  import { CurvenoteCodemark } from './curvenote-codemark';
24
25
  import { PasteEmojis } from './paste-emojis';
25
26
  import { PasteMarkdown } from './paste-markdown';
26
- import { RichTextCode } from './rich-text-code';
27
27
  import { RichTextDocument } from './rich-text-document';
28
28
  import { RichTextImage } from './rich-text-image';
29
29
  import { RichTextLink } from './rich-text-link';
@@ -48,7 +48,7 @@ const RichTextKit = Extension.create({
48
48
  extensions.push(BulletList.configure(this.options?.bulletList));
49
49
  }
50
50
  if (this.options.code !== false) {
51
- extensions.push(RichTextCode.configure(this.options?.code),
51
+ extensions.push(Code.configure(this.options?.code),
52
52
  // Enhances the Code extension capabilities with additional features
53
53
  CurvenoteCodemark);
54
54
  }
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": "1.2.4",
4
+ "version": "1.2.6",
5
5
  "license": "MIT",
6
6
  "homepage": "https://typist.doist.dev/",
7
7
  "repository": "https://github.com/Doist/typist",
@@ -46,35 +46,35 @@
46
46
  "validate:pre-push": "run-s test"
47
47
  },
48
48
  "dependencies": {
49
- "@tiptap/core": "2.0.1",
50
- "@tiptap/extension-blockquote": "2.0.1",
51
- "@tiptap/extension-bold": "2.0.1",
52
- "@tiptap/extension-bullet-list": "2.0.1",
53
- "@tiptap/extension-character-count": "2.0.1",
54
- "@tiptap/extension-code": "2.0.1",
55
- "@tiptap/extension-code-block": "2.0.1",
56
- "@tiptap/extension-document": "2.0.1",
57
- "@tiptap/extension-dropcursor": "2.0.1",
58
- "@tiptap/extension-gapcursor": "2.0.1",
59
- "@tiptap/extension-hard-break": "2.0.1",
60
- "@tiptap/extension-heading": "2.0.1",
61
- "@tiptap/extension-history": "2.0.1",
62
- "@tiptap/extension-horizontal-rule": "2.0.1",
63
- "@tiptap/extension-image": "2.0.1",
64
- "@tiptap/extension-italic": "2.0.1",
65
- "@tiptap/extension-link": "2.0.1",
66
- "@tiptap/extension-list-item": "2.0.1",
67
- "@tiptap/extension-ordered-list": "2.0.1",
68
- "@tiptap/extension-paragraph": "2.0.1",
69
- "@tiptap/extension-placeholder": "2.0.1",
70
- "@tiptap/extension-strike": "2.0.1",
71
- "@tiptap/extension-task-item": "2.0.1",
72
- "@tiptap/extension-task-list": "2.0.1",
73
- "@tiptap/extension-text": "2.0.1",
74
- "@tiptap/extension-typography": "2.0.1",
75
- "@tiptap/pm": "2.0.1",
76
- "@tiptap/react": "2.0.1",
77
- "@tiptap/suggestion": "2.0.1",
49
+ "@tiptap/core": "2.0.3",
50
+ "@tiptap/extension-blockquote": "2.0.3",
51
+ "@tiptap/extension-bold": "2.0.3",
52
+ "@tiptap/extension-bullet-list": "2.0.3",
53
+ "@tiptap/extension-character-count": "2.0.3",
54
+ "@tiptap/extension-code": "2.0.3",
55
+ "@tiptap/extension-code-block": "2.0.3",
56
+ "@tiptap/extension-document": "2.0.3",
57
+ "@tiptap/extension-dropcursor": "2.0.3",
58
+ "@tiptap/extension-gapcursor": "2.0.3",
59
+ "@tiptap/extension-hard-break": "2.0.3",
60
+ "@tiptap/extension-heading": "2.0.3",
61
+ "@tiptap/extension-history": "2.0.3",
62
+ "@tiptap/extension-horizontal-rule": "2.0.3",
63
+ "@tiptap/extension-image": "2.0.3",
64
+ "@tiptap/extension-italic": "2.0.3",
65
+ "@tiptap/extension-link": "2.0.3",
66
+ "@tiptap/extension-list-item": "2.0.3",
67
+ "@tiptap/extension-ordered-list": "2.0.3",
68
+ "@tiptap/extension-paragraph": "2.0.3",
69
+ "@tiptap/extension-placeholder": "2.0.3",
70
+ "@tiptap/extension-strike": "2.0.3",
71
+ "@tiptap/extension-task-item": "2.0.3",
72
+ "@tiptap/extension-task-list": "2.0.3",
73
+ "@tiptap/extension-text": "2.0.3",
74
+ "@tiptap/extension-typography": "2.0.3",
75
+ "@tiptap/pm": "2.0.3",
76
+ "@tiptap/react": "2.0.3",
77
+ "@tiptap/suggestion": "2.0.3",
78
78
  "prosemirror-codemark": "0.4.2"
79
79
  },
80
80
  "devDependencies": {
@@ -85,20 +85,20 @@
85
85
  "@semantic-release/changelog": "6.0.3",
86
86
  "@semantic-release/exec": "6.0.3",
87
87
  "@semantic-release/git": "10.0.1",
88
- "@storybook/addon-a11y": "7.0.0-rc.10",
89
- "@storybook/addon-essentials": "7.0.0-rc.10",
90
- "@storybook/addons": "7.0.0-rc.10",
91
- "@storybook/csf": "0.0.2-next.10",
92
- "@storybook/mdx2-csf": "1.0.0-next.6",
93
- "@storybook/react": "7.0.0-rc.10",
94
- "@storybook/react-vite": "7.0.0-rc.10",
88
+ "@storybook/addon-a11y": "7.0.4",
89
+ "@storybook/addon-essentials": "7.0.4",
90
+ "@storybook/addons": "7.0.4",
91
+ "@storybook/csf": "0.1.0",
92
+ "@storybook/mdx2-csf": "1.0.0",
93
+ "@storybook/react": "7.0.4",
94
+ "@storybook/react-vite": "7.0.4",
95
95
  "@testing-library/dom": "9.2.0",
96
96
  "@testing-library/jest-dom": "5.16.5",
97
97
  "@testing-library/react": "14.0.0",
98
98
  "@types/jest": "29.5.0",
99
99
  "@types/lodash-es": "4.17.7",
100
100
  "@types/marked": "4.0.8",
101
- "@types/react": "18.0.31",
101
+ "@types/react": "18.0.35",
102
102
  "@types/react-dom": "18.0.11",
103
103
  "@types/react-syntax-highlighter": "15.5.6",
104
104
  "@types/turndown": "5.0.1",
@@ -106,9 +106,9 @@
106
106
  "classnames": "2.3.2",
107
107
  "conventional-changelog-conventionalcommits": "5.0.0",
108
108
  "emoji-regex": "10.2.1",
109
- "eslint": "8.37.0",
109
+ "eslint": "8.38.0",
110
110
  "eslint-formatter-codeframe": "7.32.1",
111
- "eslint-import-resolver-typescript": "3.5.4",
111
+ "eslint-import-resolver-typescript": "3.5.5",
112
112
  "eslint-plugin-jest": "27.2.1",
113
113
  "eslint-plugin-simple-import-sort": "10.0.0",
114
114
  "eslint-plugin-storybook": "0.6.11",
@@ -119,25 +119,25 @@
119
119
  "is-ci": "3.0.1",
120
120
  "jest": "29.5.0",
121
121
  "jest-environment-jsdom": "29.5.0",
122
- "lint-staged": "13.2.0",
122
+ "lint-staged": "13.2.1",
123
123
  "npm-run-all": "4.1.5",
124
124
  "prettier": "2.8.7",
125
125
  "react": "18.2.0",
126
126
  "react-dom": "18.2.0",
127
127
  "react-icons": "4.8.0",
128
- "react-markdown": "8.0.6",
128
+ "react-markdown": "8.0.7",
129
129
  "react-syntax-highlighter": "15.5.0",
130
130
  "rehype-raw": "6.1.1",
131
131
  "remark-gfm": "3.0.1",
132
132
  "rimraf": "4.4.1",
133
- "semantic-release": "21.0.0",
134
- "storybook": "7.0.0-rc.10",
133
+ "semantic-release": "21.0.1",
134
+ "storybook": "7.0.4",
135
135
  "storybook-css-modules": "1.0.8",
136
- "ts-jest": "29.0.5",
136
+ "ts-jest": "29.1.0",
137
137
  "ts-node": "10.9.1",
138
- "type-fest": "3.7.2",
139
- "typescript": "5.0.2",
140
- "typescript-plugin-css-modules": "5.0.0"
138
+ "type-fest": "3.8.0",
139
+ "typescript": "5.0.4",
140
+ "typescript-plugin-css-modules": "5.0.1"
141
141
  },
142
142
  "peerDependencies": {
143
143
  "@react-hookz/web": "^14.2.3 || >=15.x",
@@ -1,3 +0,0 @@
1
- declare const RichTextCode: import("@tiptap/core").Mark<import("@tiptap/extension-code").CodeOptions, any>;
2
- export { RichTextCode };
3
- //# sourceMappingURL=rich-text-code.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rich-text-code.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-code.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,YAAY,gFAEhB,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,5 +0,0 @@
1
- import { Code } from '@tiptap/extension-code';
2
- const RichTextCode = Code.extend({
3
- excludes: '',
4
- });
5
- export { RichTextCode };