@select-org/select-post-builder 1.1.3 → 1.1.5
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 +55 -4
- package/dist/post-builder.cjs.js +263 -127
- package/dist/post-builder.css +26 -18
- package/dist/post-builder.js +263 -127
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export declare interface PostBuilderConfig {
|
|
|
115
115
|
};
|
|
116
116
|
authToken: string;
|
|
117
117
|
toI18N: (key: string) => string;
|
|
118
|
-
i18nKeys
|
|
118
|
+
i18nKeys?: Partial<PostBuilderI18nKeys>;
|
|
119
119
|
logEvent: (name: string, properties: Record<string, unknown>) => void;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -130,9 +130,60 @@ export declare enum PostBuilderEvents {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
declare interface PostBuilderI18nKeys {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
addKey: string;
|
|
134
|
+
cancelKey: string;
|
|
135
|
+
deleteKey: string;
|
|
136
|
+
editKey: string;
|
|
137
|
+
updateKey: string;
|
|
138
|
+
insertKey: string;
|
|
139
|
+
uploadKey: string;
|
|
140
|
+
postKey: string;
|
|
141
|
+
crossPostKey: string;
|
|
142
|
+
postTabKey: string;
|
|
143
|
+
blogTabKey: string;
|
|
144
|
+
pollTabKey: string;
|
|
145
|
+
alignLeftKey: string;
|
|
146
|
+
alignCenterKey: string;
|
|
147
|
+
alignRightKey: string;
|
|
148
|
+
undoKey: string;
|
|
149
|
+
redoKey: string;
|
|
150
|
+
headingOptionsKey: string;
|
|
151
|
+
paragraphKey: string;
|
|
152
|
+
heading1Key: string;
|
|
153
|
+
heading2Key: string;
|
|
154
|
+
heading3Key: string;
|
|
155
|
+
boldKey: string;
|
|
156
|
+
italicKey: string;
|
|
157
|
+
strikethroughKey: string;
|
|
158
|
+
bulletListKey: string;
|
|
159
|
+
orderedListKey: string;
|
|
160
|
+
blockquoteKey: string;
|
|
161
|
+
codeKey: string;
|
|
162
|
+
codeBlockKey: string;
|
|
163
|
+
moreOptionsKey: string;
|
|
164
|
+
insertImageKey: string;
|
|
165
|
+
insertVideoKey: string;
|
|
166
|
+
insertAudioKey: string;
|
|
167
|
+
mediaSearchTitleKey: string;
|
|
168
|
+
gifSearchKey: string;
|
|
169
|
+
imageSearchKey: string;
|
|
170
|
+
searchGifOrImagesKey: string;
|
|
171
|
+
searchGifPlaceholder: string;
|
|
172
|
+
searchIMagePlaceholder: string;
|
|
173
|
+
editLinkKey: string;
|
|
174
|
+
unsetLinkKey: string;
|
|
175
|
+
visitLinkKey: string;
|
|
176
|
+
linkInputLabelKey: string;
|
|
177
|
+
linkTextInputLabelKey: string;
|
|
178
|
+
invalidLinkKey: string;
|
|
179
|
+
insertLinkKey: string;
|
|
180
|
+
updateLinkKey: string;
|
|
181
|
+
addLinkPreviewKey: string;
|
|
182
|
+
removeLinkPreviewKey: string;
|
|
183
|
+
fetchingMetadataKey: string;
|
|
184
|
+
addTextOptionKey: string;
|
|
185
|
+
enterTextOptionKey: string;
|
|
186
|
+
pressEnterToAddKey: string;
|
|
136
187
|
}
|
|
137
188
|
|
|
138
189
|
export declare const PostBuilderProvider: ({ children, apiBaseURL, authToken, toI18N, i18nKeys, logEvent, }: PostBuilderConfig) => JSX_2.Element;
|