@livetiles/reach-plugin-types 0.4.0-preview.350 → 0.4.0-preview.354

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +7 -0
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -3604,8 +3604,10 @@ declare module "libs/reach/ui/common/src/common/KeywordTitle" {
3604
3604
  groupName?: string;
3605
3605
  groupId?: string;
3606
3606
  keywordName?: string;
3607
+ keywordId?: string;
3607
3608
  language?: string;
3608
3609
  underlined?: boolean;
3610
+ onClick?: (keyword: string) => unknown;
3609
3611
  }
3610
3612
  export const KeywordTitle: FC<Props>;
3611
3613
  export const GridKeywordTitle: FC<{
@@ -3916,6 +3918,7 @@ declare module "libs/reach/ui/common/src/common/channels/ChannelList" {
3916
3918
  language: string;
3917
3919
  channelStyleDefinition?: ChannelStyleDefinition;
3918
3920
  visibleChannelsCount?: number;
3921
+ onChannelClick?: (channel: string) => unknown;
3919
3922
  className?: string;
3920
3923
  }>;
3921
3924
  }
@@ -3947,6 +3950,7 @@ declare module "libs/reach/ui/common/src/common/channels/ClickableChannelTitles"
3947
3950
  buildChannelFilterUrl?: (channelName: string) => string;
3948
3951
  language?: string;
3949
3952
  channelBackgroundColor?: string;
3953
+ onClick?: (channel: string) => unknown;
3950
3954
  className?: string;
3951
3955
  }>;
3952
3956
  }
@@ -6952,6 +6956,7 @@ declare module "libs/reach/feature/content/src/common/keywords/KeywordsInfo" {
6952
6956
  filterBaseUrl?: string;
6953
6957
  className?: string;
6954
6958
  useGridKeywordTitle?: boolean;
6959
+ onClick?: (keyword: string) => unknown;
6955
6960
  }>, import("styled-components").DefaultTheme, {}, never>;
6956
6961
  }
6957
6962
  declare module "libs/reach/feature/content/src/news/NewsService" {
@@ -7698,6 +7703,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
7698
7703
  buttons?: ReactNode;
7699
7704
  openTargetInNewWindow?: boolean;
7700
7705
  onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
7706
+ onChannelClick?: (channel: string) => unknown;
7707
+ onKeywordClick?: (keyword: string) => unknown;
7701
7708
  styleDefinition?: StyleDefinition;
7702
7709
  readOnly?: boolean;
7703
7710
  className?: string;
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.350",
7
+ "version": "0.4.0-preview.354",
8
8
  "dependencies": {}
9
9
  }