@ynput/ayon-react-components 1.3.8 → 1.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.
- package/dist/Dropdowns/Dropdown/DefaultValueTemplate.d.ts +1 -0
- package/dist/Dropdowns/Dropdown/Dropdown.d.ts +3 -0
- package/dist/Dropdowns/Dropdown/Dropdown.styled.d.ts +2 -3
- package/dist/ayon-react-components.es.js +5161 -5101
- package/dist/ayon-react-components.umd.js +226 -199
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import * as Styled from './Dropdown.styled';
|
|
|
3
3
|
import { IconType } from '../../Icon';
|
|
4
4
|
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
5
5
|
message?: string;
|
|
6
|
+
error?: string;
|
|
6
7
|
itemStyle?: CSSProperties;
|
|
7
8
|
valueStyle?: CSSProperties;
|
|
8
9
|
listStyle?: CSSProperties;
|
|
@@ -19,6 +20,7 @@ export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
19
20
|
multiSelect?: boolean;
|
|
20
21
|
multiSelectClose?: boolean;
|
|
21
22
|
search?: boolean;
|
|
23
|
+
searchOnNumber?: number;
|
|
22
24
|
disabled?: boolean;
|
|
23
25
|
valueIcon?: string;
|
|
24
26
|
emptyMessage?: string;
|
|
@@ -53,6 +55,7 @@ export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>
|
|
|
53
55
|
onSelectAll?: ((value: string[]) => void) | true;
|
|
54
56
|
selectAllKey?: string;
|
|
55
57
|
buttonProps?: Styled.ButtonType['defaultProps'];
|
|
58
|
+
activateKeys?: string[];
|
|
56
59
|
}
|
|
57
60
|
export interface DropdownRef {
|
|
58
61
|
getElement: () => HTMLDivElement | null;
|
|
@@ -8,6 +8,7 @@ export declare const dropdownMenuAnimation: () => import("styled-components").Ke
|
|
|
8
8
|
export declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
9
9
|
$isOpen: boolean;
|
|
10
10
|
$message: string;
|
|
11
|
+
$error: string;
|
|
11
12
|
$hidden: boolean;
|
|
12
13
|
}, never>;
|
|
13
14
|
type ScrollableProps = {
|
|
@@ -19,8 +20,6 @@ export declare const Options: import("styled-components").StyledComponent<"ul",
|
|
|
19
20
|
export declare const ListItem: import("styled-components").StyledComponent<"li", any, {
|
|
20
21
|
$usingKeyboard: boolean;
|
|
21
22
|
}, never>;
|
|
22
|
-
export declare const DefaultItem: import("styled-components").StyledComponent<"span", any, {
|
|
23
|
-
$isSelected: boolean;
|
|
24
|
-
}, never>;
|
|
23
|
+
export declare const DefaultItem: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
25
24
|
export declare const Search: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
26
25
|
export {};
|