@select-org/select-post-builder 1.0.8 → 1.1.0
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 +4 -2
- package/dist/post-builder.cjs.js +19448 -18468
- package/dist/post-builder.css +69 -143
- package/dist/post-builder.js +19449 -18469
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -57,7 +57,8 @@ declare interface ImageInfo {
|
|
|
57
57
|
|
|
58
58
|
declare enum MediaItemType {
|
|
59
59
|
MEDIA_ITEM = "mediaItem",
|
|
60
|
-
IMAGE_ITEM = "imageItem"
|
|
60
|
+
IMAGE_ITEM = "imageItem",
|
|
61
|
+
LINK_ITEM = "linkItem"
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
declare type MentionData = {
|
|
@@ -102,6 +103,7 @@ export declare interface PostBuilderConfig {
|
|
|
102
103
|
authToken: string;
|
|
103
104
|
toI18N: (key: string) => string;
|
|
104
105
|
i18nKeys: PostBuilderI18nKeys;
|
|
106
|
+
logEvent: (name: string, properties: Record<string, unknown>) => void;
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export declare const PostBuilderEditor: FC<PostBuilderEditorProps>;
|
|
@@ -114,7 +116,7 @@ declare interface PostBuilderI18nKeys {
|
|
|
114
116
|
italicMarkKey: string;
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
export declare const PostBuilderProvider: ({ children, apiBaseURL, authToken, toI18N, i18nKeys, }: PostBuilderConfig) => JSX_2.Element;
|
|
119
|
+
export declare const PostBuilderProvider: ({ children, apiBaseURL, authToken, toI18N, i18nKeys, logEvent, }: PostBuilderConfig) => JSX_2.Element;
|
|
118
120
|
|
|
119
121
|
declare type PostCreationData = {
|
|
120
122
|
body: string;
|