@nimbus-ds/patterns 1.7.0-rc.4 → 1.7.0-rc.6
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 +9 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +28 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -218,6 +218,14 @@ export interface DataTableProperties {
|
|
|
218
218
|
}
|
|
219
219
|
export type DataTableProps = DataTableProperties & TableProperties & HTMLAttributes<HTMLElement>;
|
|
220
220
|
export declare const DataTable: React.FC<DataTableProps> & DataTableComponents;
|
|
221
|
+
declare const initialTranslationContext: {
|
|
222
|
+
translations: {
|
|
223
|
+
h3: string;
|
|
224
|
+
h4: string;
|
|
225
|
+
paragraph: string;
|
|
226
|
+
embed_youtube_video: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
221
229
|
export type Module = "bold" | "clearFormating" | "orderedList" | "unorderedList" | "header" | "history" | "italic" | "link" | "video" | "divider";
|
|
222
230
|
export type Parser = "html" | "json";
|
|
223
231
|
export interface EditorProperties {
|
|
@@ -241,6 +249,7 @@ export interface EditorProperties {
|
|
|
241
249
|
* @default none
|
|
242
250
|
*/
|
|
243
251
|
appearance?: "danger" | "warning" | "success" | "none";
|
|
252
|
+
translations?: Partial<typeof initialTranslationContext.translations>;
|
|
244
253
|
}
|
|
245
254
|
export type EditorProps = EditorProperties & Omit<HTMLAttributes<HTMLElement>, "onChange" | "color">;
|
|
246
255
|
export declare const Editor: React.FC<EditorProps>;
|