mainstack-design-system 0.7.24 → 0.7.26
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/build/index.d.ts +4 -2
- package/build/mainstack-design-system.js +4254 -4226
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -794,6 +794,7 @@ declare interface IMarkdownEditor {
|
|
|
794
794
|
handleGenerateAiDescription?: () => void;
|
|
795
795
|
isLoading?: boolean;
|
|
796
796
|
hasGenerateWithAi?: boolean;
|
|
797
|
+
aiResponse?: string;
|
|
797
798
|
}
|
|
798
799
|
|
|
799
800
|
export declare const InfoFilledIcon: (props: IconProps) => JSX_2.Element;
|
|
@@ -874,6 +875,7 @@ export declare interface ISelectInputProps {
|
|
|
874
875
|
openMenuOnFocus?: boolean;
|
|
875
876
|
isSearchable?: boolean;
|
|
876
877
|
formatOptionLabel?: (arg: any) => ReactNode;
|
|
878
|
+
customComponent?: Record<string, React.ComponentType<any>>;
|
|
877
879
|
}
|
|
878
880
|
|
|
879
881
|
/** @format */
|
|
@@ -970,7 +972,7 @@ export declare const MailIcon: (props: IconProps) => JSX_2.Element;
|
|
|
970
972
|
|
|
971
973
|
export { MainstackProvider }
|
|
972
974
|
|
|
973
|
-
export declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, ...props }: MarkdownEditorWithExclusiveValues) => JSX_2.Element;
|
|
975
|
+
export declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, isLoading, aiResponse, ...props }: MarkdownEditorWithExclusiveValues) => JSX_2.Element;
|
|
974
976
|
|
|
975
977
|
declare type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
|
|
976
978
|
value?: string;
|
|
@@ -1208,7 +1210,7 @@ export declare const SearchInput: ({ name, id, value, onChange, defaultValue, pl
|
|
|
1208
1210
|
|
|
1209
1211
|
export declare const SearchNormalIcon: (props: IconProps) => JSX_2.Element;
|
|
1210
1212
|
|
|
1211
|
-
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, isSearchable, formatOptionLabel, }: ISelectInputProps) => JSX_2.Element;
|
|
1213
|
+
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, isSearchable, formatOptionLabel, customComponent, }: ISelectInputProps) => JSX_2.Element;
|
|
1212
1214
|
|
|
1213
1215
|
export declare const SellIcon: (props: IconProps) => JSX_2.Element;
|
|
1214
1216
|
|