@select-org/select-post-builder 1.1.56 → 1.1.59
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 +8 -0
- package/dist/post-builder.cjs.js +25 -25
- package/dist/post-builder.js +2354 -2338
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,13 @@ declare type BaseProps = {
|
|
|
95
95
|
hideSubmitButton?: boolean;
|
|
96
96
|
/** Fires when the user switches between editor tabs (Media, Blog, Poll) */
|
|
97
97
|
onEditorTabChange?: (tab: EditorTypes) => void;
|
|
98
|
+
/**
|
|
99
|
+
* Optional override for the editor's empty-state placeholder text. When
|
|
100
|
+
* provided, replaces the default "What's on your mind, {name}" prompt so a
|
|
101
|
+
* host can show context-aware copy (e.g. "Send a private comment..." vs
|
|
102
|
+
* "Send a group comment..."). Omit to keep the default.
|
|
103
|
+
*/
|
|
104
|
+
placeholder?: string;
|
|
98
105
|
};
|
|
99
106
|
|
|
100
107
|
declare type CreatePostCallbackPayload = {
|
|
@@ -335,6 +342,7 @@ declare type PostCreationData = {
|
|
|
335
342
|
postId: string;
|
|
336
343
|
timestamp: number;
|
|
337
344
|
groupId?: string;
|
|
345
|
+
disableUnfurl?: boolean;
|
|
338
346
|
};
|
|
339
347
|
|
|
340
348
|
declare type PostCreationMediaItem = {
|