@select-org/select-post-builder 1.1.37 → 1.1.38
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 +20 -11
- package/dist/post-builder.cjs.js +14 -14
- package/dist/post-builder.js +2182 -2111
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -205,6 +205,11 @@ declare interface PostBuilderI18nKeys {
|
|
|
205
205
|
addTextOptionKey: string;
|
|
206
206
|
enterTextOptionKey: string;
|
|
207
207
|
pressEnterToAddKey: string;
|
|
208
|
+
cancelUploadTitleKey: string;
|
|
209
|
+
cancelUploadDescriptionKey: string;
|
|
210
|
+
stayKey: string;
|
|
211
|
+
continueKey: string;
|
|
212
|
+
uploadsInProgressKey: string;
|
|
208
213
|
}
|
|
209
214
|
|
|
210
215
|
export declare const PostBuilderProvider: ({ children, apiBaseURL, authToken, toI18N, i18nKeys, logEvent, }: PostBuilderConfig) => JSX_2.Element;
|
|
@@ -295,17 +300,10 @@ declare module '@tiptap/core' {
|
|
|
295
300
|
* Update media upload progress by uid
|
|
296
301
|
*/
|
|
297
302
|
updateMediaProgress: (uid: string, progress: number) => ReturnType;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
declare module '@tiptap/core' {
|
|
304
|
-
interface Commands<ReturnType> {
|
|
305
|
-
poll: {
|
|
306
|
-
insertPoll: (attrs: {
|
|
307
|
-
choices: PollChoiceItem[];
|
|
308
|
-
}) => ReturnType;
|
|
303
|
+
/**
|
|
304
|
+
* Delete all media nodes that are currently uploading
|
|
305
|
+
*/
|
|
306
|
+
deleteAllUploadingMedia: () => ReturnType;
|
|
309
307
|
};
|
|
310
308
|
}
|
|
311
309
|
}
|
|
@@ -351,6 +349,17 @@ declare module '@tiptap/core' {
|
|
|
351
349
|
}
|
|
352
350
|
|
|
353
351
|
|
|
352
|
+
declare module '@tiptap/core' {
|
|
353
|
+
interface Commands<ReturnType> {
|
|
354
|
+
poll: {
|
|
355
|
+
insertPoll: (attrs: {
|
|
356
|
+
choices: PollChoiceItem[];
|
|
357
|
+
}) => ReturnType;
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
|
|
354
363
|
declare module '@tiptap/core' {
|
|
355
364
|
interface Commands<ReturnType> {
|
|
356
365
|
smartMediaUpload: {
|