@livetiles/reach-components-react 0.5.0-preview.925 → 0.5.0-preview.929
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/CompactLayoutList.d.ts +2 -1
- package/NewsList.d.ts +5 -0
- package/PublishableItemCompactCard.d.ts +6 -1
- package/index.d.ts +5 -0
- package/index.esm2.js +2 -2
- package/index.umd.js +56 -56
- package/package.json +1 -1
package/CompactLayoutList.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { PublishableItem } from '@livetiles/reach/util/common';
|
|
|
2
2
|
interface CompactLayoutListProps<TItem extends PublishableItem = PublishableItem> {
|
|
3
3
|
items: TItem[];
|
|
4
4
|
onRenderCard: (item: TItem) => unknown;
|
|
5
|
+
cardsGap?: number;
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
|
-
export declare const CompactLayoutList: <TItem extends PublishableItem>({ items, onRenderCard, className, }: CompactLayoutListProps<TItem>) => JSX.Element;
|
|
8
|
+
export declare const CompactLayoutList: <TItem extends PublishableItem>({ items, onRenderCard, cardsGap, className, }: CompactLayoutListProps<TItem>) => JSX.Element;
|
|
8
9
|
export {};
|
package/NewsList.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ export interface NewsListProps {
|
|
|
16
16
|
hidePagination?: boolean;
|
|
17
17
|
pageSize?: number;
|
|
18
18
|
includeAllItems?: boolean;
|
|
19
|
+
cardsGap?: number;
|
|
20
|
+
contentGap?: number;
|
|
21
|
+
bannerSize?: number;
|
|
22
|
+
showDateOnBottom?: boolean;
|
|
23
|
+
showDateAsRelative?: boolean;
|
|
19
24
|
className?: string;
|
|
20
25
|
}
|
|
21
26
|
export declare const NewsList: FC<NewsListProps>;
|
|
@@ -12,9 +12,14 @@ export interface PublishableItemCompactCardProps {
|
|
|
12
12
|
color: string;
|
|
13
13
|
tooltipText: string;
|
|
14
14
|
};
|
|
15
|
+
bannerSize?: number;
|
|
16
|
+
contentGap?: number;
|
|
17
|
+
showDateOnBottom?: boolean;
|
|
15
18
|
onCardClick?: (e: MouseEvent<unknown>) => unknown;
|
|
16
19
|
onTitleClick?: (e: MouseEvent<unknown>) => unknown;
|
|
17
20
|
className?: string;
|
|
18
21
|
}
|
|
19
22
|
export declare const PublishableItemCompactCard: FC<PublishableItemCompactCardProps>;
|
|
20
|
-
export declare const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
23
|
+
export declare const Host: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
24
|
+
bannerSize: number;
|
|
25
|
+
}, never>;
|
package/index.d.ts
CHANGED
|
@@ -1250,6 +1250,11 @@ interface NewsListProps {
|
|
|
1250
1250
|
hidePagination?: boolean;
|
|
1251
1251
|
pageSize?: number;
|
|
1252
1252
|
includeAllItems?: boolean;
|
|
1253
|
+
cardsGap?: number;
|
|
1254
|
+
contentGap?: number;
|
|
1255
|
+
bannerSize?: number;
|
|
1256
|
+
showDateOnBottom?: boolean;
|
|
1257
|
+
showDateAsRelative?: boolean;
|
|
1253
1258
|
className?: string;
|
|
1254
1259
|
}
|
|
1255
1260
|
declare const NewsList: FC<NewsListProps>;
|