@doist/typist 1.0.4 → 1.0.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 +12 -0
- package/dist/components/typist-editor.d.ts +10 -10
- package/dist/components/typist-editor.d.ts.map +1 -1
- package/dist/components/typist-editor.helper.d.ts +1 -1
- package/dist/components/typist-editor.helper.d.ts.map +1 -1
- package/dist/extensions/core/view-event-handlers.d.ts +1 -1
- package/dist/extensions/core/view-event-handlers.d.ts.map +1 -1
- package/dist/extensions/plain-text/plain-text-document.d.ts +1 -1
- package/dist/extensions/plain-text/plain-text-document.d.ts.map +1 -1
- package/dist/extensions/plain-text/plain-text-kit.d.ts +1 -1
- package/dist/extensions/plain-text/plain-text-kit.d.ts.map +1 -1
- package/dist/extensions/rich-text/rich-text-document.d.ts +1 -1
- package/dist/extensions/rich-text/rich-text-document.d.ts.map +1 -1
- package/dist/extensions/rich-text/rich-text-image.d.ts +2 -2
- package/dist/extensions/rich-text/rich-text-image.d.ts.map +1 -1
- package/dist/extensions/rich-text/rich-text-kit.d.ts +1 -1
- package/dist/extensions/rich-text/rich-text-kit.d.ts.map +1 -1
- package/dist/extensions/shared/copy-markdown-source.d.ts +1 -1
- package/dist/extensions/shared/copy-markdown-source.d.ts.map +1 -1
- package/dist/factories/create-suggestion-extension.d.ts +6 -6
- package/dist/factories/create-suggestion-extension.d.ts.map +1 -1
- package/dist/serializers/html/html.d.ts +1 -1
- package/dist/serializers/html/html.d.ts.map +1 -1
- package/dist/serializers/markdown/markdown.d.ts +2 -2
- package/dist/serializers/markdown/markdown.d.ts.map +1 -1
- package/package.json +34 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.0.6](https://github.com/Doist/typist/compare/v1.0.5...v1.0.6) (2022-12-13)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **deps:** update tiptap packages to v2.0.0-beta.206 ([#59](https://github.com/Doist/typist/issues/59)) ([27e0f26](https://github.com/Doist/typist/commit/27e0f26df4b5f4c4dd4c0e577bd1e5f3f5da2fc6))
|
|
6
|
+
|
|
7
|
+
## [1.0.5](https://github.com/Doist/typist/compare/v1.0.4...v1.0.5) (2022-12-12)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- Remove unused Tippy.js peer dependency ([#56](https://github.com/Doist/typist/issues/56)) ([85f87a5](https://github.com/Doist/typist/commit/85f87a554db37e331797563c3795180e5e11ddf7))
|
|
12
|
+
|
|
1
13
|
## [1.0.4](https://github.com/Doist/typist/compare/v1.0.3...v1.0.4) (2022-12-12)
|
|
2
14
|
|
|
3
15
|
### Bug Fixes
|
|
@@ -7,7 +7,7 @@ import type { Selection } from 'prosemirror-state';
|
|
|
7
7
|
* The forwarded ref that describes the helper methods that the `TypistEditor` parent component
|
|
8
8
|
* will have access to.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type TypistEditorRef = {
|
|
11
11
|
/**
|
|
12
12
|
* Returns the `Editor` instance associated to the `TypistEditor` component.
|
|
13
13
|
*/
|
|
@@ -24,40 +24,40 @@ declare type TypistEditorRef = {
|
|
|
24
24
|
/**
|
|
25
25
|
* The properties that describe the `beforeCreate` editor event.
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
type BeforeCreateProps = EditorEvents['beforeCreate'];
|
|
28
28
|
/**
|
|
29
29
|
* The properties that describe the `create` editor event.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
type CreateProps = EditorEvents['create'];
|
|
32
32
|
/**
|
|
33
33
|
* The properties that describe the `update` editor event.
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
type UpdateProps = EditorEvents['update'] & Pick<TypistEditorRef, 'getMarkdown'>;
|
|
36
36
|
/**
|
|
37
37
|
* The properties that describe the `selectionUpdate` editor event.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
type SelectionUpdateProps = EditorEvents['selectionUpdate'];
|
|
40
40
|
/**
|
|
41
41
|
* The properties that describe the `transaction` editor event.
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
type TransacationProps = EditorEvents['transaction'];
|
|
44
44
|
/**
|
|
45
45
|
* The properties that describe the `focus` editor event.
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
type FocusProps = EditorEvents['focus'];
|
|
48
48
|
/**
|
|
49
49
|
* The properties that describe the `blur` editor event.
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
type BlurProps = EditorEvents['blur'];
|
|
52
52
|
/**
|
|
53
53
|
* The properties that describe the `destroy` editor event.
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
type DestroyProps = EditorEvents['destroy'];
|
|
56
56
|
/**
|
|
57
57
|
* The properties available to represent an instance of the `TypistEditor` component, including
|
|
58
58
|
* the supported WAI-ARIA 1.1 attributes.
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
type TypistEditorProps = {
|
|
61
61
|
/**
|
|
62
62
|
* Auto focus the editor to the end of the document on initialization.
|
|
63
63
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typist-editor.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAqB,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AAMpG,OAAO,EAAE,2BAA2B,EAA2B,MAAM,wBAAwB,CAAA;AAE7F,OAAO,KAAK,EAAE,MAAM,IAAI,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAClF,OAAO,KAAK,EAAU,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE1D;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"typist-editor.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAqB,wBAAwB,EAAE,MAAM,wCAAwC,CAAA;AAMpG,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CAAC,CAAA;CACpD,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,YAAY,+GA8MhB,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,YAAY,EACR,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,WAAW,GACd,CAAA"}
|
|
@@ -8,7 +8,7 @@ declare function resolveContentSelection(doc: ProseMirrorNode, selection: Select
|
|
|
8
8
|
/**
|
|
9
9
|
* The return type for the node attributes, an object mapping attribute names to values.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
type NodeAttributes = {
|
|
12
12
|
[key: string]: unknown;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typist-editor.helper.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAiB,MAAM,mBAAmB,CAAA;AAE5D,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEhE;;;GAGG;AACH,iBAAS,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAStF;AAED;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"typist-editor.helper.d.ts","sourceRoot":"","sources":["../../src/components/typist-editor.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAiB,MAAM,mBAAmB,CAAA;AAE5D,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEhE;;;GAGG;AACH,iBAAS,uBAAuB,CAAC,GAAG,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,GAAG,SAAS,CAStF;AAED;;GAEG;AACH,KAAK,cAAc,GAAG;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,iBAAS,2BAA2B,CAChC,GAAG,EAAE,eAAe,EACpB,QAAQ,EAAE,MAAM,GACjB,KAAK,CAAC,cAAc,CAAC,CAUvB;AAED,OAAO,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,CAAA;AAE/D,YAAY,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -6,7 +6,7 @@ import type { EditorView } from 'prosemirror-view';
|
|
|
6
6
|
* If more view handlers are needed, please look into the available event handlers in
|
|
7
7
|
* [`prosemirror-view`](https://prosemirror.net/docs/ref/#view.Props), and add them below.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
type ViewEventHandlersOptions = {
|
|
10
10
|
/**
|
|
11
11
|
* Called when the editor is clicked, after `handleClickOn` handlers have been called.
|
|
12
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-event-handlers.d.ts","sourceRoot":"","sources":["../../../src/extensions/core/view-event-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"view-event-handlers.d.ts","sourceRoot":"","sources":["../../../src/extensions/core/view-event-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAKxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD;;;;;GAKG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAA;IAE9E;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,UAAU,KAAK,OAAO,GAAG,IAAI,CAAA;CACzE,CAAA;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,iBAAiB,0CAoBrB,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAE5B,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plain-text-document.d.ts","sourceRoot":"","sources":["../../../src/extensions/plain-text/plain-text-document.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"plain-text-document.d.ts","sourceRoot":"","sources":["../../../src/extensions/plain-text/plain-text-document.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;CACrB,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,iBAAiB,4DAUrB,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAE5B,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -5,7 +5,7 @@ import type { PlainTextParagraphOptions } from './plain-text-paragraph';
|
|
|
5
5
|
/**
|
|
6
6
|
* The options available to customize the `PlainTextKit` extension.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type PlainTextKitOptions = {
|
|
9
9
|
/**
|
|
10
10
|
* Set options for the `Document` extension, or `false` to disable.
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plain-text-kit.d.ts","sourceRoot":"","sources":["../../../src/extensions/plain-text/plain-text-kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAW,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAanE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAEvE;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"plain-text-kit.d.ts","sourceRoot":"","sources":["../../../src/extensions/plain-text/plain-text-kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAW,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAanE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAEvE;;GAEG;AACH,KAAK,mBAAmB,GAAG;IACvB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAA;IAEnD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,KAAK,CAAA;IAExC;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAA;IAErD;;OAEG;IACH,IAAI,EAAE,KAAK,CAAA;IAEX;;OAEG;IACH,UAAU,EAAE,KAAK,CAAA;IAEjB;;OAEG;IACH,mBAAmB,EAAE,KAAK,CAAA;CAC7B,CAAA;AAED;;;;GAIG;AACH,QAAA,MAAM,YAAY,qCAyChB,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA;AAEvB,YAAY,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The options available to customize the `RichTextDocumentOptions` extension.
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
type RichTextDocumentOptions = {
|
|
5
5
|
/**
|
|
6
6
|
* Indicates whether the document accepts multiple lines of input or only a single line.
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-document.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-document.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"rich-text-document.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-document.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,KAAK,uBAAuB,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;CACrB,CAAA;AAED;;;GAGG;AACH,QAAA,MAAM,gBAAgB,2DAUpB,CAAA;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAE3B,YAAY,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -3,7 +3,7 @@ import type { NodeViewProps } from '@tiptap/react';
|
|
|
3
3
|
/**
|
|
4
4
|
* The properties that describe `RichTextImage` node attributes.
|
|
5
5
|
*/
|
|
6
|
-
|
|
6
|
+
type RichTextImageAttributes = {
|
|
7
7
|
/**
|
|
8
8
|
* Additional metadata about an image attachment upload.
|
|
9
9
|
*/
|
|
@@ -43,7 +43,7 @@ declare module '@tiptap/core' {
|
|
|
43
43
|
/**
|
|
44
44
|
* The options available to customize the `RichTextImage` extension.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
type RichTextImageOptions = {
|
|
47
47
|
/**
|
|
48
48
|
* A list of accepted MIME types for images pasting.
|
|
49
49
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-image.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-image.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"rich-text-image.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-image.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAElD;;GAEG;AACH,KAAK,uBAAuB,GAAG;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP;;WAEG;QACH,YAAY,EAAE,MAAM,CAAA;QAEp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';
|
|
|
20
20
|
/**
|
|
21
21
|
* The options available to customize the `RichTextKit` extension.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
type RichTextKitOptions = {
|
|
24
24
|
/**
|
|
25
25
|
* Set options for the `Blockquote` extension, or `false` to disable.
|
|
26
26
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text-kit.d.ts","sourceRoot":"","sources":["../../../src/extensions/rich-text/rich-text-kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAiCxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AA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IACH,IAAI,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAA;IAE1C;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,KAAK,CAAA;IAE1C;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAA;IAEhD;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAA;IAE5C;;OAEG;IACH,WAAW,EAAE,KAAK,CAAA;IAElB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAA;IAEpB;;OAEG;IACH,mBAAmB,EAAE,KAAK,CAAA;IAE1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,KAAK,CAAA;IAEtC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAA;IAEX;;OAEG;IACH,UAAU,EAAE,KAAK,CAAA;CACpB,CAAA;AAED;;;;GAIG;AACH,QAAA,MAAM,WAAW,oCAkIf,CAAA;AAEF,OAAO,EAAE,WAAW,EAAE,CAAA;AAEtB,YAAY,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -2,7 +2,7 @@ import { Extension } from '@tiptap/core';
|
|
|
2
2
|
/**
|
|
3
3
|
* The options available to customize the `CopyMarkdownSource` extension.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
type CopyMarkdownSourceOptions = {
|
|
6
6
|
/**
|
|
7
7
|
* The keyboard shortcut to copy the editor underlying Markdown source to the system clipboard
|
|
8
8
|
* (default: `Mod-c`).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-markdown-source.d.ts","sourceRoot":"","sources":["../../../src/extensions/shared/copy-markdown-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,cAAc,CAAA;AAI7D;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"copy-markdown-source.d.ts","sourceRoot":"","sources":["../../../src/extensions/shared/copy-markdown-source.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,cAAc,CAAA;AAI7D;;GAEG;AACH,KAAK,yBAAyB,GAAG;IAC7B;;;OAGG;IACH,gBAAgB,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED;;;;GAIG;AACH,QAAA,MAAM,kBAAkB,2CAkCtB,CAAA;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B,YAAY,EAAE,yBAAyB,EAAE,CAAA"}
|
|
@@ -4,7 +4,7 @@ import type { ConditionalKeys, RequireAtLeastOne } from 'type-fest';
|
|
|
4
4
|
/**
|
|
5
5
|
* The properties that describe the suggestion node attributes.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
type SuggestionAttributes = {
|
|
8
8
|
/**
|
|
9
9
|
* The suggestion node unique identifier to be rendered by the editor as a `data-id` attribute.
|
|
10
10
|
*/
|
|
@@ -18,7 +18,7 @@ declare type SuggestionAttributes = {
|
|
|
18
18
|
/**
|
|
19
19
|
* The properties that describe the minimal props that an autocomplete dropdown must receive.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
type SuggestionRendererProps<SuggestionItemType> = {
|
|
22
22
|
/**
|
|
23
23
|
* The function that must be invoked when a suggestion item is selected.
|
|
24
24
|
*/
|
|
@@ -32,13 +32,13 @@ declare type SuggestionRendererProps<SuggestionItemType> = {
|
|
|
32
32
|
* A type that describes the forwarded ref that an autocomplete dropdown must implement with
|
|
33
33
|
* `useImperativeHandle` to receive `keyDown` events from the render function.
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
type SuggestionRendererRef = {
|
|
36
36
|
onKeyDown: (props: CoreSuggestionKeyDownProps) => boolean;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* The options available to customize the extension created by the factory function.
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
type SuggestionOptions<SuggestionItemType> = {
|
|
42
42
|
/**
|
|
43
43
|
* The character that triggers the autocomplete dropdown.
|
|
44
44
|
*/
|
|
@@ -75,7 +75,7 @@ declare type SuggestionOptions<SuggestionItemType> = {
|
|
|
75
75
|
/**
|
|
76
76
|
* The storage holding the suggestion items original array, and a collection indexed by the item id.
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
type SuggestionStorage<SuggestionItemType> = Readonly<{
|
|
79
79
|
/**
|
|
80
80
|
* The original array of suggestion items.
|
|
81
81
|
*/
|
|
@@ -90,7 +90,7 @@ declare type SuggestionStorage<SuggestionItemType> = Readonly<{
|
|
|
90
90
|
/**
|
|
91
91
|
* The return type for a suggestion extension created by the factory function.
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
type SuggestionExtensionResult<SuggestionItemType> = Node<SuggestionOptions<SuggestionItemType>>;
|
|
94
94
|
/**
|
|
95
95
|
* A factory function responsible for creating different types of suggestion extensions with
|
|
96
96
|
* flexibility and customizability in mind.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-suggestion-extension.d.ts","sourceRoot":"","sources":["../../src/factories/create-suggestion-extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,IAAI,EAAE,MAAM,cAAc,CAAA;AAOpD,OAAO,KAAK,EACR,sBAAsB,IAAI,0BAA0B,EACpD,iBAAiB,IAAI,qBAAqB,EAC7C,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAEnE;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"create-suggestion-extension.d.ts","sourceRoot":"","sources":["../../src/factories/create-suggestion-extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,IAAI,EAAE,MAAM,cAAc,CAAA;AAOpD,OAAO,KAAK,EACR,sBAAsB,IAAI,0BAA0B,EACpD,iBAAiB,IAAI,qBAAqB,EAC7C,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAi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EG;AACH,KAAK,iBAAiB,CAAC,kBAAkB,IAAI,QAAQ,CAAC;IAClD;;OAEG;IACH,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAE3B;;OAEG;IACH,SAAS,EAAE;QAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAAA;KAAE,CAAA;CACvE,CAAC,CAAA;AAEF;;GAEG;AACH,KAAK,yBAAyB,CAAC,kBAAkB,IAAI,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAEhG;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,yBAAyB,CAC9B,kBAAkB,SAAS;IAAE,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG,oBAAoB,EAE3E,IAAI,EAAE,MAAM,EACZ,KAAK,GAAE,kBAAkB,EAAO,EAKhC,GAAG,iBAAiB,EAAE,kBAAkB,SAAS,oBAAoB,GAC/D,EAAE,GACF;IACI,iBAAiB,CAAC;QACd,EAAE,EAAE,eAAe,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAA;QAC/C,KAAK,EAAE,eAAe,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAA;KACrD,CAAC;CACL,GACR,yBAAyB,CAAC,kBAAkB,CAAC,CAuJ/C;AAED,OAAO,EAAE,yBAAyB,EAAE,CAAA;AAEpC,YAAY,EACR,yBAAyB,EACzB,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,GACpB,CAAA"}
|
|
@@ -2,7 +2,7 @@ import type { Schema } from 'prosemirror-model';
|
|
|
2
2
|
/**
|
|
3
3
|
* The return type for the `createHTMLSerializer` function.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
type HTMLSerializerReturnType = {
|
|
6
6
|
/**
|
|
7
7
|
* Serializes an input Markdown string to an output HTML string.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/serializers/html/html.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/serializers/html/html.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,KAAK,wBAAwB,GAAG;IAC5B;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;CAC1C,CAAA;AA0HD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,wBAAwB,CAQtE;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA;AAE/B,YAAY,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -2,7 +2,7 @@ import type { Schema } from 'prosemirror-model';
|
|
|
2
2
|
/**
|
|
3
3
|
* The options that the `createMarkdownSerializer` function accepts.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
type MarkdownSerializerOptions = {
|
|
6
6
|
/**
|
|
7
7
|
* Disables markdown escaping.
|
|
8
8
|
*/
|
|
@@ -11,7 +11,7 @@ declare type MarkdownSerializerOptions = {
|
|
|
11
11
|
/**
|
|
12
12
|
* The return type for the `createMarkdownSerializer` function.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
type MarkdownSerializerReturnType = {
|
|
15
15
|
/**
|
|
16
16
|
* Serializes an input HTML string to an output Markdown string.
|
|
17
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/serializers/markdown/markdown.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/serializers/markdown/markdown.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C;;GAEG;AACH,KAAK,yBAAyB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAA;CACjB,CAAA;AAED;;GAEG;AACH,KAAK,4BAA4B,GAAG;IAChC;;;;;;OAMG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA;CACtC,CAAA;AAED;;GAEG;AACH,QAAA,MAAM,kBAAkB,MAAM,CAAA;AA8C9B;;;;;;;;GAQG;AACH,iBAAS,wBAAwB,CAC7B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,yBAAyB,GACpC,4BAA4B,CA6E9B;AAED,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,CAAA;AAEvD,YAAY,EAAE,4BAA4B,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": "1.0.
|
|
4
|
+
"version": "1.0.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://typist.doist.dev/",
|
|
7
7
|
"repository": "https://github.com/Doist/typist",
|
|
@@ -46,34 +46,34 @@
|
|
|
46
46
|
"validate:pre-push": "run-s test"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@tiptap/core": "2.0.0-beta.
|
|
50
|
-
"@tiptap/extension-blockquote": "2.0.0-beta.
|
|
51
|
-
"@tiptap/extension-bold": "2.0.0-beta.
|
|
52
|
-
"@tiptap/extension-bullet-list": "2.0.0-beta.
|
|
53
|
-
"@tiptap/extension-character-count": "2.0.0-beta.
|
|
54
|
-
"@tiptap/extension-code": "2.0.0-beta.
|
|
55
|
-
"@tiptap/extension-code-block": "2.0.0-beta.
|
|
56
|
-
"@tiptap/extension-document": "2.0.0-beta.
|
|
57
|
-
"@tiptap/extension-dropcursor": "2.0.0-beta.
|
|
58
|
-
"@tiptap/extension-gapcursor": "2.0.0-beta.
|
|
59
|
-
"@tiptap/extension-hard-break": "2.0.0-beta.
|
|
60
|
-
"@tiptap/extension-heading": "2.0.0-beta.
|
|
61
|
-
"@tiptap/extension-history": "2.0.0-beta.
|
|
62
|
-
"@tiptap/extension-horizontal-rule": "2.0.0-beta.
|
|
63
|
-
"@tiptap/extension-image": "2.0.0-beta.
|
|
64
|
-
"@tiptap/extension-italic": "2.0.0-beta.
|
|
65
|
-
"@tiptap/extension-link": "2.0.0-beta.
|
|
66
|
-
"@tiptap/extension-list-item": "2.0.0-beta.
|
|
67
|
-
"@tiptap/extension-ordered-list": "2.0.0-beta.
|
|
68
|
-
"@tiptap/extension-paragraph": "2.0.0-beta.
|
|
69
|
-
"@tiptap/extension-placeholder": "2.0.0-beta.
|
|
70
|
-
"@tiptap/extension-strike": "2.0.0-beta.
|
|
71
|
-
"@tiptap/extension-task-item": "2.0.0-beta.
|
|
72
|
-
"@tiptap/extension-task-list": "2.0.0-beta.
|
|
73
|
-
"@tiptap/extension-text": "2.0.0-beta.
|
|
74
|
-
"@tiptap/extension-typography": "2.0.0-beta.
|
|
75
|
-
"@tiptap/react": "2.0.0-beta.
|
|
76
|
-
"@tiptap/suggestion": "2.0.0-beta.
|
|
49
|
+
"@tiptap/core": "2.0.0-beta.206",
|
|
50
|
+
"@tiptap/extension-blockquote": "2.0.0-beta.206",
|
|
51
|
+
"@tiptap/extension-bold": "2.0.0-beta.206",
|
|
52
|
+
"@tiptap/extension-bullet-list": "2.0.0-beta.206",
|
|
53
|
+
"@tiptap/extension-character-count": "2.0.0-beta.206",
|
|
54
|
+
"@tiptap/extension-code": "2.0.0-beta.206",
|
|
55
|
+
"@tiptap/extension-code-block": "2.0.0-beta.206",
|
|
56
|
+
"@tiptap/extension-document": "2.0.0-beta.206",
|
|
57
|
+
"@tiptap/extension-dropcursor": "2.0.0-beta.206",
|
|
58
|
+
"@tiptap/extension-gapcursor": "2.0.0-beta.206",
|
|
59
|
+
"@tiptap/extension-hard-break": "2.0.0-beta.206",
|
|
60
|
+
"@tiptap/extension-heading": "2.0.0-beta.206",
|
|
61
|
+
"@tiptap/extension-history": "2.0.0-beta.206",
|
|
62
|
+
"@tiptap/extension-horizontal-rule": "2.0.0-beta.206",
|
|
63
|
+
"@tiptap/extension-image": "2.0.0-beta.206",
|
|
64
|
+
"@tiptap/extension-italic": "2.0.0-beta.206",
|
|
65
|
+
"@tiptap/extension-link": "2.0.0-beta.206",
|
|
66
|
+
"@tiptap/extension-list-item": "2.0.0-beta.206",
|
|
67
|
+
"@tiptap/extension-ordered-list": "2.0.0-beta.206",
|
|
68
|
+
"@tiptap/extension-paragraph": "2.0.0-beta.206",
|
|
69
|
+
"@tiptap/extension-placeholder": "2.0.0-beta.206",
|
|
70
|
+
"@tiptap/extension-strike": "2.0.0-beta.206",
|
|
71
|
+
"@tiptap/extension-task-item": "2.0.0-beta.206",
|
|
72
|
+
"@tiptap/extension-task-list": "2.0.0-beta.206",
|
|
73
|
+
"@tiptap/extension-text": "2.0.0-beta.206",
|
|
74
|
+
"@tiptap/extension-typography": "2.0.0-beta.206",
|
|
75
|
+
"@tiptap/react": "2.0.0-beta.206",
|
|
76
|
+
"@tiptap/suggestion": "2.0.0-beta.206",
|
|
77
77
|
"prosemirror-codemark": "0.4.2",
|
|
78
78
|
"prosemirror-model": "1.18.3",
|
|
79
79
|
"prosemirror-state": "1.4.2",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@doist/eslint-config": "8.1.3",
|
|
84
84
|
"@doist/prettier-config": "3.0.5",
|
|
85
|
-
"@doist/reactist": "
|
|
85
|
+
"@doist/reactist": "17.3.0",
|
|
86
86
|
"@mdx-js/react": "2.1.5",
|
|
87
87
|
"@semantic-release/changelog": "6.0.2",
|
|
88
88
|
"@semantic-release/exec": "6.0.3",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"eslint-import-resolver-typescript": "3.5.2",
|
|
113
113
|
"eslint-plugin-jest": "27.1.6",
|
|
114
114
|
"eslint-plugin-simple-import-sort": "8.0.0",
|
|
115
|
-
"eslint-plugin-unicorn": "
|
|
115
|
+
"eslint-plugin-unicorn": "45.0.1",
|
|
116
116
|
"github-markdown-css": "5.1.0",
|
|
117
117
|
"husky": "8.0.2",
|
|
118
118
|
"ignore-sync": "6.0.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"jest-environment-jsdom": "29.3.1",
|
|
122
122
|
"lint-staged": "13.1.0",
|
|
123
123
|
"npm-run-all": "4.1.5",
|
|
124
|
-
"prettier": "2.8.
|
|
124
|
+
"prettier": "2.8.1",
|
|
125
125
|
"react-icons": "4.7.1",
|
|
126
126
|
"react-markdown": "8.0.4",
|
|
127
127
|
"react-syntax-highlighter": "15.5.0",
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
"ts-jest": "29.0.3",
|
|
134
134
|
"ts-node": "10.9.1",
|
|
135
135
|
"type-fest": "3.3.0",
|
|
136
|
-
"typescript": "4.
|
|
137
|
-
"typescript-plugin-css-modules": "
|
|
136
|
+
"typescript": "4.9.4",
|
|
137
|
+
"typescript-plugin-css-modules": "4.1.1"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
140
|
"@react-hookz/web": "^14.2.3 || >=15.x",
|
|
@@ -144,7 +144,6 @@
|
|
|
144
144
|
"react": "^17.0.0 || ^18.0.0",
|
|
145
145
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
146
146
|
"react-use-event-hook": "^0.9.3",
|
|
147
|
-
"tippy.js": "^6.3.7",
|
|
148
147
|
"turndown": "^7.1.1"
|
|
149
148
|
}
|
|
150
149
|
}
|