@ynput/ayon-react-components 1.15.5 → 1.15.7

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.
@@ -8,7 +8,7 @@ import { NotificationProps } from './Notification/Notification';
8
8
  type Section = 'title' | 'header' | 'users' | 'status' | 'priority' | 'versions';
9
9
  export interface EntityCardProps extends React.HTMLAttributes<HTMLDivElement> {
10
10
  header?: string;
11
- path?: string;
11
+ path?: string | string[];
12
12
  project?: string;
13
13
  showPath?: boolean;
14
14
  title?: string;
@@ -47,20 +47,21 @@ export interface EntityCardProps extends React.HTMLAttributes<HTMLDivElement> {
47
47
  onTitleClick?: (e: MouseEvent<HTMLDivElement>) => void;
48
48
  onVersionsClick?: (e: MouseEvent<HTMLDivElement>) => void;
49
49
  pt?: {
50
- thumbnail?: HTMLAttributes<HTMLDivElement>;
51
- image?: HTMLAttributes<HTMLImageElement>;
50
+ thumbnail?: Partial<HTMLAttributes<HTMLDivElement>>;
51
+ image?: Partial<HTMLAttributes<HTMLImageElement>>;
52
+ header?: Partial<HTMLAttributes<HTMLDivElement>>;
52
53
  assigneeSelect?: Partial<AssigneeSelectProps>;
53
54
  statusSelect?: Partial<StatusSelectProps>;
54
55
  prioritySelect?: Partial<EnumDropdownProps>;
55
- title?: HTMLAttributes<HTMLDivElement>;
56
- topRow?: HTMLAttributes<HTMLDivElement>;
57
- playableTag?: HTMLAttributes<HTMLDivElement>;
58
- bottomRow?: HTMLAttributes<HTMLDivElement>;
59
- usersTag?: HTMLAttributes<HTMLDivElement>;
60
- statusTag?: HTMLAttributes<HTMLDivElement>;
61
- priorityTag?: HTMLAttributes<HTMLDivElement>;
62
- versionsTag?: HTMLAttributes<HTMLDivElement>;
63
- notificationDot?: HTMLAttributes<HTMLDivElement>;
56
+ title?: Partial<HTMLAttributes<HTMLDivElement>>;
57
+ topRow?: Partial<HTMLAttributes<HTMLDivElement>>;
58
+ playableTag?: Partial<HTMLAttributes<HTMLDivElement>>;
59
+ bottomRow?: Partial<HTMLAttributes<HTMLDivElement>>;
60
+ usersTag?: Partial<HTMLAttributes<HTMLDivElement>>;
61
+ statusTag?: Partial<HTMLAttributes<HTMLDivElement>>;
62
+ priorityTag?: Partial<HTMLAttributes<HTMLDivElement>>;
63
+ versionsTag?: Partial<HTMLAttributes<HTMLDivElement>>;
64
+ notificationDot?: Partial<HTMLAttributes<HTMLDivElement>>;
64
65
  };
65
66
  }
66
67
  export declare const EntityCard: import("react").ForwardRefExoticComponent<EntityCardProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
+ export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
3
  export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
4
  type CardProps = {
4
5
  $statusColor?: string;
5
6
  };
6
7
  export declare const Card: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CardProps>> & string;
7
- export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
8
  export declare const Thumbnail: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
9
  export declare const Image: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
10
10
  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;