@livetiles/reach-plugin-types 0.4.0-preview.464 → 0.4.0-preview.468
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 +44 -11
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3081,6 +3081,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3081
3081
|
export const cardWidthM = 354;
|
|
3082
3082
|
export const cardWidthL = 314;
|
|
3083
3083
|
export const cardWidthXL = 423;
|
|
3084
|
+
export const managePagesRowWidth = 300;
|
|
3084
3085
|
}
|
|
3085
3086
|
declare module "libs/reach/util/common/src/notification/NotificationContext" {
|
|
3086
3087
|
import { FC, ReactNode } from 'react';
|
|
@@ -7842,9 +7843,35 @@ declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
|
7842
7843
|
tooltipText: string;
|
|
7843
7844
|
};
|
|
7844
7845
|
}
|
|
7846
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemTileWrapper" {
|
|
7847
|
+
import { FC, MouseEvent, ReactNode } from 'react';
|
|
7848
|
+
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
7849
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7850
|
+
interface StyleDefinition {
|
|
7851
|
+
backgroundColor?: string;
|
|
7852
|
+
noShadow?: boolean;
|
|
7853
|
+
channelsBackgroundColor?: string;
|
|
7854
|
+
bannerDefaultWidth?: number;
|
|
7855
|
+
showChannelsToTheRight?: boolean;
|
|
7856
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7857
|
+
}
|
|
7858
|
+
interface Props {
|
|
7859
|
+
item: PublishableItem;
|
|
7860
|
+
baseRoute: string;
|
|
7861
|
+
itemResourceType: ItemResourceTypes;
|
|
7862
|
+
content: ReactNode;
|
|
7863
|
+
layoutMode?: ItemTileLayoutMode;
|
|
7864
|
+
openTargetInNewWindow?: boolean;
|
|
7865
|
+
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7866
|
+
styleDefinition?: StyleDefinition;
|
|
7867
|
+
readOnly?: boolean;
|
|
7868
|
+
className?: string;
|
|
7869
|
+
}
|
|
7870
|
+
export const PublishableItemTileWrapper: FC<Props>;
|
|
7871
|
+
}
|
|
7845
7872
|
declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
7846
7873
|
import { FC, ReactNode } from 'react';
|
|
7847
|
-
import {
|
|
7874
|
+
import { NewsItem } from "libs/reach/util/common/src/index";
|
|
7848
7875
|
export enum ItemTileLayoutMode {
|
|
7849
7876
|
BannerTopMode = "bannerTop",
|
|
7850
7877
|
BannerLeftMode = "bannerLeft"
|
|
@@ -7873,14 +7900,6 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7873
7900
|
className?: string;
|
|
7874
7901
|
}
|
|
7875
7902
|
export const NewsItemTile: FC<Props>;
|
|
7876
|
-
export const Banner: FC<{
|
|
7877
|
-
item: SchedulableItem;
|
|
7878
|
-
token: string;
|
|
7879
|
-
resourceType: ItemResourceTypes;
|
|
7880
|
-
layoutMode?: ItemTileLayoutMode;
|
|
7881
|
-
bannerDefaultWidth?: number;
|
|
7882
|
-
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7883
|
-
}>;
|
|
7884
7903
|
}
|
|
7885
7904
|
declare module "libs/reach/feature/content/src/pages/DocumentDownloadButton" {
|
|
7886
7905
|
import { FC, MouseEvent } from 'react';
|
|
@@ -8622,7 +8641,7 @@ declare module "libs/reach/feature/content/src/news/index" {
|
|
|
8622
8641
|
export * from "libs/reach/feature/content/src/news/useTranslateApi";
|
|
8623
8642
|
}
|
|
8624
8643
|
declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
8625
|
-
import { FC, ReactNode } from 'react';
|
|
8644
|
+
import { FC, MouseEvent, ReactNode } from 'react';
|
|
8626
8645
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8627
8646
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8628
8647
|
interface StyleDefinition {
|
|
@@ -8638,7 +8657,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
8638
8657
|
layoutMode?: ItemTileLayoutMode;
|
|
8639
8658
|
buttons?: ReactNode;
|
|
8640
8659
|
openTargetInNewWindow?: boolean;
|
|
8641
|
-
onClick?: (event:
|
|
8660
|
+
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
8642
8661
|
onChannelClick?: (channel: string) => unknown;
|
|
8643
8662
|
styleDefinition?: StyleDefinition;
|
|
8644
8663
|
className?: string;
|
|
@@ -9381,6 +9400,19 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
9381
9400
|
basePath?: string;
|
|
9382
9401
|
}>;
|
|
9383
9402
|
}
|
|
9403
|
+
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
9404
|
+
import { FC } from 'react';
|
|
9405
|
+
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
9406
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
9407
|
+
export const Banner: FC<{
|
|
9408
|
+
item: SchedulableItem;
|
|
9409
|
+
token: string;
|
|
9410
|
+
resourceType: ItemResourceTypes;
|
|
9411
|
+
layoutMode?: ItemTileLayoutMode;
|
|
9412
|
+
bannerDefaultWidth?: number;
|
|
9413
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
9414
|
+
}>;
|
|
9415
|
+
}
|
|
9384
9416
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
9385
9417
|
import { FC } from 'react';
|
|
9386
9418
|
interface LanguageSelectorProps {
|
|
@@ -9586,6 +9618,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9586
9618
|
export * from "libs/reach/feature/content/src/common/breadcrumb/PageBreadcrumb";
|
|
9587
9619
|
export * from "libs/reach/feature/content/src/common/detail/pages/DetailViewPageDocumentDownload";
|
|
9588
9620
|
export * from "libs/reach/feature/content/src/common/banner/PublishableItemBanner";
|
|
9621
|
+
export * from "libs/reach/feature/content/src/common/banner/Banner";
|
|
9589
9622
|
export * from "libs/reach/feature/content/src/common/cards/ClickableOverlay";
|
|
9590
9623
|
export * from "libs/reach/feature/content/src/common/cards/Card";
|
|
9591
9624
|
export * from "libs/reach/feature/content/src/common/language-selector/LanguageSelector";
|