@select-org/select-post-builder 1.0.5 → 1.0.7
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/dist/index.d.ts +19 -19
- package/dist/post-builder.cjs.js +30300 -0
- package/dist/post-builder.css +5264 -1
- package/dist/post-builder.js +25593 -42137
- package/package.json +21 -21
- package/dist/post-builder.cjs +0 -526
- package/dist/post-builder.umd.cjs +0 -526
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
2
|
import { JSONContent } from '@tiptap/react';
|
|
3
3
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
@@ -101,12 +101,12 @@ export declare interface PostBuilderConfig {
|
|
|
101
101
|
};
|
|
102
102
|
authToken: string;
|
|
103
103
|
toI18N: (key: string) => string;
|
|
104
|
-
i18nKeys
|
|
104
|
+
i18nKeys: PostBuilderI18nKeys;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export declare const PostBuilderEditor:
|
|
107
|
+
export declare const PostBuilderEditor: FC<PostBuilderEditorProps>;
|
|
108
108
|
|
|
109
|
-
declare type PostBuilderEditorProps = WithModalProps | WithoutModalProps;
|
|
109
|
+
export declare type PostBuilderEditorProps = WithModalProps | WithoutModalProps;
|
|
110
110
|
|
|
111
111
|
declare interface PostBuilderI18nKeys {
|
|
112
112
|
addImageKey: string;
|
|
@@ -243,21 +243,6 @@ declare module '@tiptap/core' {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
declare module '@tiptap/core' {
|
|
247
|
-
interface Commands<ReturnType> {
|
|
248
|
-
smartMediaUpload: {
|
|
249
|
-
insertMediaWithUpload: (params: {
|
|
250
|
-
source: File | Blob | string;
|
|
251
|
-
type: MediaNodeTypes;
|
|
252
|
-
mediaType?: MediaItemType;
|
|
253
|
-
caption?: string;
|
|
254
|
-
searchFrom?: ImageSearchFrom;
|
|
255
|
-
}) => ReturnType;
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
246
|
declare module '@tiptap/core' {
|
|
262
247
|
interface Commands<ReturnType> {
|
|
263
248
|
iframe: {
|
|
@@ -274,6 +259,21 @@ declare module '@tiptap/core' {
|
|
|
274
259
|
}
|
|
275
260
|
|
|
276
261
|
|
|
262
|
+
declare module '@tiptap/core' {
|
|
263
|
+
interface Commands<ReturnType> {
|
|
264
|
+
smartMediaUpload: {
|
|
265
|
+
insertMediaWithUpload: (params: {
|
|
266
|
+
source: File | Blob | string;
|
|
267
|
+
type: MediaNodeTypes;
|
|
268
|
+
mediaType?: MediaItemType;
|
|
269
|
+
caption?: string;
|
|
270
|
+
searchFrom?: ImageSearchFrom;
|
|
271
|
+
}) => ReturnType;
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
|
|
277
277
|
declare module '@tiptap/core' {
|
|
278
278
|
interface Commands<ReturnType> {
|
|
279
279
|
linkPreview: {
|