@ynput/ayon-frontend-shared 0.6.2 → 0.6.3

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.
@@ -909,7 +909,7 @@ const Fe = 500, qt = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, js = ({
909
909
  Id: t?.id,
910
910
  "Entity type": t?.entityType,
911
911
  "List type": t?.entityListType,
912
- "Items count": t?.items?.length,
912
+ "Items count": t?.data?.count ?? t?.items?.length,
913
913
  Owner: t?.owner,
914
914
  "Created at": t?.createdAt && re(new Date(t?.createdAt), "PPpp"),
915
915
  "Created by": t?.createdBy,
@@ -428,6 +428,8 @@ declare type ProjectModelWithProducts = ProjectModel & {
428
428
  productTypes: ProductTypeListItem[];
429
429
  };
430
430
 
431
+ export declare const ReadOnlyTags: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
432
+
431
433
  declare type ResolveVersionJump = (versionId: string) => (() => void) | undefined;
432
434
 
433
435
  declare type Status_2 = {
@@ -82,7 +82,7 @@ export declare const expandableMimeTypes: {
82
82
 
83
83
  export declare const extractIdFromClassList: (classList: DOMTokenList) => string | null;
84
84
 
85
- export declare const Feed: ({ disabled, readOnly, statuses, entityListId, isSlideOut, versionReview, }: FeedProps) => JSX_2.Element;
85
+ export declare const Feed: ({ disabled, readOnly, statuses, entityListId, isSlideOut, versionReview, saveCommentDrafts, }: FeedProps) => JSX_2.Element;
86
86
 
87
87
  export declare const FEED_NEW_COMMENT: "__new__";
88
88
 
@@ -144,6 +144,7 @@ export declare type FeedProps = {
144
144
  entityListId?: string | undefined;
145
145
  isSlideOut?: boolean;
146
146
  versionReview?: boolean;
147
+ saveCommentDrafts?: boolean;
147
148
  };
148
149
 
149
150
  export declare const FeedProvider: ({ children, ...props }: FeedContextProps) => JSX_2.Element;
@@ -92,7 +92,8 @@ export declare interface NewEntityOpenConfig {
92
92
 
93
93
  export declare interface NewEntityProps {
94
94
  disabled?: boolean;
95
- onNewEntities?: (ops: OperationResponseModel[], stayOpen: boolean) => void;
95
+ /** `parentFolderIds` are the folders the new entities were created in */
96
+ onNewEntities?: (ops: OperationResponseModel[], stayOpen: boolean, parentFolderIds: string[]) => void;
96
97
  showButton?: boolean;
97
98
  showDialog?: boolean;
98
99
  enableShortcuts?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ynput/ayon-frontend-shared",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Shared React components for AYON frontend",
5
5
  "module": "dist/index.es.js",
6
6
  "exports": {