@ynput/ayon-react-components 0.3.20 → 0.3.21
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/AssigneeSelect/AssigneeSelect.d.ts +9 -1
- package/dist/Dropdowns/Dropdown/Dropdown.d.ts +7 -1
- package/dist/Dropdowns/TagsSelect/TagsSelect.d.ts +4 -1
- package/dist/Dropdowns/TagsSelect/TagsSelectValueTemplate.d.ts +1 -2
- package/dist/ayon-react-components.es.js +3439 -3410
- package/dist/ayon-react-components.umd.js +119 -119
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { AssigneeFieldProps } from '.';
|
|
2
|
+
import { DropdownProps } from '../Dropdown';
|
|
3
|
+
export interface AssigneeSelectProps extends Omit<DropdownProps, 'onChange' | 'emptyMessage'> {
|
|
2
4
|
value: string[];
|
|
3
5
|
options: {
|
|
4
6
|
name: string;
|
|
@@ -11,5 +13,11 @@ export interface AssigneeSelectProps extends Omit<React.HTMLAttributes<HTMLDivEl
|
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
align?: 'left' | 'right';
|
|
13
15
|
isMultiple?: boolean;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
emptyIcon?: AssigneeFieldProps['emptyIcon'];
|
|
18
|
+
emptyMessage?: AssigneeFieldProps['emptyMessage'];
|
|
19
|
+
size?: AssigneeFieldProps['size'];
|
|
20
|
+
assigneeProps?: AssigneeFieldProps;
|
|
21
|
+
onAssigneeFieldClick?: AssigneeFieldProps['onClick'];
|
|
14
22
|
}
|
|
15
23
|
export declare const AssigneeSelect: import("react").ForwardRefExoticComponent<AssigneeSelectProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -16,11 +16,12 @@ export declare const ListItemStyled: import("styled-components").StyledComponent
|
|
|
16
16
|
export declare const DefaultItemStyled: import("styled-components").StyledComponent<"span", any, {
|
|
17
17
|
$isSelected: boolean;
|
|
18
18
|
}, never>;
|
|
19
|
-
export interface DropdownProps {
|
|
19
|
+
export interface DropdownProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
20
20
|
message?: string;
|
|
21
21
|
itemStyle?: CSSProperties;
|
|
22
22
|
valueStyle?: CSSProperties;
|
|
23
23
|
listStyle?: CSSProperties;
|
|
24
|
+
buttonStyle?: CSSProperties;
|
|
24
25
|
onOpen?: () => void;
|
|
25
26
|
onClose?: () => void;
|
|
26
27
|
value: Array<string | number>;
|
|
@@ -42,6 +43,10 @@ export interface DropdownProps {
|
|
|
42
43
|
maxOptionsShown?: number;
|
|
43
44
|
style?: CSSProperties;
|
|
44
45
|
className?: string;
|
|
46
|
+
buttonClassName?: string;
|
|
47
|
+
itemClassName?: string;
|
|
48
|
+
valueClassName?: string;
|
|
49
|
+
listClassName?: string;
|
|
45
50
|
widthExpand?: boolean;
|
|
46
51
|
searchFields?: string[];
|
|
47
52
|
minSelected?: number;
|
|
@@ -51,5 +56,6 @@ export interface DropdownProps {
|
|
|
51
56
|
maxHeight?: number;
|
|
52
57
|
disableReorder?: boolean;
|
|
53
58
|
disabledValues?: (string | number)[];
|
|
59
|
+
listInline?: boolean;
|
|
54
60
|
}
|
|
55
61
|
export declare const Dropdown: import("react").ForwardRefExoticComponent<DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { DropdownProps } from '../Dropdown';
|
|
2
|
+
import { TagsSelectValueTemplateProps } from './TagsSelectValueTemplate';
|
|
1
3
|
import { type TagsOrderType, type TagsType } from './tags';
|
|
2
|
-
export interface TagsSelectProps extends Omit<
|
|
4
|
+
export interface TagsSelectProps extends Omit<DropdownProps, 'onChange'> {
|
|
3
5
|
value: string[];
|
|
4
6
|
options: {
|
|
5
7
|
name: string;
|
|
@@ -16,5 +18,6 @@ export interface TagsSelectProps extends Omit<React.HTMLAttributes<HTMLDivElemen
|
|
|
16
18
|
align?: 'left' | 'right';
|
|
17
19
|
styleDropdown?: React.CSSProperties;
|
|
18
20
|
width?: number;
|
|
21
|
+
valueProps?: TagsSelectValueTemplateProps;
|
|
19
22
|
}
|
|
20
23
|
export declare const TagsSelect: import("react").ForwardRefExoticComponent<TagsSelectProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { DefaultValueTemplateProps } from '../Dropdown';
|
|
3
3
|
import { type TagsType } from './tags';
|
|
4
|
-
interface TagsSelectValueTemplateProps extends Omit<DefaultValueTemplateProps, 'children'> {
|
|
4
|
+
export interface TagsSelectValueTemplateProps extends Omit<DefaultValueTemplateProps, 'children'> {
|
|
5
5
|
tags: TagsType;
|
|
6
6
|
editor?: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const TagsSelectValueTemplate: FC<TagsSelectValueTemplateProps>;
|
|
9
|
-
export {};
|