mainstack-design-system 0.3.1 → 0.3.3

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.
@@ -16,6 +16,7 @@ export interface IInput extends InputProps {
16
16
  hint?: string;
17
17
  width?: string;
18
18
  disabled?: boolean;
19
+ fontFamily?: string;
19
20
  }
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;
21
+ declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, disabled, fontFamily, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
21
22
  export default Input;
@@ -13,6 +13,7 @@ export interface ISearchInput extends InputProps {
13
13
  successMessage?: string;
14
14
  hint?: string;
15
15
  onClear?: any;
16
+ fontFamily?: string;
16
17
  }
17
- declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
18
+ declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, fontFamily, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
18
19
  export default SearchInput;
@@ -7,6 +7,7 @@ export interface ICountrySelectProps {
7
7
  onChange?: (e: any) => void;
8
8
  onBlur?: (e: any) => void;
9
9
  value?: any;
10
+ fontFamily?: string;
10
11
  }
11
- declare const CountrySelect: ({ value, onChange, label, valueType, placeholder, options, }: ICountrySelectProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const CountrySelect: ({ value, onChange, label, valueType, placeholder, options, fontFamily, }: ICountrySelectProps) => import("react/jsx-runtime").JSX.Element;
12
13
  export default CountrySelect;
@@ -8,6 +8,7 @@ export interface IPhoneNumberInputProps {
8
8
  label?: string;
9
9
  id?: string;
10
10
  subtext?: string | JSX.Element;
11
+ fontFamily?: string;
11
12
  }
12
- declare const PhoneNumberInput: ({ value, onChange, enableSearch, placeholder, label, id, subtext, }: IPhoneNumberInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const PhoneNumberInput: ({ value, onChange, enableSearch, placeholder, label, id, subtext, fontFamily, }: IPhoneNumberInputProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default PhoneNumberInput;
@@ -22,7 +22,8 @@ export interface ISelectInputProps {
22
22
  CustomMultiValue?: React.ComponentType<MultiValueProps<any, boolean, GroupBase<any>>>;
23
23
  disabled?: boolean;
24
24
  noOptionsMessage?: string;
25
+ fontFamily?: string;
25
26
  }
26
27
  export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
27
- export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
28
- export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, }: ISelectInputProps) => 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 CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -14,6 +14,7 @@ interface ITextArea extends TextareaProps {
14
14
  textLimit?: number;
15
15
  height?: string;
16
16
  width?: string;
17
+ fontFamily?: string;
17
18
  }
18
- declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
19
+ declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, fontFamily, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
19
20
  export default TextArea;
@@ -0,0 +1,4 @@
1
+ /** @format */
2
+ import { IconProps } from "@chakra-ui/icons";
3
+ declare const EnterpriseIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default EnterpriseIcon;
@@ -123,6 +123,7 @@ export { default as EmojiEventsIcon } from "./EmojiEventsIcon";
123
123
  export { default as EmojiFoodBeverageIcon } from "./EmojiFoodBeverageIcon";
124
124
  export { default as EmojiIcon } from "./EmojiIcon";
125
125
  export { default as EmptyIcon } from "./EmptyIcon";
126
+ export { default as EnterpriseIcon } from "./EnterpriseIcon";
126
127
  export { default as EnterpriseFilledIcon } from "./EnterpriseFilledIcon";
127
128
  export { default as ErrorFilledIcon } from "./ErrorFilledIcon";
128
129
  export { default as ErrorIcon } from "./ErrorIcon";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",