@livetiles/reach-components-react 0.4.129 → 0.4.131
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/da.async.esm2.esm.js +1 -1
- package/de.async.esm2.esm.js +1 -1
- package/en.async.esm.esm.js +1 -1
- package/es.async.esm2.esm.js +1 -1
- package/fr.async.esm2.esm.js +1 -1
- package/index.d.ts +11 -6
- package/index.esm2.js +4 -4
- package/index.umd.js +52 -52
- package/it.async.esm2.esm.js +1 -1
- package/ja.async.esm2.esm.js +1 -1
- package/package.json +1 -1
- package/tr.async.esm2.esm.js +1 -1
- package/zh-CN.async.esm2.esm.js +1 -1
- package/zh-TW.async.esm2.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -960,11 +960,15 @@ declare const ToolbarCloseButton: FC<ToolbarCloseButtonProps>;
|
|
|
960
960
|
declare enum EventView {
|
|
961
961
|
UpcomingEvents = "upcoming",
|
|
962
962
|
MyBookedEvents = "booked",
|
|
963
|
+
UnregisteredEvents = "unregistered",
|
|
963
964
|
PastEvents = "past"
|
|
964
965
|
}
|
|
965
966
|
interface ToolbarEventViewSelectorProps {
|
|
966
|
-
|
|
967
|
+
extraViewOptions?: {
|
|
968
|
+
showUnregisteredEventsView?: boolean;
|
|
969
|
+
};
|
|
967
970
|
onChange?: (view: EventView) => void;
|
|
971
|
+
value?: EventView;
|
|
968
972
|
viewOptions?: {
|
|
969
973
|
hideUpcomingEventsView?: boolean;
|
|
970
974
|
hideMyBookedEventsView?: boolean;
|
|
@@ -1341,18 +1345,19 @@ interface NewsHeroFilterProps {
|
|
|
1341
1345
|
pageSize?: number;
|
|
1342
1346
|
}
|
|
1343
1347
|
interface NewsHeroProps {
|
|
1344
|
-
filter?: NewsHeroFilterProps;
|
|
1345
|
-
disableAutoplay?: boolean;
|
|
1346
1348
|
autoplayInterval?: number;
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
+
disableAutoplay?: boolean;
|
|
1350
|
+
filter?: NewsHeroFilterProps;
|
|
1349
1351
|
height?: number | string;
|
|
1350
1352
|
includeAllItems?: boolean;
|
|
1353
|
+
isHighContrast?: boolean;
|
|
1351
1354
|
onChannelClick?: (channelName: string, channelItem?: Channel) => unknown;
|
|
1355
|
+
onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
|
|
1352
1356
|
onKeywordClick?: (keywordId: string, keywordItem?: Keyword) => unknown;
|
|
1353
|
-
showKeywords?: boolean;
|
|
1354
1357
|
onViewAllButtonClick?: (e: MouseEvent<unknown>) => void;
|
|
1355
1358
|
pagingType?: HeroPagingType;
|
|
1359
|
+
showKeywords?: boolean;
|
|
1360
|
+
width?: number | string;
|
|
1356
1361
|
}
|
|
1357
1362
|
declare const NewsHero: FC<NewsHeroProps>;
|
|
1358
1363
|
|