mainstack-design-system 0.2.3 → 0.2.5
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.
|
@@ -15,6 +15,7 @@ export interface IInput extends InputProps {
|
|
|
15
15
|
successMessage?: string;
|
|
16
16
|
hint?: string;
|
|
17
17
|
width?: string;
|
|
18
|
+
disabled?: boolean;
|
|
18
19
|
}
|
|
19
|
-
declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, disabled, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
export default Input;
|
|
@@ -20,7 +20,8 @@ export interface ISelectInputProps {
|
|
|
20
20
|
hideSelectedOptions?: boolean;
|
|
21
21
|
CustomOption?: React.ComponentType<OptionProps<any, boolean, GroupBase<any>>>;
|
|
22
22
|
CustomMultiValue?: React.ComponentType<MultiValueProps<any, boolean, GroupBase<any>>>;
|
|
23
|
+
disabled?: boolean;
|
|
23
24
|
}
|
|
24
25
|
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|