@pronto-tools-and-more/components 10.16.0 → 10.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  import type React from "react";
2
2
  import type { IArticleListItem } from "../IArticleListItem/IArticleListItem.ts";
3
3
  export interface ArticleListItemRenderer {
4
- ({ name, description, imageSrc, properties, publicationDate }: IArticleListItem): React.ReactNode;
4
+ ({ name, description, imageSrc, properties, readTime, publicationDate }: IArticleListItem): React.ReactNode;
5
5
  }
@@ -4,6 +4,7 @@ export interface ICollectionItem {
4
4
  readonly description: string;
5
5
  readonly imageSrc: string;
6
6
  readonly slug: string;
7
+ readonly readTime?: string;
7
8
  readonly publicationDate: string;
8
9
  }
9
10
  export interface CollectionRenderer {
@@ -0,0 +1,7 @@
1
+ export declare const SearchTimePicker: ({ timeAny, timeLastDay, timeLastWeek, timeLastMonth, timeLastYear, }: {
2
+ timeAny: string;
3
+ timeLastDay: string;
4
+ timeLastWeek: string;
5
+ timeLastYear: string;
6
+ timeLastMonth: string;
7
+ }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "10.16.0",
3
+ "version": "10.18.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",