@ynput/ayon-react-components 0.3.22 → 0.3.23

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.
@@ -0,0 +1,26 @@
1
+ import { IconType } from '../Icon';
2
+ type NotificationType = 'comment' | 'due' | 'overdue';
3
+ export interface EntityCardProps extends React.HTMLAttributes<HTMLDivElement> {
4
+ title?: string;
5
+ titleIcon?: IconType;
6
+ subTitle?: string;
7
+ description?: string;
8
+ imageUrl?: string;
9
+ imageAlt?: string;
10
+ icon?: IconType;
11
+ iconColor?: string;
12
+ notification?: NotificationType;
13
+ isActive?: boolean;
14
+ isSecondary?: boolean;
15
+ isLoading?: boolean;
16
+ isError?: boolean;
17
+ isHover?: boolean;
18
+ isDragging?: boolean;
19
+ isDraggable?: boolean;
20
+ disabled?: boolean;
21
+ variant?: 'thumbnail' | 'basic' | 'full';
22
+ onThumbnailKeyDown?: (e: React.KeyboardEvent<HTMLDivElement>) => void;
23
+ onActivate?: () => void;
24
+ }
25
+ export declare const EntityCard: import("react").ForwardRefExoticComponent<EntityCardProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ export {};
@@ -0,0 +1,25 @@
1
+ import { EntityCardProps } from './EntityCard';
2
+ interface StyledEntityCardProps {
3
+ $isActive: boolean;
4
+ $isSecondary?: boolean;
5
+ $variant?: EntityCardProps['variant'];
6
+ $isLoading?: boolean;
7
+ $isSuccess?: boolean;
8
+ $isError?: boolean;
9
+ $disabled?: boolean;
10
+ $isHover?: boolean;
11
+ $isDragging?: boolean;
12
+ $isDraggable?: boolean;
13
+ }
14
+ export declare const StyledEntityCard: import("styled-components").StyledComponent<"div", any, StyledEntityCardProps, never>;
15
+ interface StyledThumbnailProps {
16
+ $isImageLoading: boolean;
17
+ $isImageValid: boolean;
18
+ $disableImageAnimation: boolean;
19
+ }
20
+ export declare const StyledThumbnail: import("styled-components").StyledComponent<"div", any, StyledThumbnailProps, never>;
21
+ export declare const StyledRow: import("styled-components").StyledComponent<"div", any, {}, never>;
22
+ export declare const StyledTitle: import("styled-components").StyledComponent<"span", any, {}, never>;
23
+ export declare const StyledDescription: import("styled-components").StyledComponent<"div", any, {}, never>;
24
+ export declare const NoImageIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './EntityCard';
2
+ export * from './EntityCardStyles';