@doist/typist 1.2.4 → 1.2.5

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,9 @@
1
+ ## [1.2.5](https://github.com/Doist/typist/compare/v1.2.4...v1.2.5) (2023-04-10)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **deps:** update tiptap packages to v2.0.2 ([#212](https://github.com/Doist/typist/issues/212)) ([200b339](https://github.com/Doist/typist/commit/200b3398c238dab66eba866a76211f715fe26fb4))
6
+
1
7
  ## [1.2.4](https://github.com/Doist/typist/compare/v1.2.3...v1.2.4) (2023-04-04)
2
8
 
3
9
  ### 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.5",
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.2",
50
+ "@tiptap/extension-blockquote": "2.0.2",
51
+ "@tiptap/extension-bold": "2.0.2",
52
+ "@tiptap/extension-bullet-list": "2.0.2",
53
+ "@tiptap/extension-character-count": "2.0.2",
54
+ "@tiptap/extension-code": "2.0.2",
55
+ "@tiptap/extension-code-block": "2.0.2",
56
+ "@tiptap/extension-document": "2.0.2",
57
+ "@tiptap/extension-dropcursor": "2.0.2",
58
+ "@tiptap/extension-gapcursor": "2.0.2",
59
+ "@tiptap/extension-hard-break": "2.0.2",
60
+ "@tiptap/extension-heading": "2.0.2",
61
+ "@tiptap/extension-history": "2.0.2",
62
+ "@tiptap/extension-horizontal-rule": "2.0.2",
63
+ "@tiptap/extension-image": "2.0.2",
64
+ "@tiptap/extension-italic": "2.0.2",
65
+ "@tiptap/extension-link": "2.0.2",
66
+ "@tiptap/extension-list-item": "2.0.2",
67
+ "@tiptap/extension-ordered-list": "2.0.2",
68
+ "@tiptap/extension-paragraph": "2.0.2",
69
+ "@tiptap/extension-placeholder": "2.0.2",
70
+ "@tiptap/extension-strike": "2.0.2",
71
+ "@tiptap/extension-task-item": "2.0.2",
72
+ "@tiptap/extension-task-list": "2.0.2",
73
+ "@tiptap/extension-text": "2.0.2",
74
+ "@tiptap/extension-typography": "2.0.2",
75
+ "@tiptap/pm": "2.0.2",
76
+ "@tiptap/react": "2.0.2",
77
+ "@tiptap/suggestion": "2.0.2",
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.2",
89
+ "@storybook/addon-essentials": "7.0.2",
90
+ "@storybook/addons": "7.0.2",
91
+ "@storybook/csf": "0.0.2-next.11",
92
+ "@storybook/mdx2-csf": "1.0.0",
93
+ "@storybook/react": "7.0.2",
94
+ "@storybook/react-vite": "7.0.2",
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.33",
102
102
  "@types/react-dom": "18.0.11",
103
103
  "@types/react-syntax-highlighter": "15.5.6",
104
104
  "@types/turndown": "5.0.1",
@@ -130,13 +130,13 @@
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.2",
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
138
  "type-fest": "3.7.2",
139
- "typescript": "5.0.2",
139
+ "typescript": "5.0.3",
140
140
  "typescript-plugin-css-modules": "5.0.0"
141
141
  },
142
142
  "peerDependencies": {
@@ -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 };