@livetiles/reach-plugin-types 0.5.0-preview.409 → 0.5.0-preview.410
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 +169 -174
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -6582,77 +6582,6 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
6582
6582
|
onChannelClick?: (channel: string) => unknown;
|
|
6583
6583
|
}>;
|
|
6584
6584
|
}
|
|
6585
|
-
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
6586
|
-
import { FC } from 'react';
|
|
6587
|
-
interface BannerImageProps {
|
|
6588
|
-
children?: any;
|
|
6589
|
-
className?: string;
|
|
6590
|
-
imageUrl: string;
|
|
6591
|
-
openImageUrl?: string;
|
|
6592
|
-
altText?: string;
|
|
6593
|
-
}
|
|
6594
|
-
export const BannerImage: FC<BannerImageProps>;
|
|
6595
|
-
}
|
|
6596
|
-
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
6597
|
-
import { Observable } from 'rxjs';
|
|
6598
|
-
export type ImageVariant = 'original' | 'default';
|
|
6599
|
-
export interface ImageCreate {
|
|
6600
|
-
itemId: string;
|
|
6601
|
-
variant: ImageVariant;
|
|
6602
|
-
identifier: string;
|
|
6603
|
-
image: File;
|
|
6604
|
-
}
|
|
6605
|
-
export interface ImageMetaInfo {
|
|
6606
|
-
itemId: string;
|
|
6607
|
-
identifier: string;
|
|
6608
|
-
originalIdentifier?: string;
|
|
6609
|
-
extension: string;
|
|
6610
|
-
mimeType: string;
|
|
6611
|
-
}
|
|
6612
|
-
export interface ImageSaveEvent {
|
|
6613
|
-
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
6614
|
-
}
|
|
6615
|
-
}
|
|
6616
|
-
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
6617
|
-
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6618
|
-
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
6619
|
-
export function useImageEditorApi(): {
|
|
6620
|
-
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
6621
|
-
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
6622
|
-
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
6623
|
-
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
6624
|
-
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
6625
|
-
};
|
|
6626
|
-
}
|
|
6627
|
-
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
6628
|
-
import { FC } from 'react';
|
|
6629
|
-
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
6630
|
-
interface Props {
|
|
6631
|
-
itemId: string;
|
|
6632
|
-
bannerInfo: BannerInfo;
|
|
6633
|
-
useEditorRoutes?: boolean;
|
|
6634
|
-
width: number;
|
|
6635
|
-
resourceType: ItemResourceTypes;
|
|
6636
|
-
token?: string;
|
|
6637
|
-
canOpenImage?: boolean;
|
|
6638
|
-
onPlayButtonClick?: () => unknown;
|
|
6639
|
-
height?: number;
|
|
6640
|
-
hidePlayerIfActive?: boolean;
|
|
6641
|
-
className?: string;
|
|
6642
|
-
documentIconName?: string;
|
|
6643
|
-
}
|
|
6644
|
-
export const PublishableItemBanner: FC<Props>;
|
|
6645
|
-
}
|
|
6646
|
-
declare module "libs/reach/feature/content/src/events/list/EventCardBanner" {
|
|
6647
|
-
import { FC } from 'react';
|
|
6648
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
6649
|
-
export const EventCardBanner: FC<{
|
|
6650
|
-
item: EventItem;
|
|
6651
|
-
bannerWidth: number;
|
|
6652
|
-
bannerHostDefaultWidth?: number;
|
|
6653
|
-
showPlaceholder?: boolean;
|
|
6654
|
-
}>;
|
|
6655
|
-
}
|
|
6656
6585
|
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
6657
6586
|
import { FC } from 'react';
|
|
6658
6587
|
interface CountButtonProps {
|
|
@@ -6915,28 +6844,6 @@ declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModa
|
|
|
6915
6844
|
className?: string;
|
|
6916
6845
|
}>;
|
|
6917
6846
|
}
|
|
6918
|
-
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
6919
|
-
import { FC } from 'react';
|
|
6920
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
6921
|
-
interface StyleDefinition {
|
|
6922
|
-
backgroundColor?: string;
|
|
6923
|
-
noShadow?: boolean;
|
|
6924
|
-
channelsBackgroundColor?: string;
|
|
6925
|
-
bannerHostWidth?: number;
|
|
6926
|
-
showPlaceholderIfNoBannerInfo?: boolean;
|
|
6927
|
-
}
|
|
6928
|
-
export const EventCard: FC<{
|
|
6929
|
-
item: EventItem;
|
|
6930
|
-
language: string;
|
|
6931
|
-
targetUrl?: string;
|
|
6932
|
-
styleDefinition?: StyleDefinition;
|
|
6933
|
-
allowFilterByChannels?: boolean;
|
|
6934
|
-
showFeedbackButtons?: boolean;
|
|
6935
|
-
readOnly?: boolean;
|
|
6936
|
-
enableModalRouting?: boolean;
|
|
6937
|
-
className?: string;
|
|
6938
|
-
}>;
|
|
6939
|
-
}
|
|
6940
6847
|
declare module "libs/reach/feature/content/src/common/body/inline-file-list/InlineFileStyles" {
|
|
6941
6848
|
export const FileListHost: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
|
|
6942
6849
|
export const FileListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
|
|
@@ -7134,67 +7041,6 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7134
7041
|
icon?: string;
|
|
7135
7042
|
}>;
|
|
7136
7043
|
}
|
|
7137
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
7138
|
-
import { IBreadcrumbItem } from 'office-ui-fabric-react';
|
|
7139
|
-
import { MessageDescriptor } from 'react-intl';
|
|
7140
|
-
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7141
|
-
export function getBreadcrumbsItems(page: PageItem, target: string, handleOnClick: (e: React.MouseEvent<any>, item: IBreadcrumbItem) => unknown, getTitle: (page: PageItem | PageNavigationNode) => string, formatMessage: (descriptor: MessageDescriptor, values?: Record<string, any>) => string, hideCurrentPageNode?: boolean, hideHomeNode?: boolean): {
|
|
7142
|
-
breadcrumbItems: IBreadcrumbItem[];
|
|
7143
|
-
ancestors: {
|
|
7144
|
-
title: string;
|
|
7145
|
-
id: string;
|
|
7146
|
-
}[];
|
|
7147
|
-
parentNode: {
|
|
7148
|
-
title: string;
|
|
7149
|
-
id: string;
|
|
7150
|
-
};
|
|
7151
|
-
};
|
|
7152
|
-
}
|
|
7153
|
-
declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb" {
|
|
7154
|
-
import { FC } from 'react';
|
|
7155
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7156
|
-
export const ListItemBreadcrumb: FC<{
|
|
7157
|
-
page: PageItem;
|
|
7158
|
-
language?: string;
|
|
7159
|
-
className?: string;
|
|
7160
|
-
}>;
|
|
7161
|
-
}
|
|
7162
|
-
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
7163
|
-
import { FC, ReactNode } from 'react';
|
|
7164
|
-
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7165
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7166
|
-
interface StyleDefinition {
|
|
7167
|
-
backgroundColor?: string;
|
|
7168
|
-
bannerDefaultWidth: number;
|
|
7169
|
-
bannerFontSize?: number;
|
|
7170
|
-
applyRoundedCorners?: boolean;
|
|
7171
|
-
height?: number;
|
|
7172
|
-
titleFontSize?: number;
|
|
7173
|
-
titleMargin?: string;
|
|
7174
|
-
contentPadding?: string;
|
|
7175
|
-
}
|
|
7176
|
-
interface Props {
|
|
7177
|
-
item: PageItem;
|
|
7178
|
-
baseRoute: string;
|
|
7179
|
-
targetUrl?: string;
|
|
7180
|
-
layoutMode?: ItemTileLayoutMode;
|
|
7181
|
-
filterBaseUrl?: string;
|
|
7182
|
-
styleDefinition?: StyleDefinition;
|
|
7183
|
-
readOnly?: boolean;
|
|
7184
|
-
additionalMetadata?: ReactNode;
|
|
7185
|
-
buttons?: ReactNode;
|
|
7186
|
-
additionalContent?: ReactNode;
|
|
7187
|
-
showBannerPlaceholder?: boolean;
|
|
7188
|
-
showBreadcrumb?: boolean;
|
|
7189
|
-
showIntro?: boolean;
|
|
7190
|
-
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7191
|
-
onKeywordClick?: (keyword: string) => unknown;
|
|
7192
|
-
openTargetInNewWindow?: boolean;
|
|
7193
|
-
enableModalRouting?: boolean;
|
|
7194
|
-
className?: string;
|
|
7195
|
-
}
|
|
7196
|
-
export const PageItemTile: FC<Props>;
|
|
7197
|
-
}
|
|
7198
7044
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
7199
7045
|
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
7200
7046
|
import { IntlShape } from 'react-intl';
|
|
@@ -7221,7 +7067,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7221
7067
|
backgroundColor?: string;
|
|
7222
7068
|
noShadow?: boolean;
|
|
7223
7069
|
channelsBackgroundColor?: string;
|
|
7224
|
-
|
|
7070
|
+
bannerContainerDefaultWidth?: number;
|
|
7225
7071
|
showChannelsToTheRight?: boolean;
|
|
7226
7072
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7227
7073
|
}
|
|
@@ -7262,7 +7108,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7262
7108
|
backgroundColor?: string;
|
|
7263
7109
|
noShadow?: boolean;
|
|
7264
7110
|
channelsBackgroundColor?: string;
|
|
7265
|
-
|
|
7111
|
+
bannerContainerDefaultWidth?: number;
|
|
7266
7112
|
showChannelsToTheRight?: boolean;
|
|
7267
7113
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7268
7114
|
}
|
|
@@ -7286,6 +7132,172 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7286
7132
|
}
|
|
7287
7133
|
export const NewsItemTile: FC<Props>;
|
|
7288
7134
|
}
|
|
7135
|
+
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
7136
|
+
import { FC } from 'react';
|
|
7137
|
+
interface BannerImageProps {
|
|
7138
|
+
children?: any;
|
|
7139
|
+
className?: string;
|
|
7140
|
+
imageUrl: string;
|
|
7141
|
+
openImageUrl?: string;
|
|
7142
|
+
altText?: string;
|
|
7143
|
+
}
|
|
7144
|
+
export const BannerImage: FC<BannerImageProps>;
|
|
7145
|
+
}
|
|
7146
|
+
declare module "libs/reach/feature/content/src/common/banner/ImageDetail" {
|
|
7147
|
+
import { Observable } from 'rxjs';
|
|
7148
|
+
export type ImageVariant = 'original' | 'default';
|
|
7149
|
+
export interface ImageCreate {
|
|
7150
|
+
itemId: string;
|
|
7151
|
+
variant: ImageVariant;
|
|
7152
|
+
identifier: string;
|
|
7153
|
+
image: File;
|
|
7154
|
+
}
|
|
7155
|
+
export interface ImageMetaInfo {
|
|
7156
|
+
itemId: string;
|
|
7157
|
+
identifier: string;
|
|
7158
|
+
originalIdentifier?: string;
|
|
7159
|
+
extension: string;
|
|
7160
|
+
mimeType: string;
|
|
7161
|
+
}
|
|
7162
|
+
export interface ImageSaveEvent {
|
|
7163
|
+
(newImage: File, id: string, variant: ImageVariant): Observable<ImageMetaInfo>;
|
|
7164
|
+
}
|
|
7165
|
+
}
|
|
7166
|
+
declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi" {
|
|
7167
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7168
|
+
import { ImageCreate, ImageMetaInfo } from "libs/reach/feature/content/src/common/banner/ImageDetail";
|
|
7169
|
+
export function useImageEditorApi(): {
|
|
7170
|
+
getImageInfo: (itemId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<ImageMetaInfo>;
|
|
7171
|
+
getImageEditorUrl: (itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => Promise<string>;
|
|
7172
|
+
getOriginalImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes) => string;
|
|
7173
|
+
getImageEditorUrlWithToken: (token: string, itemId: string, subscriptionId: string, identifier: string, resourceType: ItemResourceTypes, width?: number, height?: number) => string;
|
|
7174
|
+
uploadImage: (subscriptionId: string, resourceType: ItemResourceTypes, newImage: ImageCreate) => Promise<ImageMetaInfo>;
|
|
7175
|
+
};
|
|
7176
|
+
}
|
|
7177
|
+
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
7178
|
+
import { FC } from 'react';
|
|
7179
|
+
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7180
|
+
interface Props {
|
|
7181
|
+
itemId: string;
|
|
7182
|
+
bannerInfo: BannerInfo;
|
|
7183
|
+
useEditorRoutes?: boolean;
|
|
7184
|
+
width: number;
|
|
7185
|
+
resourceType: ItemResourceTypes;
|
|
7186
|
+
token?: string;
|
|
7187
|
+
canOpenImage?: boolean;
|
|
7188
|
+
onPlayButtonClick?: () => unknown;
|
|
7189
|
+
height?: number;
|
|
7190
|
+
hidePlayerIfActive?: boolean;
|
|
7191
|
+
className?: string;
|
|
7192
|
+
documentIconName?: string;
|
|
7193
|
+
}
|
|
7194
|
+
export const PublishableItemBanner: FC<Props>;
|
|
7195
|
+
}
|
|
7196
|
+
declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
|
|
7197
|
+
export interface Size {
|
|
7198
|
+
width: number;
|
|
7199
|
+
height: number;
|
|
7200
|
+
}
|
|
7201
|
+
export function useContainerDimensions(): [Size, (node: any) => void];
|
|
7202
|
+
}
|
|
7203
|
+
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
7204
|
+
import { FC } from 'react';
|
|
7205
|
+
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
7206
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
7207
|
+
export const Banner: FC<{
|
|
7208
|
+
item: SchedulableItem;
|
|
7209
|
+
token: string;
|
|
7210
|
+
resourceType: ItemResourceTypes;
|
|
7211
|
+
layoutMode?: ItemTileLayoutMode;
|
|
7212
|
+
bannerContainerDefaultWidth?: number;
|
|
7213
|
+
bannerLeftWidth?: number;
|
|
7214
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7215
|
+
documentIconName?: string;
|
|
7216
|
+
}>;
|
|
7217
|
+
}
|
|
7218
|
+
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7219
|
+
import { FC } from 'react';
|
|
7220
|
+
import { EventItem } from "libs/reach/util/common/src/index";
|
|
7221
|
+
interface StyleDefinition {
|
|
7222
|
+
backgroundColor?: string;
|
|
7223
|
+
noShadow?: boolean;
|
|
7224
|
+
channelsBackgroundColor?: string;
|
|
7225
|
+
bannerHostWidth?: number;
|
|
7226
|
+
showPlaceholderIfNoBannerInfo?: boolean;
|
|
7227
|
+
}
|
|
7228
|
+
export const EventCard: FC<{
|
|
7229
|
+
item: EventItem;
|
|
7230
|
+
language: string;
|
|
7231
|
+
targetUrl?: string;
|
|
7232
|
+
styleDefinition?: StyleDefinition;
|
|
7233
|
+
allowFilterByChannels?: boolean;
|
|
7234
|
+
showFeedbackButtons?: boolean;
|
|
7235
|
+
readOnly?: boolean;
|
|
7236
|
+
enableModalRouting?: boolean;
|
|
7237
|
+
className?: string;
|
|
7238
|
+
}>;
|
|
7239
|
+
}
|
|
7240
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/utils" {
|
|
7241
|
+
import { IBreadcrumbItem } from 'office-ui-fabric-react';
|
|
7242
|
+
import { MessageDescriptor } from 'react-intl';
|
|
7243
|
+
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
7244
|
+
export function getBreadcrumbsItems(page: PageItem, target: string, handleOnClick: (e: React.MouseEvent<any>, item: IBreadcrumbItem) => unknown, getTitle: (page: PageItem | PageNavigationNode) => string, formatMessage: (descriptor: MessageDescriptor, values?: Record<string, any>) => string, hideCurrentPageNode?: boolean, hideHomeNode?: boolean): {
|
|
7245
|
+
breadcrumbItems: IBreadcrumbItem[];
|
|
7246
|
+
ancestors: {
|
|
7247
|
+
title: string;
|
|
7248
|
+
id: string;
|
|
7249
|
+
}[];
|
|
7250
|
+
parentNode: {
|
|
7251
|
+
title: string;
|
|
7252
|
+
id: string;
|
|
7253
|
+
};
|
|
7254
|
+
};
|
|
7255
|
+
}
|
|
7256
|
+
declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcrumb" {
|
|
7257
|
+
import { FC } from 'react';
|
|
7258
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7259
|
+
export const ListItemBreadcrumb: FC<{
|
|
7260
|
+
page: PageItem;
|
|
7261
|
+
language?: string;
|
|
7262
|
+
className?: string;
|
|
7263
|
+
}>;
|
|
7264
|
+
}
|
|
7265
|
+
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
7266
|
+
import { FC, ReactNode } from 'react';
|
|
7267
|
+
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7268
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7269
|
+
interface StyleDefinition {
|
|
7270
|
+
backgroundColor?: string;
|
|
7271
|
+
bannerContainerDefaultWidth: number;
|
|
7272
|
+
bannerFontSize?: number;
|
|
7273
|
+
applyRoundedCorners?: boolean;
|
|
7274
|
+
height?: number;
|
|
7275
|
+
titleFontSize?: number;
|
|
7276
|
+
titleMargin?: string;
|
|
7277
|
+
contentPadding?: string;
|
|
7278
|
+
}
|
|
7279
|
+
interface Props {
|
|
7280
|
+
item: PageItem;
|
|
7281
|
+
baseRoute: string;
|
|
7282
|
+
targetUrl?: string;
|
|
7283
|
+
layoutMode?: ItemTileLayoutMode;
|
|
7284
|
+
filterBaseUrl?: string;
|
|
7285
|
+
styleDefinition?: StyleDefinition;
|
|
7286
|
+
readOnly?: boolean;
|
|
7287
|
+
additionalMetadata?: ReactNode;
|
|
7288
|
+
buttons?: ReactNode;
|
|
7289
|
+
additionalContent?: ReactNode;
|
|
7290
|
+
showBannerPlaceholder?: boolean;
|
|
7291
|
+
showBreadcrumb?: boolean;
|
|
7292
|
+
showIntro?: boolean;
|
|
7293
|
+
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7294
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7295
|
+
openTargetInNewWindow?: boolean;
|
|
7296
|
+
enableModalRouting?: boolean;
|
|
7297
|
+
className?: string;
|
|
7298
|
+
}
|
|
7299
|
+
export const PageItemTile: FC<Props>;
|
|
7300
|
+
}
|
|
7289
7301
|
declare module "libs/reach/feature/content/src/pages/DocumentDownloadButton" {
|
|
7290
7302
|
import { FC, MouseEvent } from 'react';
|
|
7291
7303
|
import { PageItem, PageNavigationNode } from "libs/reach/util/common/src/index";
|
|
@@ -8114,7 +8126,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EventItemTile" {
|
|
|
8114
8126
|
backgroundColor?: string;
|
|
8115
8127
|
noShadow?: boolean;
|
|
8116
8128
|
channelsBackgroundColor?: string;
|
|
8117
|
-
|
|
8129
|
+
bannerContainerDefaultWidth?: number;
|
|
8118
8130
|
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8119
8131
|
}
|
|
8120
8132
|
interface Props {
|
|
@@ -8970,23 +8982,6 @@ declare module "libs/reach/feature/content/src/common/detail/pages/DetailViewPag
|
|
|
8970
8982
|
basePath?: string;
|
|
8971
8983
|
}>;
|
|
8972
8984
|
}
|
|
8973
|
-
declare module "libs/reach/feature/content/src/common/useContainerDimensions" {
|
|
8974
|
-
export function useContainerDimensions(): [number, (node: any) => void];
|
|
8975
|
-
}
|
|
8976
|
-
declare module "libs/reach/feature/content/src/common/banner/Banner" {
|
|
8977
|
-
import { FC } from 'react';
|
|
8978
|
-
import { ItemResourceTypes, SchedulableItem } from "libs/reach/util/common/src/index";
|
|
8979
|
-
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/common/item-tile/NewsItemTile";
|
|
8980
|
-
export const Banner: FC<{
|
|
8981
|
-
item: SchedulableItem;
|
|
8982
|
-
token: string;
|
|
8983
|
-
resourceType: ItemResourceTypes;
|
|
8984
|
-
layoutMode?: ItemTileLayoutMode;
|
|
8985
|
-
bannerDefaultWidth?: number;
|
|
8986
|
-
showPlaceholderIfNoBannerInfo?: boolean;
|
|
8987
|
-
documentIconName?: string;
|
|
8988
|
-
}>;
|
|
8989
|
-
}
|
|
8990
8985
|
declare module "libs/reach/feature/content/src/common/language-selector/LanguageSelector" {
|
|
8991
8986
|
import { FC } from 'react';
|
|
8992
8987
|
interface LanguageSelectorProps {
|