mayak-common-library-payload 0.1.74 → 0.1.76

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.
package/dist/index.d.mts CHANGED
@@ -164,10 +164,11 @@ interface IArticlesFull {
164
164
  className?: string;
165
165
  title?: string;
166
166
  articles?: IArticle[];
167
- totalArticles?: number;
167
+ totalArticles: number;
168
+ pageCount: number;
168
169
  href: string;
169
170
  }
170
- declare function ArticlesFull({ title, className, totalArticles, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
+ declare function ArticlesFull({ title, className, totalArticles, pageCount, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
172
 
172
173
  interface BannerBlockProps {
173
174
  videoLink?: string | null;
@@ -1423,9 +1424,10 @@ declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
1423
1424
  declare const PaginationItem: FC<PaginationItemOwnProps>;
1424
1425
 
1425
1426
  interface IPaginatorSimpleProps {
1426
- total?: number;
1427
+ total: number;
1428
+ pageCount: number;
1427
1429
  }
1428
- declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
1430
+ declare function PaginatorSimple({ total, pageCount, }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
1429
1431
 
1430
1432
  declare const H1: FC<HProps>;
1431
1433
 
package/dist/index.d.ts CHANGED
@@ -164,10 +164,11 @@ interface IArticlesFull {
164
164
  className?: string;
165
165
  title?: string;
166
166
  articles?: IArticle[];
167
- totalArticles?: number;
167
+ totalArticles: number;
168
+ pageCount: number;
168
169
  href: string;
169
170
  }
170
- declare function ArticlesFull({ title, className, totalArticles, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
+ declare function ArticlesFull({ title, className, totalArticles, pageCount, }: IArticlesFull): react_jsx_runtime.JSX.Element;
171
172
 
172
173
  interface BannerBlockProps {
173
174
  videoLink?: string | null;
@@ -1423,9 +1424,10 @@ declare const Paginator: (props: any) => react_jsx_runtime.JSX.Element | null;
1423
1424
  declare const PaginationItem: FC<PaginationItemOwnProps>;
1424
1425
 
1425
1426
  interface IPaginatorSimpleProps {
1426
- total?: number;
1427
+ total: number;
1428
+ pageCount: number;
1427
1429
  }
1428
- declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
1430
+ declare function PaginatorSimple({ total, pageCount, }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
1429
1431
 
1430
1432
  declare const H1: FC<HProps>;
1431
1433