@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/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
- value?: EventView;
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
- onItemClick?: (item: NewsItem, itemUrl?: string, isTitleClicked?: boolean) => unknown;
1348
- width?: number | string;
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