@scbt-ecom/ui 0.104.3 → 0.105.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/lib/shared/style.css +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/EditorControl.js.map +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js +1 -1
- package/dist/lib/shared/ui/formElements/controlled/editor/ui/Editor.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/shared/ui/formElements/controlled/editor/EditorControl.d.ts +4 -0
- package/dist/types/lib/shared/ui/formElements/controlled/editor/ui/Editor.d.ts +7 -0
- package/package.json +1 -1
|
@@ -13,5 +13,9 @@ export type EditorControlProps<TFieldValues extends FieldValues, TName extends P
|
|
|
13
13
|
helperText?: string | ReactElement;
|
|
14
14
|
label?: string;
|
|
15
15
|
limit?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Сделать текстовый редактор маленьким
|
|
18
|
+
*/
|
|
19
|
+
small?: boolean;
|
|
16
20
|
};
|
|
17
21
|
export declare const EditorControl: <T extends FieldValues>({ control, label, helperText, editable, classes, defaultValue, disabled, rules, shouldUnregister, name, ...props }: EditorControlProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,14 @@ interface EditorProps extends Partial<UseEditorOptions> {
|
|
|
16
16
|
*/
|
|
17
17
|
label?: string;
|
|
18
18
|
helperText?: string | ReactElement;
|
|
19
|
+
/**
|
|
20
|
+
* Лимит символов
|
|
21
|
+
*/
|
|
19
22
|
limit?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Сделать текстовый редактор маленьким
|
|
25
|
+
*/
|
|
26
|
+
small?: boolean;
|
|
20
27
|
}
|
|
21
28
|
export declare const Editor: import('react').ForwardRefExoticComponent<EditorProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
22
29
|
export {};
|