@livetiles/reach-components-react 0.4.128 → 0.4.130
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/NewsHero.d.ts +6 -5
- package/PostListContextProvider.d.ts +12 -11
- package/common/hero/Hero.d.ts +9 -8
- package/common/hero/HeroSlide.d.ts +5 -2
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +6 -5
- package/index.esm2.js +3 -3
- package/index.umd.js +51 -51
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1341,18 +1341,19 @@ interface NewsHeroFilterProps {
|
|
|
1341
1341
|
pageSize?: number;
|
|
1342
1342
|
}
|
|
1343
1343
|
interface NewsHeroProps {
|
|
1344
|
-
filter?: NewsHeroFilterProps;
|
|
1345
|
-
disableAutoplay?: boolean;
|
|
1346
1344
|
autoplayInterval?: number;
|
|
1347
|
-
|
|
1348
|
-
|
|
1345
|
+
disableAutoplay?: boolean;
|
|
1346
|
+
filter?: NewsHeroFilterProps;
|
|
1349
1347
|
height?: number | string;
|
|
1350
1348
|
includeAllItems?: boolean;
|
|
1349
|
+
isHighContrast?: boolean;
|
|
1351
1350
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1351
|
+
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1352
1352
|
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1353
|
-
showKeywords?: boolean;
|
|
1354
1353
|
onViewAllButtonClick?: (e: MouseEvent<unknown>) => void;
|
|
1355
1354
|
pagingType?: HeroPagingType;
|
|
1355
|
+
showKeywords?: boolean;
|
|
1356
|
+
width?: number | string;
|
|
1356
1357
|
}
|
|
1357
1358
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1358
1359
|
|