@livetiles/reach-plugin-types 0.5.0-preview.32 → 0.5.0-preview.35
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 +124 -29
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3099,7 +3099,7 @@ declare module "libs/reach/util/common/src/Variables" {
|
|
|
3099
3099
|
export const videoAttachmentRoundedCornerSize = 20;
|
|
3100
3100
|
export const inlinePageBannerRoundedCornerSize = 5;
|
|
3101
3101
|
export const feedbackButtonHeight = 32;
|
|
3102
|
-
export const mainScrollableContainerSelector = "lt-reach-main-content";
|
|
3102
|
+
export const mainScrollableContainerSelector = "[data-lt-reach-main-content=\"true\"]";
|
|
3103
3103
|
export const statusColors: {
|
|
3104
3104
|
draft: string;
|
|
3105
3105
|
ready: string;
|
|
@@ -3265,6 +3265,35 @@ declare module "libs/reach/util/common/src/ForbiddenErrorTriggerAction" {
|
|
|
3265
3265
|
static create(): GenericAccessDeniedTriggerAction;
|
|
3266
3266
|
}
|
|
3267
3267
|
}
|
|
3268
|
+
declare module "libs/reach/util/common/src/useModalRouting" {
|
|
3269
|
+
export interface ModalRouting {
|
|
3270
|
+
isActive: boolean;
|
|
3271
|
+
itemId: string;
|
|
3272
|
+
backgroundLocation: any;
|
|
3273
|
+
}
|
|
3274
|
+
export function useModalRouting(): {
|
|
3275
|
+
isModalRoutingActive: boolean;
|
|
3276
|
+
modalItemId: string;
|
|
3277
|
+
backgroundLocation: any;
|
|
3278
|
+
};
|
|
3279
|
+
export function useModalRoutingSettings(): (itemId: string) => {
|
|
3280
|
+
modalRouting: {
|
|
3281
|
+
isActive: boolean;
|
|
3282
|
+
itemId: string;
|
|
3283
|
+
backgroundLocation: {
|
|
3284
|
+
state: {
|
|
3285
|
+
modalRouting: {
|
|
3286
|
+
isActive: boolean;
|
|
3287
|
+
};
|
|
3288
|
+
};
|
|
3289
|
+
pathname: string;
|
|
3290
|
+
search: string;
|
|
3291
|
+
hash: string;
|
|
3292
|
+
key?: string;
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3295
|
+
};
|
|
3296
|
+
}
|
|
3268
3297
|
declare module "libs/reach/util/common/src/index" {
|
|
3269
3298
|
export { initializeIcons } from 'office-ui-fabric-react';
|
|
3270
3299
|
export * from "libs/reach/util/common/src/FocusStyles";
|
|
@@ -3292,6 +3321,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3292
3321
|
export * from "libs/reach/util/common/src/useBaseRoute";
|
|
3293
3322
|
export * from "libs/reach/util/common/src/ForbiddenErrorTriggerAction";
|
|
3294
3323
|
export * from "libs/reach/util/common/src/AccessDeniedIntercept";
|
|
3324
|
+
export * from "libs/reach/util/common/src/useModalRouting";
|
|
3295
3325
|
}
|
|
3296
3326
|
declare module "libs/reach/ui/common/src/Link" {
|
|
3297
3327
|
import { Link as RouterLink } from 'react-router-dom';
|
|
@@ -3717,6 +3747,7 @@ declare module "libs/reach/ui/common/src/common/UiUtils" {
|
|
|
3717
3747
|
export function getFileIcon(filename: string): string;
|
|
3718
3748
|
export function getIconColor(fileIcon: string): "#1C5FC0" | "#138147" | "#CA4B27" | "#1C5FBF" | "#CF1700" | "#000";
|
|
3719
3749
|
export function getFileIconByExtension(extension: string): "Page" | "Video" | "MusicInCollectionFill" | "VisioDocument" | "ZipFolder" | "PDF" | "WordDocument" | "ExcelDocument" | "PowerPointDocument" | "FileImage";
|
|
3750
|
+
export function getMainScrollableContainer(): HTMLElement;
|
|
3720
3751
|
}
|
|
3721
3752
|
declare module "libs/reach/ui/common/src/common/useFileAccessTokenApi" {
|
|
3722
3753
|
export function useFileAccessTokenApi(): {
|
|
@@ -4026,7 +4057,7 @@ declare module "libs/reach/ui/common/src/common/ToggleWithLabel" {
|
|
|
4026
4057
|
export const ToggleWithLabel: FC<IToggleProps>;
|
|
4027
4058
|
}
|
|
4028
4059
|
declare module "libs/reach/ui/common/src/common/UnreadCommentHighlight" {
|
|
4029
|
-
export const unreadCommentHighlight: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4060
|
+
export const unreadCommentHighlight: (top?: string) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4030
4061
|
}
|
|
4031
4062
|
declare module "libs/reach/ui/common/src/common/UserUtility" {
|
|
4032
4063
|
import { CurrentUser, UserGroup } from "libs/reach/util/common/src/index";
|
|
@@ -4981,8 +5012,9 @@ declare module "apps/reach-app/src/app/SkipLinksContext" {
|
|
|
4981
5012
|
export const SkipLinksContextProvider: FC;
|
|
4982
5013
|
}
|
|
4983
5014
|
declare module "apps/reach-app/src/app/useAddSkipLinks" {
|
|
5015
|
+
import { DependencyList } from 'react';
|
|
4984
5016
|
import { SkipLink } from "apps/reach-app/src/app/SkipLinksContext";
|
|
4985
|
-
export function useAddSkipLinks(
|
|
5017
|
+
export function useAddSkipLinks(skipLinks: SkipLink[], deps?: DependencyList): void;
|
|
4986
5018
|
}
|
|
4987
5019
|
declare module "apps/reach-app/src/app/chrome/MainContentPanel" {
|
|
4988
5020
|
import { FC } from 'react';
|
|
@@ -5033,6 +5065,8 @@ declare module "apps/reach-app/src/app/chrome/BasicPage" {
|
|
|
5033
5065
|
closeButtonOptions?: CloseButtonOptions;
|
|
5034
5066
|
showSearchBox?: boolean;
|
|
5035
5067
|
disableScrollableContainerFocus?: boolean;
|
|
5068
|
+
asModal?: boolean;
|
|
5069
|
+
domIdentifier?: string;
|
|
5036
5070
|
}
|
|
5037
5071
|
export const BasicPage: FC<Props>;
|
|
5038
5072
|
}
|
|
@@ -6400,29 +6434,28 @@ declare module "libs/reach/feature/content/src/forms/NeutralCheckbox" {
|
|
|
6400
6434
|
}
|
|
6401
6435
|
declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
6402
6436
|
import { AppTriggerAction, EventResponse, ForbiddenErrorTriggerAction } from "libs/reach/util/common/src/index";
|
|
6403
|
-
export class
|
|
6437
|
+
export class EventOnBehalfOfResponseTriggerAction implements AppTriggerAction {
|
|
6404
6438
|
static type: string;
|
|
6405
6439
|
type: string;
|
|
6406
6440
|
itemId: string;
|
|
6407
6441
|
response: EventResponse;
|
|
6408
6442
|
locationId: string;
|
|
6409
6443
|
onBehalfOfUpn: string;
|
|
6410
|
-
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string):
|
|
6444
|
+
static create(itemId: string, response: EventResponse, locationId: string, onBehalfOfUpn?: string): EventOnBehalfOfResponseTriggerAction;
|
|
6411
6445
|
}
|
|
6412
|
-
export class
|
|
6446
|
+
export class EventResponseTriggerAction implements AppTriggerAction {
|
|
6413
6447
|
static type: string;
|
|
6414
6448
|
type: string;
|
|
6415
|
-
|
|
6449
|
+
itemId: string;
|
|
6416
6450
|
response: EventResponse;
|
|
6417
|
-
static create(
|
|
6451
|
+
static create(itemId: string, response: EventResponse): EventResponseTriggerAction;
|
|
6418
6452
|
}
|
|
6419
|
-
export class
|
|
6453
|
+
export class RegisterFullSeriesTriggerAction implements AppTriggerAction {
|
|
6420
6454
|
static type: string;
|
|
6421
6455
|
type: string;
|
|
6422
6456
|
recurrenceSeriesId: string;
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
static create(recurrenceSeriesId: string, itemId: string, isLiked: boolean): LikeFullSeriesTriggerAction;
|
|
6457
|
+
response: EventResponse;
|
|
6458
|
+
static create(recurrenceSeriesId: string, response: EventResponse): RegisterFullSeriesTriggerAction;
|
|
6426
6459
|
}
|
|
6427
6460
|
export class FollowCommentsTriggerAction implements AppTriggerAction {
|
|
6428
6461
|
static type: string;
|
|
@@ -6437,6 +6470,14 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6437
6470
|
followByDefault: boolean;
|
|
6438
6471
|
static create(followState: boolean): AutoFollowPostsTriggerAction;
|
|
6439
6472
|
}
|
|
6473
|
+
export class AutoLikeItemTriggerAction implements AppTriggerAction {
|
|
6474
|
+
static type: string;
|
|
6475
|
+
type: string;
|
|
6476
|
+
recurrenceSeriesId: string;
|
|
6477
|
+
isLiked: boolean;
|
|
6478
|
+
likeCount: number;
|
|
6479
|
+
static create(recurrenceSeriesId: string, isLiked: boolean, likeCount: number): AutoLikeItemTriggerAction;
|
|
6480
|
+
}
|
|
6440
6481
|
export class DeletedItemsTriggerAction implements AppTriggerAction {
|
|
6441
6482
|
static type: string;
|
|
6442
6483
|
type: string;
|
|
@@ -6457,6 +6498,12 @@ declare module "libs/reach/feature/content/src/common/AppTriggerActions" {
|
|
|
6457
6498
|
type: string;
|
|
6458
6499
|
static create(): StreamMarkAllAsReadAction;
|
|
6459
6500
|
}
|
|
6501
|
+
export class RefetchItemAction implements AppTriggerAction {
|
|
6502
|
+
static type: string;
|
|
6503
|
+
type: string;
|
|
6504
|
+
itemId: string;
|
|
6505
|
+
static create(itemId: string): RefetchItemAction;
|
|
6506
|
+
}
|
|
6460
6507
|
}
|
|
6461
6508
|
declare module "libs/reach/feature/content/src/comments/CommentFilter" {
|
|
6462
6509
|
export interface CommentFilter {
|
|
@@ -6616,7 +6663,7 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6616
6663
|
import { SourceFilterDefinition } from "libs/reach/feature/content/src/filter/SourceFilterDefinition";
|
|
6617
6664
|
import { KeywordsFilterDefinition } from "libs/reach/feature/content/src/filter/KeywordsFilterDefinition";
|
|
6618
6665
|
import { BeforePublishingDateFilterDefinition } from "libs/reach/feature/content/src/filter/BeforePublishingDateFilterDefinition";
|
|
6619
|
-
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition {
|
|
6666
|
+
export interface PublishableItemFilterDefinition extends IndexableFilterDefinition, BaseFilterDefinition, BeforePublishingDateFilterDefinition, OwnerFilterDefinition, SourceFilterDefinition, KeywordsFilterDefinition, ItemIdsFilterDefinition {
|
|
6620
6667
|
}
|
|
6621
6668
|
export interface BaseFilterDefinition {
|
|
6622
6669
|
search?: string;
|
|
@@ -6624,6 +6671,9 @@ declare module "libs/reach/feature/content/src/filter/BaseFilterDefinition" {
|
|
|
6624
6671
|
pageSize?: string | number;
|
|
6625
6672
|
groupId?: string;
|
|
6626
6673
|
}
|
|
6674
|
+
export interface ItemIdsFilterDefinition {
|
|
6675
|
+
itemIds?: string;
|
|
6676
|
+
}
|
|
6627
6677
|
export interface IndexableFilterDefinition {
|
|
6628
6678
|
[key: string]: any;
|
|
6629
6679
|
}
|
|
@@ -7111,6 +7161,7 @@ declare module "libs/reach/feature/content/src/news/NewsService" {
|
|
|
7111
7161
|
declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
7112
7162
|
import { FC, MouseEvent } from 'react';
|
|
7113
7163
|
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7164
|
+
import { LocationState } from 'history';
|
|
7114
7165
|
export const ClickableOverlay: FC<{
|
|
7115
7166
|
itemId: string;
|
|
7116
7167
|
itemType: ItemResourceTypes;
|
|
@@ -7121,6 +7172,19 @@ declare module "libs/reach/feature/content/src/common/cards/ClickableOverlay" {
|
|
|
7121
7172
|
onClick?: (event: MouseEvent<unknown>) => unknown;
|
|
7122
7173
|
openTargetInNewWindow?: boolean;
|
|
7123
7174
|
isExternalContent?: boolean;
|
|
7175
|
+
locationState?: LocationState;
|
|
7176
|
+
}>;
|
|
7177
|
+
}
|
|
7178
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/ClickableOverlayWithModalRouting" {
|
|
7179
|
+
import { ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7180
|
+
import { FC } from 'react';
|
|
7181
|
+
export const ClickableOverlayWithModalRouting: FC<{
|
|
7182
|
+
itemId: string;
|
|
7183
|
+
itemType: ItemResourceTypes;
|
|
7184
|
+
baseRoute: string;
|
|
7185
|
+
title?: string;
|
|
7186
|
+
isExternalContent?: boolean;
|
|
7187
|
+
targetUrl?: string;
|
|
7124
7188
|
}>;
|
|
7125
7189
|
}
|
|
7126
7190
|
declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
@@ -7131,6 +7195,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PostItemTile" {
|
|
|
7131
7195
|
targetUrl?: string;
|
|
7132
7196
|
readOnly?: boolean;
|
|
7133
7197
|
backgroundColor?: string;
|
|
7198
|
+
enableModalRouting?: boolean;
|
|
7134
7199
|
className?: string;
|
|
7135
7200
|
}>;
|
|
7136
7201
|
}
|
|
@@ -7465,10 +7530,12 @@ declare module "libs/reach/feature/content/src/common/detail/events/useEventRegi
|
|
|
7465
7530
|
}
|
|
7466
7531
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventUserRegistration" {
|
|
7467
7532
|
import { FC } from 'react';
|
|
7533
|
+
import { EventResponse } from "libs/reach/util/common/src/index";
|
|
7468
7534
|
export const EventUserRegistration: FC<{
|
|
7469
7535
|
disabled?: boolean;
|
|
7470
7536
|
hideInfoMessage?: boolean;
|
|
7471
7537
|
showNoRegistrationRequired?: boolean;
|
|
7538
|
+
onToggleRegister?: (itemId: string, response: EventResponse, isFullSeriesRegistration: boolean) => unknown;
|
|
7472
7539
|
className?: string;
|
|
7473
7540
|
}>;
|
|
7474
7541
|
}
|
|
@@ -7538,8 +7605,7 @@ declare module "libs/reach/feature/content/src/common/cards/CardLikeButton" {
|
|
|
7538
7605
|
export const CardLikeButton: FC<{
|
|
7539
7606
|
item: NewsItem | EventItem;
|
|
7540
7607
|
itemResourceType: ItemResourceTypes;
|
|
7541
|
-
|
|
7542
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
7608
|
+
onToggleLike?: (isLiked: boolean, likeCount: number) => void;
|
|
7543
7609
|
className?: string;
|
|
7544
7610
|
}>;
|
|
7545
7611
|
}
|
|
@@ -7561,6 +7627,18 @@ declare module "libs/reach/feature/content/src/events/EventRecurrenceSeriesInfoN
|
|
|
7561
7627
|
className?: string;
|
|
7562
7628
|
}>;
|
|
7563
7629
|
}
|
|
7630
|
+
declare module "libs/reach/feature/content/src/common/modal-routing/LinkWithModalRouting" {
|
|
7631
|
+
import { FC } from 'react';
|
|
7632
|
+
export const LinkWithModalRouting: FC<{
|
|
7633
|
+
url: string;
|
|
7634
|
+
itemId: string;
|
|
7635
|
+
hash?: string;
|
|
7636
|
+
onClick?: (e: React.MouseEvent) => unknown;
|
|
7637
|
+
ariaHidden?: boolean;
|
|
7638
|
+
ariaLabel?: string;
|
|
7639
|
+
className?: string;
|
|
7640
|
+
}>;
|
|
7641
|
+
}
|
|
7564
7642
|
declare module "libs/reach/feature/content/src/events/list/EventCard" {
|
|
7565
7643
|
import { FC } from 'react';
|
|
7566
7644
|
import { EventItem } from "libs/reach/util/common/src/index";
|
|
@@ -7771,6 +7849,8 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
7771
7849
|
resourceKey?: string;
|
|
7772
7850
|
resourceValues?: string;
|
|
7773
7851
|
className?: string;
|
|
7852
|
+
enableModalRouting?: boolean;
|
|
7853
|
+
itemId?: string;
|
|
7774
7854
|
isOverrideLink: boolean;
|
|
7775
7855
|
}>;
|
|
7776
7856
|
}
|
|
@@ -7830,6 +7910,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7830
7910
|
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7831
7911
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7832
7912
|
openTargetInNewWindow?: boolean;
|
|
7913
|
+
enableModalRouting?: boolean;
|
|
7833
7914
|
className?: string;
|
|
7834
7915
|
}
|
|
7835
7916
|
export const PageItemTile: FC<Props>;
|
|
@@ -7875,6 +7956,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
7875
7956
|
onClick?: (event: MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7876
7957
|
styleDefinition?: StyleDefinition;
|
|
7877
7958
|
readOnly?: boolean;
|
|
7959
|
+
enableModalRouting?: boolean;
|
|
7878
7960
|
className?: string;
|
|
7879
7961
|
}
|
|
7880
7962
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -7918,6 +8000,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7918
8000
|
onKeywordClick?: (keyword: string) => unknown;
|
|
7919
8001
|
styleDefinition?: StyleDefinition;
|
|
7920
8002
|
readOnly?: boolean;
|
|
8003
|
+
enableModalRouting?: boolean;
|
|
7921
8004
|
className?: string;
|
|
7922
8005
|
}
|
|
7923
8006
|
export const NewsItemTile: FC<Props>;
|
|
@@ -7943,6 +8026,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/EmbeddedObjectTi
|
|
|
7943
8026
|
previewTheme?: CommentInputTheme;
|
|
7944
8027
|
buttons?: ReactNode;
|
|
7945
8028
|
groupIds?: string[];
|
|
8029
|
+
enableModalRouting?: boolean;
|
|
7946
8030
|
className?: string;
|
|
7947
8031
|
}>;
|
|
7948
8032
|
export const EmbeddedObjectAccessDeniedTile: FC<{
|
|
@@ -7959,6 +8043,7 @@ declare module "libs/reach/feature/content/src/common/EmbeddedObjectList" {
|
|
|
7959
8043
|
attachments: Attachment[];
|
|
7960
8044
|
onDeleteClick?: (attachment: Attachment) => void;
|
|
7961
8045
|
previewTheme?: CommentInputTheme;
|
|
8046
|
+
enableModalRouting?: boolean;
|
|
7962
8047
|
className?: string;
|
|
7963
8048
|
}>;
|
|
7964
8049
|
}
|
|
@@ -8261,6 +8346,15 @@ declare module "libs/reach/feature/content/src/comments/EditCommentWithAttachmen
|
|
|
8261
8346
|
export const EditCommentWithAttachments: FC<Props>;
|
|
8262
8347
|
export function isClientAttachment(value: ClientAttachment | Attachment): value is ClientAttachment;
|
|
8263
8348
|
}
|
|
8349
|
+
declare module "libs/reach/feature/content/src/news/bookmark-button/BookmarkButton" {
|
|
8350
|
+
import { FC } from 'react';
|
|
8351
|
+
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
8352
|
+
export const BookmarkButton: FC<{
|
|
8353
|
+
item: PublishableItem;
|
|
8354
|
+
isReadOnly?: boolean;
|
|
8355
|
+
className?: string;
|
|
8356
|
+
}>;
|
|
8357
|
+
}
|
|
8264
8358
|
declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
8265
8359
|
import { FC } from 'react';
|
|
8266
8360
|
export const CardStatisticItem: FC<{
|
|
@@ -8278,13 +8372,14 @@ declare module "libs/reach/feature/content/src/common/cards/CardStatisticItem" {
|
|
|
8278
8372
|
};
|
|
8279
8373
|
}>;
|
|
8280
8374
|
}
|
|
8281
|
-
declare module "libs/reach/feature/content/src/
|
|
8375
|
+
declare module "libs/reach/feature/content/src/common/cards/CardCommentButton" {
|
|
8376
|
+
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8282
8377
|
import { FC } from 'react';
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8378
|
+
export const CardCommentButton: FC<{
|
|
8379
|
+
item: NewsItem | EventItem;
|
|
8380
|
+
itemResourceType: ItemResourceTypes;
|
|
8381
|
+
targetRoute: string;
|
|
8382
|
+
enableModalRouting?: boolean;
|
|
8288
8383
|
}>;
|
|
8289
8384
|
}
|
|
8290
8385
|
declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
@@ -8292,11 +8387,9 @@ declare module "libs/reach/feature/content/src/common/cards/CardFooter" {
|
|
|
8292
8387
|
import { EventItem, ItemResourceTypes, NewsItem } from "libs/reach/util/common/src/index";
|
|
8293
8388
|
export const CardFooter: FC<{
|
|
8294
8389
|
item: NewsItem | EventItem;
|
|
8295
|
-
showComments: boolean;
|
|
8296
8390
|
targetRoute: string;
|
|
8297
8391
|
itemResourceType: ItemResourceTypes;
|
|
8298
|
-
|
|
8299
|
-
onLiked?: (isLiked: boolean) => unknown;
|
|
8392
|
+
enableModalRouting?: boolean;
|
|
8300
8393
|
}>;
|
|
8301
8394
|
export const CardFooterHost: import("styled-components").StyledComponent<"footer", import("styled-components").DefaultTheme, {}, never>;
|
|
8302
8395
|
}
|
|
@@ -8595,7 +8688,6 @@ declare module "libs/reach/feature/content/src/news/list-view/NewsCard" {
|
|
|
8595
8688
|
item: NewsItem;
|
|
8596
8689
|
baseRoute: string;
|
|
8597
8690
|
language: string;
|
|
8598
|
-
showComments: boolean;
|
|
8599
8691
|
highlight: boolean;
|
|
8600
8692
|
className?: string;
|
|
8601
8693
|
}
|
|
@@ -9752,7 +9844,7 @@ declare module "libs/reach/feature/content/src/common/ContentWithShowMoreButton"
|
|
|
9752
9844
|
import { FC } from 'react';
|
|
9753
9845
|
export const ContentWithShowMoreButton: FC<{
|
|
9754
9846
|
domIdentifier: string;
|
|
9755
|
-
trimContent
|
|
9847
|
+
trimContent?: boolean;
|
|
9756
9848
|
className?: string;
|
|
9757
9849
|
}>;
|
|
9758
9850
|
}
|
|
@@ -9899,7 +9991,6 @@ declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
|
9899
9991
|
mentionSearchHandler: (searchText: string) => Promise<Account[]>;
|
|
9900
9992
|
getHashtagFilterRoute?: (hashtag: string) => string;
|
|
9901
9993
|
highlight?: boolean;
|
|
9902
|
-
isInitialLiked?: boolean;
|
|
9903
9994
|
hasUnreadReplies?: boolean;
|
|
9904
9995
|
onReplyIconClick?: () => void;
|
|
9905
9996
|
onReply?: (comment: Comment, commentSender?: Account) => void;
|
|
@@ -10200,6 +10291,7 @@ declare module "libs/reach/feature/content/src/posts/PostDisplay" {
|
|
|
10200
10291
|
baseTargetUrl?: string;
|
|
10201
10292
|
}
|
|
10202
10293
|
export const PostDisplay: FC<Props>;
|
|
10294
|
+
export const PostDisplayWithModalRouting: FC<Props>;
|
|
10203
10295
|
}
|
|
10204
10296
|
declare module "libs/reach/feature/content/src/posts/PostGroupsPicker" {
|
|
10205
10297
|
import { FC } from 'react';
|
|
@@ -11082,6 +11174,7 @@ declare module "libs/reach/feature/content/src/stream/useStreamItemsQuery" {
|
|
|
11082
11174
|
};
|
|
11083
11175
|
refresh: () => Promise<void>;
|
|
11084
11176
|
isLoadingFirstPage: boolean;
|
|
11177
|
+
refetchItem: (itemId: string) => Promise<void>;
|
|
11085
11178
|
};
|
|
11086
11179
|
export function hasFilter(filter?: StreamFilterDefinition): boolean;
|
|
11087
11180
|
export const getStreamQuery: (filter?: StreamFilterDefinition, allChannels?: Channel[]) => DocumentNode;
|
|
@@ -11802,7 +11895,7 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11802
11895
|
import { CloseButtonOptions } from "apps/reach-app/src/app/chrome/Header";
|
|
11803
11896
|
import { SearchBoxProps } from "libs/reach/ui/common/src/index";
|
|
11804
11897
|
import { MainContentPanelProps } from "apps/reach-app/src/app/chrome/MainContentPanel";
|
|
11805
|
-
export interface
|
|
11898
|
+
export interface PageProps extends SearchBoxProps {
|
|
11806
11899
|
className?: string;
|
|
11807
11900
|
headerContents?: JSX.Element;
|
|
11808
11901
|
headerToolbar?: HeaderToolbarTypeHack;
|
|
@@ -11820,12 +11913,14 @@ declare module "apps/reach-app/src/app/chrome/Page" {
|
|
|
11820
11913
|
submenuContents?: JSX.Element;
|
|
11821
11914
|
submenuClassName?: string;
|
|
11822
11915
|
disableScrollableContainerFocus?: boolean;
|
|
11916
|
+
asModal?: boolean;
|
|
11917
|
+
domIdentifier?: string;
|
|
11823
11918
|
}
|
|
11824
11919
|
export enum MenuNavigationMode {
|
|
11825
11920
|
Collapse = 0,
|
|
11826
11921
|
KeepOpen = 1
|
|
11827
11922
|
}
|
|
11828
|
-
export const Page: FC<
|
|
11923
|
+
export const Page: FC<PageProps>;
|
|
11829
11924
|
}
|
|
11830
11925
|
declare module "apps/reach-app/src/plugins/reach-chrome" {
|
|
11831
11926
|
import { Page } from "apps/reach-app/src/app/chrome/Page";
|