@scbt-ecom/ui 0.22.0 → 0.22.2
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/shared/ui/formElements/editorControl/EditorControl.d.ts +1 -1
- package/dist/shared/ui/formElements/editorControl/model/helper.d.ts +2 -2
- package/dist/shared/ui/formElements/editorControl/model/types.d.ts +1 -4
- package/dist/ui.js +512 -504
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,4 +16,4 @@ export interface ICommonEditorProps {
|
|
|
16
16
|
export type IEditorControlProps<T extends FieldValues> = TCommonFieldProps<T> & ICommonEditorProps & {
|
|
17
17
|
classes?: TEditorControlClasses;
|
|
18
18
|
};
|
|
19
|
-
export declare const EditorControl: <T extends FieldValues>({ control, label, helperText, editable, classes, ...props }: IEditorControlProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const EditorControl: <T extends FieldValues>({ control, label, helperText, editable, classes, name, ...props }: IEditorControlProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Editor } from '@tiptap/react';
|
|
2
|
-
import {
|
|
2
|
+
import { TColorOption, THeadingOptions } from './types';
|
|
3
3
|
export declare const headingsOptions: THeadingOptions[];
|
|
4
4
|
export declare const editorHeadingClasses: Record<number, string>;
|
|
5
|
-
export declare const editorAllowedColors:
|
|
5
|
+
export declare const editorAllowedColors: TColorOption[];
|
|
6
6
|
export declare const renderEditorPanel: (editor: Editor) => ({
|
|
7
7
|
label: string;
|
|
8
8
|
icon: import("react/jsx-runtime").JSX.Element;
|