@ynput/ayon-react-components 0.3.9 → 0.3.10
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/Dropdown/DefaultItemTemplate.d.ts +24 -0
- package/dist/Dropdown/Dropdown.d.ts +13 -1
- package/dist/Dropdown/index.d.ts +1 -0
- package/dist/TagsSelect/TagsSelect.d.ts +2 -0
- package/dist/ayon-react-components.es.js +6117 -6031
- package/dist/ayon-react-components.umd.js +116 -111
- package/dist/index.d.ts +1 -1
- package/package.json +18 -21
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DropdownProps } from './Dropdown';
|
|
3
|
+
export interface DefaultItemTemplateProps extends Pick<DropdownProps, 'message' | 'search' | 'editable' | 'listStyle' | 'maxHeight' | 'dataKey' | 'labelKey' | 'itemTemplate' | 'value'> {
|
|
4
|
+
displayIcon?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
valueStyle?: React.CSSProperties;
|
|
8
|
+
isOpen?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
selected?: any;
|
|
11
|
+
usingKeyboard?: any;
|
|
12
|
+
activeIndex?: any;
|
|
13
|
+
searchRef?: any;
|
|
14
|
+
hiddenLength?: any;
|
|
15
|
+
handleChange?: any;
|
|
16
|
+
optionsRef?: any;
|
|
17
|
+
minWidth?: any;
|
|
18
|
+
startAnimation?: any;
|
|
19
|
+
optionsHeight?: any;
|
|
20
|
+
startAnimationFinished?: any;
|
|
21
|
+
showOptions?: any;
|
|
22
|
+
setStartAnimationFinished?: any;
|
|
23
|
+
}
|
|
24
|
+
export declare const DefaultItemTemplate: FC<DefaultItemTemplateProps>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { IconType } from '../Icon';
|
|
3
|
+
export declare const OptionsStyled: import("styled-components").StyledComponent<"ul", any, {
|
|
4
|
+
$message: string;
|
|
5
|
+
$search: boolean;
|
|
6
|
+
$startAnimation: boolean;
|
|
7
|
+
$animationHeight: number;
|
|
8
|
+
$maxHeight: number;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const ListItemStyled: import("styled-components").StyledComponent<"li", any, {
|
|
11
|
+
$focused: boolean;
|
|
12
|
+
$usingKeyboard: boolean;
|
|
13
|
+
$startAnimation: boolean;
|
|
14
|
+
}, never>;
|
|
3
15
|
export declare const DefaultItemStyled: import("styled-components").StyledComponent<"span", any, {
|
|
4
|
-
isSelected: boolean;
|
|
16
|
+
$isSelected: boolean;
|
|
5
17
|
}, never>;
|
|
6
18
|
export interface DropdownProps {
|
|
7
19
|
message?: string;
|
package/dist/Dropdown/index.d.ts
CHANGED
|
@@ -14,5 +14,7 @@ export interface TagsSelectProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
14
14
|
tagsOrder?: TagsOrderType;
|
|
15
15
|
editor?: boolean;
|
|
16
16
|
align?: 'left' | 'right';
|
|
17
|
+
styleDropdown?: React.CSSProperties;
|
|
18
|
+
width?: number;
|
|
17
19
|
}
|
|
18
20
|
export declare const TagsSelect: import("react").ForwardRefExoticComponent<TagsSelectProps & import("react").RefAttributes<HTMLDivElement>>;
|