@aveonline/ui-react 1.5.0 → 1.5.1

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.
@@ -67,4 +67,5 @@ export interface ISelect {
67
67
  */
68
68
  menuIsOpen?: boolean;
69
69
  ref?: any;
70
+ value?: any;
70
71
  }
@@ -3,5 +3,5 @@ import type { ISelect } from './ISelect';
3
3
  * Atom: Select
4
4
  * Select lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface.
5
5
  */
6
- declare function Select({ options, placeholder, defaultValue, isDisabled, id, name, helpText, hasLabelPlaceholder, onChange, isSearchable, isClearable, error, isError, showErrorText, onBlur, ref, menuIsOpen }: ISelect): JSX.Element;
6
+ declare function Select({ options, placeholder, defaultValue, isDisabled, id, name, helpText, hasLabelPlaceholder, onChange, isSearchable, isClearable, error, isError, showErrorText, onBlur, value, menuIsOpen }: ISelect): JSX.Element;
7
7
  export default Select;
@@ -3,5 +3,5 @@ import type { ISelectButton } from './ISelectButton';
3
3
  * Molecule: SelectButton
4
4
  * Select with button for first item lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface.
5
5
  */
6
- declare function SelectButton({ options, placeholder, defaultValue, isDisabled, id, error, name, helpText, hasLabelPlaceholder, onChange, isSearchable, isClearable, alignButton, onClickFirstItem, isError, showErrorText, onBlur, menuIsOpen, ref }: ISelectButton): JSX.Element;
6
+ declare function SelectButton({ options, placeholder, defaultValue, isDisabled, id, error, name, helpText, hasLabelPlaceholder, onChange, isSearchable, isClearable, alignButton, onClickFirstItem, isError, showErrorText, onBlur, menuIsOpen, value }: ISelectButton): JSX.Element;
7
7
  export default SelectButton;
@@ -3,5 +3,5 @@ import { ISelect } from '../Select/ISelect';
3
3
  * Molecule: SelectCountry
4
4
  * Select lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface.
5
5
  */
6
- declare function SelectCountry({ id, name, placeholder, options, defaultValue, isDisabled, error, isSearchable, helpText, onChange, isClearable, isError, showErrorText, onBlur, ref, menuIsOpen }: ISelect): JSX.Element;
6
+ declare function SelectCountry({ id, name, placeholder, options, defaultValue, isDisabled, error, isSearchable, helpText, onChange, isClearable, isError, showErrorText, onBlur, menuIsOpen, value }: ISelect): JSX.Element;
7
7
  export default SelectCountry;