@select-org/select-post-builder 1.1.49 → 1.1.51
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 +11 -0
- package/dist/post-builder.cjs.js +31 -31
- package/dist/post-builder.js +3306 -3253
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,14 @@ declare type BaseProps = {
|
|
|
69
69
|
blob: Blob;
|
|
70
70
|
voiceTime: number;
|
|
71
71
|
}) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Optional quick-GIF handoff. When provided, long-pressing Send emits the
|
|
74
|
+
* typed text via this callback (instead of sending a normal comment); the
|
|
75
|
+
* host fetches a GIF and sends it. Only the comment composer passes this.
|
|
76
|
+
*/
|
|
77
|
+
onQuickGif?: (params: {
|
|
78
|
+
text: string;
|
|
79
|
+
}) => void;
|
|
72
80
|
onGroupSelect?: (groupId: string) => void;
|
|
73
81
|
onDirtyStateChange?: (isDirty: boolean) => void;
|
|
74
82
|
onReady?: (controls: PostBuilderControls) => void;
|
|
@@ -257,6 +265,7 @@ declare interface PostBuilderI18nKeys {
|
|
|
257
265
|
uploadKey: string;
|
|
258
266
|
postKey: string;
|
|
259
267
|
crossPostKey: string;
|
|
268
|
+
crossPostLimitKey: string;
|
|
260
269
|
postTabKey: string;
|
|
261
270
|
blogTabKey: string;
|
|
262
271
|
pollTabKey: string;
|
|
@@ -299,9 +308,11 @@ declare interface PostBuilderI18nKeys {
|
|
|
299
308
|
addLinkPreviewKey: string;
|
|
300
309
|
removeLinkPreviewKey: string;
|
|
301
310
|
fetchingMetadataKey: string;
|
|
311
|
+
pollQuestionPlaceholderKey: string;
|
|
302
312
|
addTextOptionKey: string;
|
|
303
313
|
enterTextOptionKey: string;
|
|
304
314
|
pressEnterToAddKey: string;
|
|
315
|
+
quickGifGeneratingKey: string;
|
|
305
316
|
cancelUploadTitleKey: string;
|
|
306
317
|
cancelUploadDescriptionKey: string;
|
|
307
318
|
stayKey: string;
|