@pronto-tools-and-more/components 9.18.0 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js CHANGED
@@ -333,8 +333,8 @@ var createFilterFromProperties = ({
333
333
  return outerFilter;
334
334
  };
335
335
 
336
- // src/parts/IssueList/IssueList.tsx
337
- var IssueList = ({
336
+ // src/parts/ArticleList/ArticleList.tsx
337
+ var ArticleList = ({
338
338
  properties,
339
339
  render,
340
340
  authorId,
@@ -402,7 +402,7 @@ var IssueList = ({
402
402
  }
403
403
  }
404
404
  };
405
- return /* @__PURE__ */ React.createElement("div", { className: "IssueList" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
405
+ return /* @__PURE__ */ React.createElement("div", { className: "ArticleList IssueList" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
406
406
  };
407
407
 
408
408
  // src/parts/Link/Link.tsx
@@ -686,6 +686,7 @@ var SubscriptionLink = ({ message } = {}) => {
686
686
  return /* @__PURE__ */ React.createElement("div", { className: "SubscriptionLink" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
687
687
  };
688
688
  export {
689
+ ArticleList,
689
690
  Button,
690
691
  CategoryList,
691
692
  Collection,
@@ -702,7 +703,6 @@ export {
702
703
  HeaderLogoSection,
703
704
  HeaderMenuItems,
704
705
  Heading,
705
- IssueList,
706
706
  JsonComponent,
707
707
  Link,
708
708
  Login,
@@ -0,0 +1,8 @@
1
+ import { ArticleListItemRenderer } from "../ArticleListItemRenderer/ArticleListItemRenderer.ts";
2
+ export declare const ArticleList: ({ properties, render, authorId, categoryId, bundleId, }: {
3
+ properties: any;
4
+ authorId?: string;
5
+ categoryId?: string;
6
+ bundleId?: string;
7
+ render: ArticleListItemRenderer;
8
+ }) => import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type React from "react";
2
+ import type { IArticleListItem } from "../IArticleListItem/IArticleListItem.ts";
3
+ export interface ArticleListItemRenderer {
4
+ ({ name, description, imageSrc, properties, }: IArticleListItem): React.ReactNode;
5
+ }
@@ -16,11 +16,11 @@ export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
16
16
  export * from "../Heading/Heading.tsx";
17
17
  export * from "../ICategoryItem/ICategoryItem.ts";
18
18
  export * from "../IFooterSocialLink/IFooterSocialLink.ts";
19
- export * from "../IIssueListItem/IIssueListItem.ts";
19
+ export * from "../IArticleListItem/IArticleListItem.ts";
20
20
  export * from "../ISearchResult/ISearchResult.ts";
21
21
  export * from "../ISearchResultComponent/ISearchResultComponent.tsx";
22
- export * from "../IssueList/IssueList.tsx";
23
- export * from "../IssueListItemRenderer/IssueListItemRenderer.ts";
22
+ export * from "../ArticleList/ArticleList.tsx";
23
+ export * from "../ArticleListItemRenderer/ArticleListItemRenderer.ts";
24
24
  export * from "../JsonComponent/JsonComponent.tsx";
25
25
  export * from "../Link/Link.tsx";
26
26
  export * from "../Login/Login.tsx";
@@ -1,4 +1,4 @@
1
- export interface IIssueListItem {
1
+ export interface IArticleListItem {
2
2
  readonly name: string;
3
3
  readonly description: string;
4
4
  readonly imageSrc: string;
@@ -2,7 +2,7 @@ export * from "../AppBar/AppBar.tsx";
2
2
  export * from "../Button/Button.tsx";
3
3
  export * from "../EPapers/EPapers.tsx";
4
4
  export * from "../Home/Home.tsx";
5
- export * from "../IssueList/IssueList.tsx";
5
+ export * from "../ArticleList/ArticleList.tsx";
6
6
  export * from "../Login/Login.tsx";
7
7
  export * from "../MostRead/MostRead.tsx";
8
8
  export * from "../NoSearchResults/NoSearchResults.tsx";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "9.18.0",
3
+ "version": "10.0.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -1,8 +0,0 @@
1
- import { IssueListItemRenderer } from "../IssueListItemRenderer/IssueListItemRenderer.ts";
2
- export declare const IssueList: ({ properties, render, authorId, categoryId, bundleId, }: {
3
- properties: any;
4
- authorId?: string;
5
- categoryId?: string;
6
- bundleId?: string;
7
- render: IssueListItemRenderer;
8
- }) => import("react").JSX.Element;
@@ -1,5 +0,0 @@
1
- import type React from "react";
2
- import type { IIssueListItem } from "../IIssueListItem/IIssueListItem.ts";
3
- export interface IssueListItemRenderer {
4
- ({ name, description, imageSrc, properties, }: IIssueListItem): React.ReactNode;
5
- }