@ynput/ayon-react-components 1.6.1 → 1.6.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.
@@ -3,7 +3,7 @@ import { IconType } from '../../Icon';
3
3
  export interface AssigneeFieldProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  users: {
5
5
  name: string;
6
- fullName?: string;
6
+ fullName?: string | null;
7
7
  avatarUrl?: string;
8
8
  }[];
9
9
  value?: (string | number)[];
@@ -5,7 +5,7 @@ export interface AssigneeSelectProps extends Omit<DropdownProps, 'onChange' | 'e
5
5
  value: string[];
6
6
  options: {
7
7
  name: string;
8
- fullName?: string;
8
+ fullName?: string | null;
9
9
  avatarUrl?: string;
10
10
  }[];
11
11
  readOnly?: boolean;
@@ -4,8 +4,8 @@ import { User } from '../User/UserImagesStacked';
4
4
  import { Status } from '../Dropdowns/StatusSelect';
5
5
  type NotificationType = 'comment' | 'due' | 'overdue';
6
6
  export type PriorityType = {
7
- label: string;
8
- color: string;
7
+ label?: string;
8
+ color?: string;
9
9
  icon: IconType;
10
10
  name: string;
11
11
  };
@@ -13,13 +13,16 @@ type Section = 'title' | 'header' | 'users' | 'status' | 'priority';
13
13
  export interface EntityCardProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  header?: string;
15
15
  path?: string;
16
+ project?: string;
16
17
  showPath?: boolean;
17
18
  title?: string;
18
19
  titleIcon?: IconType;
19
20
  isPlayable?: boolean;
20
- users?: User[];
21
+ users?: User[] | null;
21
22
  status?: Status;
23
+ statusMiddle?: boolean;
22
24
  priority?: PriorityType;
25
+ hidePriority?: boolean;
23
26
  imageUrl?: string;
24
27
  imageAlt?: string;
25
28
  imageIcon?: IconType;
@@ -9,6 +9,7 @@ export declare const Image: import("styled-components/dist/types").IStyledCompon
9
9
  export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
10
  export declare const Tag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
11
11
  export declare const StatusContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
+ export declare const Users: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
13
  export declare const NoImageIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Icon").IconProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
13
14
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
14
15
  }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
@@ -2,7 +2,7 @@ import { User } from '../User/UserImagesStacked';
2
2
  declare const useUserImagesLoader: (users: User[] | undefined | null) => {
3
3
  users: {
4
4
  avatarUrl: string | undefined;
5
- fullName?: string | undefined;
5
+ fullName?: string | null | undefined;
6
6
  name: string;
7
7
  self?: boolean | undefined;
8
8
  }[];
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export interface User {
3
3
  avatarUrl?: string;
4
- fullName?: string;
4
+ fullName?: string | null;
5
5
  name: string;
6
6
  self?: boolean;
7
7
  }