@aveonline/ui-react 1.10.1 → 1.10.2
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/dist/components/molecules/Selectable/AsyncCreatableSelect/AsyncCreatableSelect.d.ts +1 -1
- package/dist/components/molecules/Selectable/AsyncSelect/AsyncSelect.d.ts +1 -1
- package/dist/components/molecules/Selectable/Select/ISelect.d.ts +5 -1
- package/dist/components/molecules/Selectable/Select/Select.d.ts +2 -2
- package/dist/components/molecules/Selectable/SelectButton/SelectButton.d.ts +1 -1
- package/dist/components/molecules/Selectable/atoms/Control.d.ts +2 -4
- package/dist/components/molecules/Selectable/atoms/DropdownIndicator.d.ts +2 -3
- package/dist/components/molecules/Selectable/atoms/SingleValue.d.ts +2 -3
- package/dist/components/molecules/Selectable/select.d.ts +27 -0
- package/dist/ui-react.mjs +1223 -1254
- package/dist/ui-react.umd.js +16 -16
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ import type { IAsyncCreatableSelect } from './IAsyncCreatableSelect';
|
|
|
3
3
|
* Molecule: AsyncCreatableSelect
|
|
4
4
|
* Async select lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface. Data from network. To allow new values
|
|
5
5
|
*/
|
|
6
|
-
declare function AsyncCreatableSelect({ placeholder, id, name, error, helpText, hasLabelPlaceholder, isDisabled, isClearable, defaultValue, onChange, isLoading, loadOptions, isError, showErrorText, onBlur, value, menuIsOpen, allowCreateWhileLoading, createOptionPosition, logo, instanceId, loadingMessage, noOptionsMessage, iconTooltip }: IAsyncCreatableSelect): JSX.Element;
|
|
6
|
+
declare function AsyncCreatableSelect({ placeholder, id, name, error, helpText, hasLabelPlaceholder, isDisabled, isClearable, defaultValue, onChange, isLoading, loadOptions, isError, showErrorText, onBlur, value, menuIsOpen, allowCreateWhileLoading, createOptionPosition, logo, instanceId, loadingMessage, noOptionsMessage, iconTooltip, isActiveDropdownIndicator }: IAsyncCreatableSelect): JSX.Element;
|
|
7
7
|
export default AsyncCreatableSelect;
|
|
@@ -3,5 +3,5 @@ import type { IAsyncSelect } from './IAsyncSelect';
|
|
|
3
3
|
* Molecule: AsyncSelect
|
|
4
4
|
* Async select lets merchants choose one option from an options menu. Consider select when you have 4 or more options, to avoid cluttering the interface. Data from network
|
|
5
5
|
*/
|
|
6
|
-
declare function AsyncSelect({ placeholder, id, name, error, helpText, hasLabelPlaceholder, isDisabled, isClearable, defaultValue, onChange, isLoading, loadOptions, isError, showErrorText, onBlur, value, menuIsOpen, instanceId, loadingMessage, noOptionsMessage, logo, iconTooltip }: IAsyncSelect): JSX.Element;
|
|
6
|
+
declare function AsyncSelect({ placeholder, id, name, error, helpText, hasLabelPlaceholder, isDisabled, isClearable, defaultValue, onChange, isLoading, loadOptions, isError, showErrorText, onBlur, value, menuIsOpen, instanceId, loadingMessage, noOptionsMessage, logo, iconTooltip, isActiveDropdownIndicator }: IAsyncSelect): JSX.Element;
|
|
7
7
|
export default AsyncSelect;
|
|
@@ -79,7 +79,11 @@ export interface ISelect {
|
|
|
79
79
|
noOptionsMessage?: string;
|
|
80
80
|
logo?: IKindLogo;
|
|
81
81
|
/**
|
|
82
|
-
* Active tooltip for icon right
|
|
82
|
+
* Active tooltip for icon right verify dropdown indicator - default true
|
|
83
83
|
*/
|
|
84
84
|
iconTooltip?: ITooltipSelect;
|
|
85
|
+
/**
|
|
86
|
+
* Verify dropdown indicator - default true
|
|
87
|
+
*/
|
|
88
|
+
isActiveDropdownIndicator?: boolean;
|
|
85
89
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ISelect } from './ISelect';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Molecule: 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, value, instanceId, menuIsOpen, loadingMessage, noOptionsMessage, logo, iconTooltip }: ISelect): JSX.Element;
|
|
6
|
+
declare function Select({ options, placeholder, defaultValue, isDisabled, id, name, helpText, hasLabelPlaceholder, onChange, isSearchable, isClearable, error, isError, showErrorText, onBlur, value, instanceId, menuIsOpen, loadingMessage, noOptionsMessage, logo, iconTooltip, isActiveDropdownIndicator }: 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, instanceId, value, loadingMessage, noOptionsMessage, logo, iconTooltip }: 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, instanceId, value, loadingMessage, noOptionsMessage, logo, iconTooltip, isActiveDropdownIndicator }: ISelectButton): JSX.Element;
|
|
7
7
|
export default SelectButton;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Control: ({
|
|
3
|
-
iconTooltip?: ITooltipSelect | undefined;
|
|
4
|
-
}) => JSX.Element;
|
|
1
|
+
import type { ControlProps } from 'react-select';
|
|
2
|
+
export declare const Control: ({ children, ...props }: ControlProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}) => JSX.Element;
|
|
1
|
+
import type { DropdownIndicatorProps } from 'react-select';
|
|
2
|
+
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}) => JSX.Element;
|
|
1
|
+
import { SingleValueProps } from 'react-select';
|
|
2
|
+
export declare const SingleValue: (props: SingleValueProps) => JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GroupBase } from 'react-select'
|
|
2
|
+
import { IOptionSelectButton, ITooltipSelect } from '../..'
|
|
3
|
+
|
|
4
|
+
declare module 'react-select/dist/declarations/src/Select' {
|
|
5
|
+
export interface Props<
|
|
6
|
+
Option,
|
|
7
|
+
IsMulti extends boolean,
|
|
8
|
+
Group extends GroupBase<Option>
|
|
9
|
+
> {
|
|
10
|
+
/**
|
|
11
|
+
* Our prop for control icon tooltip inside component atom Control
|
|
12
|
+
*/
|
|
13
|
+
iconTooltip?: ITooltipSelect
|
|
14
|
+
/**
|
|
15
|
+
* Our prop for control click first element - SelectButton
|
|
16
|
+
*/
|
|
17
|
+
addButton?: ((value: IOptionSelectButton) => void) | undefined
|
|
18
|
+
/**
|
|
19
|
+
* Our prop for verify inside atom SingleValue show ui
|
|
20
|
+
*/
|
|
21
|
+
hasLabelPlaceholder?: boolean
|
|
22
|
+
/**
|
|
23
|
+
* Our prop for verify dropdown indicator - default true
|
|
24
|
+
*/
|
|
25
|
+
isActiveDropdownIndicator?: boolean
|
|
26
|
+
}
|
|
27
|
+
}
|