@livetiles/reach-plugin-types 0.4.0-preview.732 → 0.4.0-preview.735
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/lib/index.d.ts +16 -10
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5195,7 +5195,6 @@ declare module "apps/reach-app/src/app/admin/customization/Favicon" {
|
|
|
5195
5195
|
}
|
|
5196
5196
|
declare module "apps/reach-app/src/app/admin/customization/Customization" {
|
|
5197
5197
|
import { FC } from 'react';
|
|
5198
|
-
import './Customization.scss';
|
|
5199
5198
|
export const Customization: FC;
|
|
5200
5199
|
}
|
|
5201
5200
|
declare module "apps/reach-app/src/app/admin/languages/LanguageDialog" {
|
|
@@ -7241,15 +7240,6 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7241
7240
|
static getUserPreferredLanguage(languages: string[], user: CurrentUser): string;
|
|
7242
7241
|
}
|
|
7243
7242
|
}
|
|
7244
|
-
declare module "libs/reach/feature/content/src/common/TargetLinkOverrideContext" {
|
|
7245
|
-
import { FC } from 'react';
|
|
7246
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7247
|
-
interface TargetLinkOverrideContextProps {
|
|
7248
|
-
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
7249
|
-
}
|
|
7250
|
-
export const TargetLinkOverrideContext: import("react").Context<TargetLinkOverrideContextProps>;
|
|
7251
|
-
export const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
7252
|
-
}
|
|
7253
7243
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7254
7244
|
import { FC, MouseEvent } from 'react';
|
|
7255
7245
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
@@ -7257,6 +7247,7 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7257
7247
|
itemId: string;
|
|
7258
7248
|
itemType: ItemResourceTypes;
|
|
7259
7249
|
baseRoute: string;
|
|
7250
|
+
targetUrl?: string;
|
|
7260
7251
|
title?: string;
|
|
7261
7252
|
ariaLabelResourceKey?: string;
|
|
7262
7253
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
@@ -7269,6 +7260,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7269
7260
|
import { Post } from "libs/reach/feature/content/src/posts/utils";
|
|
7270
7261
|
export const PostItemTile: FC<{
|
|
7271
7262
|
post: Post;
|
|
7263
|
+
targetUrl?: string;
|
|
7272
7264
|
readOnly?: boolean;
|
|
7273
7265
|
backgroundColor?: string;
|
|
7274
7266
|
className?: string;
|
|
@@ -7710,6 +7702,7 @@ declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
|
7710
7702
|
export const EventCard: FC<{
|
|
7711
7703
|
item: EventItem;
|
|
7712
7704
|
language: string;
|
|
7705
|
+
targetUrl?: string;
|
|
7713
7706
|
styleDefinition?: StyleDefinition;
|
|
7714
7707
|
allowFilterByChannels?: boolean;
|
|
7715
7708
|
showFeedbackButtons?: boolean;
|
|
@@ -7949,6 +7942,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7949
7942
|
interface Props {
|
|
7950
7943
|
item: PageItem;
|
|
7951
7944
|
baseRoute: string;
|
|
7945
|
+
targetUrl?: string;
|
|
7952
7946
|
filterBaseUrl?: string;
|
|
7953
7947
|
styleDefinition?: StyleDefinition;
|
|
7954
7948
|
readOnly?: boolean;
|
|
@@ -7997,6 +7991,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7997
7991
|
baseRoute: string;
|
|
7998
7992
|
itemResourceType: ItemResourceTypes;
|
|
7999
7993
|
content: ReactNode;
|
|
7994
|
+
targetUrl?: string;
|
|
8000
7995
|
layoutMode?: ItemTileLayoutMode;
|
|
8001
7996
|
openTargetInNewWindow?: boolean;
|
|
8002
7997
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
@@ -8006,6 +8001,16 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
8006
8001
|
}
|
|
8007
8002
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
8008
8003
|
}
|
|
8004
|
+
declare module "libs/reach/feature/content/src/common/TargetLinkOverrideContext" {
|
|
8005
|
+
import { FC } from 'react';
|
|
8006
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
8007
|
+
interface TargetLinkOverrideContextProps {
|
|
8008
|
+
onResolveContentTargetUrl: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
8009
|
+
onResolveEmbeddedContentTargetUrl?: (itemId: string, itemType: ItemResourceTypes) => string;
|
|
8010
|
+
}
|
|
8011
|
+
export const TargetLinkOverrideContext: import("react").Context<TargetLinkOverrideContextProps>;
|
|
8012
|
+
export const TargetLinkOverrideContextProvider: FC<TargetLinkOverrideContextProps>;
|
|
8013
|
+
}
|
|
8009
8014
|
declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
8010
8015
|
import { FC, ReactNode } from 'react';
|
|
8011
8016
|
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
@@ -8024,6 +8029,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8024
8029
|
interface Props {
|
|
8025
8030
|
item: NewsItem;
|
|
8026
8031
|
baseRoute: string;
|
|
8032
|
+
targetUrl?: string;
|
|
8027
8033
|
layoutMode?: ItemTileLayoutMode;
|
|
8028
8034
|
filterBaseUrl?: string;
|
|
8029
8035
|
dateLabelResourceKey?: string;
|