mainstack-design-system 0.3.8 → 0.4.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.
|
@@ -4,6 +4,9 @@ interface IMarkdownEditor {
|
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
onHandleFile: (e: File) => void;
|
|
6
6
|
label?: string;
|
|
7
|
+
handleGenerateAiDescription?: () => void;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
hasGenerateWithAi?: boolean;
|
|
7
10
|
}
|
|
8
11
|
type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
|
|
9
12
|
value?: string;
|
|
@@ -12,5 +15,5 @@ type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
|
|
|
12
15
|
defaultValue?: string;
|
|
13
16
|
value?: never;
|
|
14
17
|
});
|
|
15
|
-
declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, ...props }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, ...props }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
|
|
16
19
|
export default MarkdownEditor;
|
|
@@ -23,7 +23,8 @@ export interface ISelectInputProps {
|
|
|
23
23
|
disabled?: boolean;
|
|
24
24
|
noOptionsMessage?: string;
|
|
25
25
|
fontFamily?: string;
|
|
26
|
+
openMenuOnFocus?: boolean;
|
|
26
27
|
}
|
|
27
28
|
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mainstack-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "build/mainstack-design-system.js",
|
|
6
6
|
"types": "build/src/index.d.ts",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"react-quill": "^2.0.0",
|
|
59
59
|
"react-router-dom": "^6.8.1",
|
|
60
60
|
"react-select": "^5.8.0",
|
|
61
|
+
"react-spinners": "^0.13.8",
|
|
61
62
|
"react-toastify": "^9.1.3",
|
|
62
63
|
"run-script-os": "^1.1.6",
|
|
63
64
|
"typescript": "^4.9.5",
|