@tiptap/react 2.0.0-beta.9 → 2.0.0-beta.91

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 DELETED
@@ -1,80 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [2.0.0-beta.9](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.8...@tiptap/react@2.0.0-beta.9) (2021-03-31)
7
-
8
- **Note:** Version bump only for package @tiptap/react
9
-
10
-
11
-
12
-
13
-
14
- # [2.0.0-beta.8](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.7...@tiptap/react@2.0.0-beta.8) (2021-03-31)
15
-
16
- **Note:** Version bump only for package @tiptap/react
17
-
18
-
19
-
20
-
21
-
22
- # [2.0.0-beta.7](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.6...@tiptap/react@2.0.0-beta.7) (2021-03-31)
23
-
24
- **Note:** Version bump only for package @tiptap/react
25
-
26
-
27
-
28
-
29
-
30
- # [2.0.0-beta.6](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.5...@tiptap/react@2.0.0-beta.6) (2021-03-28)
31
-
32
- **Note:** Version bump only for package @tiptap/react
33
-
34
-
35
-
36
-
37
-
38
- # [2.0.0-beta.5](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.4...@tiptap/react@2.0.0-beta.5) (2021-03-24)
39
-
40
- **Note:** Version bump only for package @tiptap/react
41
-
42
-
43
-
44
-
45
-
46
- # [2.0.0-beta.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.3...@tiptap/react@2.0.0-beta.4) (2021-03-18)
47
-
48
- **Note:** Version bump only for package @tiptap/react
49
-
50
-
51
-
52
-
53
-
54
- # [2.0.0-beta.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.2...@tiptap/react@2.0.0-beta.3) (2021-03-16)
55
-
56
- **Note:** Version bump only for package @tiptap/react
57
-
58
-
59
-
60
-
61
-
62
- # [2.0.0-beta.2](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-beta.1...@tiptap/react@2.0.0-beta.2) (2021-03-09)
63
-
64
- **Note:** Version bump only for package @tiptap/react
65
-
66
-
67
-
68
-
69
-
70
- # [2.0.0-beta.1](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/react@2.0.0-alpha.2...@tiptap/react@2.0.0-beta.1) (2021-03-05)
71
-
72
- **Note:** Version bump only for package @tiptap/react
73
-
74
-
75
-
76
-
77
-
78
- # 2.0.0-alpha.2 (2021-02-26)
79
-
80
- **Note:** Version bump only for package @tiptap/react
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu';
3
- export declare type BubbleMenuProps = Omit<BubbleMenuPluginProps, 'element'> & {
4
- className?: string;
5
- };
6
- export declare const BubbleMenu: React.FC<BubbleMenuProps>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { Editor as CoreEditor } from '@tiptap/core';
3
- import { EditorContentProps, EditorContentState } from './EditorContent';
4
- export declare class Editor extends CoreEditor {
5
- contentComponent: React.Component<EditorContentProps, EditorContentState> | null;
6
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Editor } from './Editor';
3
- import { ReactRenderer } from './ReactRenderer';
4
- export interface EditorContentProps {
5
- editor: Editor | null;
6
- }
7
- export interface EditorContentState {
8
- renderers: Map<string, ReactRenderer>;
9
- }
10
- export declare class PureEditorContent extends React.Component<EditorContentProps, EditorContentState> {
11
- editorContentRef: React.RefObject<any>;
12
- constructor(props: EditorContentProps);
13
- componentDidMount(): void;
14
- componentDidUpdate(): void;
15
- init(): void;
16
- componentWillUnmount(): void;
17
- render(): JSX.Element;
18
- }
19
- export declare const EditorContent: React.MemoExoticComponent<typeof PureEditorContent>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface NodeViewContentProps {
3
- className?: string;
4
- as: React.ElementType;
5
- }
6
- export declare const NodeViewContent: React.FC<NodeViewContentProps>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface NodeViewWrapperProps {
3
- className?: string;
4
- as: React.ElementType;
5
- }
6
- export declare const NodeViewWrapper: React.FC<NodeViewWrapperProps>;
@@ -1,9 +0,0 @@
1
- import { NodeViewRenderer } from '@tiptap/core';
2
- import { Decoration } from 'prosemirror-view';
3
- import { Node as ProseMirrorNode } from 'prosemirror-model';
4
- interface ReactNodeViewRendererOptions {
5
- stopEvent: ((event: Event) => boolean) | null;
6
- update: ((node: ProseMirrorNode, decorations: Decoration[]) => boolean) | null;
7
- }
8
- export declare function ReactNodeViewRenderer(component: any, options?: Partial<ReactNodeViewRendererOptions>): NodeViewRenderer;
9
- export {};
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { AnyObject } from '@tiptap/core';
3
- import { Editor } from './Editor';
4
- export interface ReactRendererOptions {
5
- as?: string;
6
- editor: Editor;
7
- props?: AnyObject;
8
- }
9
- export declare class ReactRenderer {
10
- id: string;
11
- editor: Editor;
12
- component: any;
13
- element: Element;
14
- props: AnyObject;
15
- reactElement: React.ReactNode;
16
- ref: React.Component | null;
17
- constructor(component: React.Component | React.FunctionComponent, { props, editor }: ReactRendererOptions);
18
- render(): void;
19
- updateProps(props?: AnyObject): void;
20
- destroy(): void;
21
- }
@@ -1,9 +0,0 @@
1
- export * from '@tiptap/core';
2
- export * from './BubbleMenu';
3
- export { Editor } from './Editor';
4
- export * from './useEditor';
5
- export * from './ReactRenderer';
6
- export * from './ReactNodeViewRenderer';
7
- export * from './EditorContent';
8
- export * from './NodeViewWrapper';
9
- export * from './NodeViewContent';
@@ -1,3 +0,0 @@
1
- import { EditorOptions } from '@tiptap/core';
2
- import { Editor } from './Editor';
3
- export declare const useEditor: (options?: Partial<EditorOptions>) => Editor | null;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- export interface ReactNodeViewContextProps {
3
- isEditable: boolean;
4
- onDragStart: (event: DragEvent) => void;
5
- }
6
- export declare const ReactNodeViewContext: import("react").Context<Partial<ReactNodeViewContextProps>>;
7
- export declare const useReactNodeView: () => Partial<ReactNodeViewContextProps>;