mainstack-design-system 0.7.25 → 0.7.27
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 +5 -3
- package/build/mainstack-design-system.js +4345 -4318
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -660,10 +660,11 @@ declare interface IconButtonProps extends ButtonProps {
|
|
|
660
660
|
}
|
|
661
661
|
|
|
662
662
|
/** @format */
|
|
663
|
+
/// <reference types="react" />
|
|
663
664
|
export declare interface ICountrySelectProps {
|
|
664
665
|
valueType?: "full" | "code";
|
|
665
666
|
options?: any;
|
|
666
|
-
label?: string;
|
|
667
|
+
label?: string | React.ReactNode;
|
|
667
668
|
placeholder?: string;
|
|
668
669
|
onChange?: (e: any) => void;
|
|
669
670
|
onBlur?: (e: any) => void;
|
|
@@ -794,6 +795,7 @@ declare interface IMarkdownEditor {
|
|
|
794
795
|
handleGenerateAiDescription?: () => void;
|
|
795
796
|
isLoading?: boolean;
|
|
796
797
|
hasGenerateWithAi?: boolean;
|
|
798
|
+
aiResponse?: string;
|
|
797
799
|
}
|
|
798
800
|
|
|
799
801
|
export declare const InfoFilledIcon: (props: IconProps) => JSX_2.Element;
|
|
@@ -831,7 +833,7 @@ export declare interface IPhoneNumberInputProps {
|
|
|
831
833
|
onChange?: (value: string) => void;
|
|
832
834
|
enableSearch?: boolean;
|
|
833
835
|
placeholder?: string;
|
|
834
|
-
label?: string;
|
|
836
|
+
label?: string | React.ReactNode;
|
|
835
837
|
id?: string;
|
|
836
838
|
subtext?: string | JSX.Element;
|
|
837
839
|
fontFamily?: string;
|
|
@@ -971,7 +973,7 @@ export declare const MailIcon: (props: IconProps) => JSX_2.Element;
|
|
|
971
973
|
|
|
972
974
|
export { MainstackProvider }
|
|
973
975
|
|
|
974
|
-
export declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, ...props }: MarkdownEditorWithExclusiveValues) => JSX_2.Element;
|
|
976
|
+
export declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, isLoading, aiResponse, ...props }: MarkdownEditorWithExclusiveValues) => JSX_2.Element;
|
|
975
977
|
|
|
976
978
|
declare type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
|
|
977
979
|
value?: string;
|