@pronto-tools-and-more/components 9.5.0 → 9.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,10 @@
1
1
  import type React from "react";
2
+ export interface ICollectionItem {
3
+ readonly name: string;
4
+ readonly description: string;
5
+ readonly imageSrc: string;
6
+ readonly slug: string;
7
+ }
2
8
  export interface CollectionRenderer {
3
- ({ name, description, imageSrc, }: {
4
- name: string;
5
- description: string;
6
- imageSrc: string;
7
- }): React.ReactNode;
9
+ (item: ICollectionItem): React.ReactNode;
8
10
  }
@@ -14,7 +14,7 @@ export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
14
14
  export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
15
15
  export * from "../Heading/Heading.tsx";
16
16
  export * from "../IFooterSocialLink/IFooterSocialLink.ts";
17
- export * from "../IIssueListItem/IIsueListItem.ts";
17
+ export * from "../IIssueListItem/IIssueListItem.ts";
18
18
  export * from "../ISearchResult/ISearchResult.ts";
19
19
  export * from "../ISearchResultComponent/ISearchResultComponent.tsx";
20
20
  export * from "../IssueList/IssueList.tsx";
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
- import type { IIssueListItem } from "../IIssueListItem/IIsueListItem.ts";
2
+ import type { IIssueListItem } from "../IIssueListItem/IIssueListItem.ts";
3
3
  export interface IssueListItemRenderer {
4
4
  ({ name, description, imageSrc, properties, }: IIssueListItem): React.ReactNode;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "9.5.0",
3
+ "version": "9.7.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",