@livetiles/reach-plugin-types 0.4.88 → 0.4.90
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 +39 -9
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2644,6 +2644,7 @@ declare module "libs/reach/util/common/src/user/content-languages-util" {
|
|
|
2644
2644
|
export const defaultFallbackContentLanguage = "en";
|
|
2645
2645
|
export const contentLanguagesWithoutAutomaticTranslation: string[];
|
|
2646
2646
|
export const allAvailableContentLanguages: string[];
|
|
2647
|
+
export const rtlLanguages: string[];
|
|
2647
2648
|
}
|
|
2648
2649
|
declare module "libs/reach/util/common/src/user/LanguageUtils" {
|
|
2649
2650
|
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
@@ -2656,6 +2657,8 @@ declare module "libs/reach/util/common/src/user/LanguageUtils" {
|
|
|
2656
2657
|
englishName: string;
|
|
2657
2658
|
code: string;
|
|
2658
2659
|
}[];
|
|
2660
|
+
export function isRtlLanguage(lang: string): boolean;
|
|
2661
|
+
export type LanguageDirection = 'auto' | 'rtl' | 'ltr';
|
|
2659
2662
|
}
|
|
2660
2663
|
declare module "libs/reach/util/common/src/content/content-keyword-utils" {
|
|
2661
2664
|
import { KeywordsByGroupId } from "libs/reach/util/common/src/keywords/useKeywordsApi";
|
|
@@ -3867,16 +3870,14 @@ declare module "libs/reach/ui/common/src/HighlightBubble" {
|
|
|
3867
3870
|
declare module "libs/reach/ui/common/src/EditorHighlight" {
|
|
3868
3871
|
import { FC } from 'react';
|
|
3869
3872
|
interface Props {
|
|
3870
|
-
isActive: boolean;
|
|
3871
3873
|
readOnly: boolean;
|
|
3872
3874
|
onClick: () => void;
|
|
3875
|
+
tooltipResourceKey?: string;
|
|
3873
3876
|
className?: string;
|
|
3874
3877
|
}
|
|
3875
|
-
export const EditorHighlight: FC<Props
|
|
3876
|
-
tooltipResourceKey?: string;
|
|
3877
|
-
}>;
|
|
3878
|
+
export const EditorHighlight: FC<Props>;
|
|
3878
3879
|
export const ChannelsEditorBubble: FC<Props & {
|
|
3879
|
-
|
|
3880
|
+
isActive: boolean;
|
|
3880
3881
|
}>;
|
|
3881
3882
|
}
|
|
3882
3883
|
declare module "libs/reach/ui/common/src/IconButton" {
|
|
@@ -4267,6 +4268,7 @@ declare module "libs/reach/ui/common/src/common/FormattedMessageWithStyle" {
|
|
|
4267
4268
|
id: string;
|
|
4268
4269
|
tagName?: string;
|
|
4269
4270
|
values?: Record<string, any>;
|
|
4271
|
+
dir?: string;
|
|
4270
4272
|
}>;
|
|
4271
4273
|
}
|
|
4272
4274
|
declare module "libs/reach/ui/common/src/common/GroupedByDateTitles" {
|
|
@@ -7873,6 +7875,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7873
7875
|
import { EventItem, EventLocation } from "libs/reach/util/common/src/index";
|
|
7874
7876
|
export const EventLocationInfo: FC<{
|
|
7875
7877
|
locations: EventLocation[];
|
|
7878
|
+
itemId: string;
|
|
7876
7879
|
className?: string;
|
|
7877
7880
|
}>;
|
|
7878
7881
|
export const EventPeopleInfo: FC<{
|
|
@@ -7890,6 +7893,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
7890
7893
|
channelBackgroundColor?: string;
|
|
7891
7894
|
onChannelClick?: (channel: string) => unknown;
|
|
7892
7895
|
}>;
|
|
7896
|
+
export const RTLMetaInfoStyles: import("styled-components").FlattenSimpleInterpolation;
|
|
7893
7897
|
}
|
|
7894
7898
|
declare module "libs/reach/feature/content/src/feedback/FeedbackCountButton" {
|
|
7895
7899
|
import { FC } from 'react';
|
|
@@ -8017,6 +8021,7 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8017
8021
|
id: string;
|
|
8018
8022
|
tagName?: string;
|
|
8019
8023
|
values?: Record<string, any>;
|
|
8024
|
+
dir?: string;
|
|
8020
8025
|
}>, import("styled-components").DefaultTheme, {}, never>;
|
|
8021
8026
|
}
|
|
8022
8027
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventRegistrationRegisterStatusInfo" {
|
|
@@ -8070,12 +8075,13 @@ declare module "libs/reach/feature/content/src/common/detail/events/controls/Eve
|
|
|
8070
8075
|
}
|
|
8071
8076
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventCardUserRegistration" {
|
|
8072
8077
|
import { FC } from 'react';
|
|
8073
|
-
import { EventItem } from "libs/reach/util/common/src/index";
|
|
8078
|
+
import { EventItem, LanguageDirection } from "libs/reach/util/common/src/index";
|
|
8074
8079
|
export const EventCardUserRegistration: FC<{
|
|
8075
8080
|
item: EventItem;
|
|
8076
8081
|
disabled?: boolean;
|
|
8077
8082
|
showNoRegistrationRequired?: boolean;
|
|
8078
8083
|
className?: string;
|
|
8084
|
+
languageDirection?: LanguageDirection;
|
|
8079
8085
|
}>;
|
|
8080
8086
|
}
|
|
8081
8087
|
declare module "libs/reach/feature/content/src/feedback/LikersList" {
|
|
@@ -8358,6 +8364,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/Title" {
|
|
|
8358
8364
|
itemId?: string;
|
|
8359
8365
|
isOverrideLink: boolean;
|
|
8360
8366
|
icon?: string;
|
|
8367
|
+
language?: string;
|
|
8361
8368
|
}>;
|
|
8362
8369
|
}
|
|
8363
8370
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
@@ -8380,7 +8387,7 @@ declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
|
8380
8387
|
}
|
|
8381
8388
|
declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemTileWrapper" {
|
|
8382
8389
|
import { FC, MouseEvent, ReactNode } from 'react';
|
|
8383
|
-
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8390
|
+
import { ItemResourceTypes, LanguageDirection, PublishableItem } from "libs/reach/util/common/src/index";
|
|
8384
8391
|
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
8385
8392
|
interface StyleDefinition {
|
|
8386
8393
|
backgroundColor?: string;
|
|
@@ -8404,6 +8411,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PublishableItemT
|
|
|
8404
8411
|
enableModalRouting?: boolean;
|
|
8405
8412
|
showBanner?: boolean;
|
|
8406
8413
|
showBannerAlwaysOnTheLeft?: boolean;
|
|
8414
|
+
languageDirection?: LanguageDirection;
|
|
8407
8415
|
className?: string;
|
|
8408
8416
|
}
|
|
8409
8417
|
export const PublishableItemTileWrapper: FC<Props>;
|
|
@@ -9289,6 +9297,7 @@ declare module "libs/reach/feature/content/src/common/cards/Card" {
|
|
|
9289
9297
|
itemResourceType: ItemResourceTypes;
|
|
9290
9298
|
additionalMetadata?: ReactNode;
|
|
9291
9299
|
highlight?: boolean;
|
|
9300
|
+
languageDirection?: string;
|
|
9292
9301
|
className?: string;
|
|
9293
9302
|
}
|
|
9294
9303
|
export const Card: FC<CardProps>;
|
|
@@ -9720,6 +9729,7 @@ declare module "libs/reach/feature/content/src/feedback/PollUserInput" {
|
|
|
9720
9729
|
declare module "libs/reach/feature/content/src/feedback/PollDisplay" {
|
|
9721
9730
|
import { FC } from 'react';
|
|
9722
9731
|
export const PollDisplay: FC<{
|
|
9732
|
+
languageDirection?: string;
|
|
9723
9733
|
className?: string;
|
|
9724
9734
|
}>;
|
|
9725
9735
|
}
|
|
@@ -9755,6 +9765,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
9755
9765
|
import { FC } from 'react';
|
|
9756
9766
|
export const DetailViewPoll: FC;
|
|
9757
9767
|
export const StyledPollDisplay: import("styled-components").StyledComponent<FC<{
|
|
9768
|
+
languageDirection?: string;
|
|
9758
9769
|
className?: string;
|
|
9759
9770
|
}>, import("styled-components").DefaultTheme, {
|
|
9760
9771
|
isMobilePreview?: boolean;
|
|
@@ -10045,7 +10056,7 @@ declare module "libs/reach/feature/content/src/comments/PublishableItemThreadVie
|
|
|
10045
10056
|
}
|
|
10046
10057
|
declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
10047
10058
|
import { FC, ReactNode } from 'react';
|
|
10048
|
-
import { FeedbackSettings, ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
10059
|
+
import { FeedbackSettings, ItemResourceTypes, LanguageDirection, PublishableItem } from "libs/reach/util/common/src/index";
|
|
10049
10060
|
export const FeedbackSection: FC<{
|
|
10050
10061
|
item: PublishableItem;
|
|
10051
10062
|
buttons: ReactNode[];
|
|
@@ -10056,6 +10067,7 @@ declare module "libs/reach/feature/content/src/feedback/FeedbackSection" {
|
|
|
10056
10067
|
disableLoginForPublicUser?: boolean;
|
|
10057
10068
|
isReadOnly?: boolean;
|
|
10058
10069
|
warningMessage?: ReactNode;
|
|
10070
|
+
languageDirection?: LanguageDirection;
|
|
10059
10071
|
className?: string;
|
|
10060
10072
|
}>;
|
|
10061
10073
|
}
|
|
@@ -10128,11 +10140,13 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackFollowBu
|
|
|
10128
10140
|
}
|
|
10129
10141
|
declare module "libs/reach/feature/content/src/common/detail/events/controls/EventDetailViewFeedbackSection" {
|
|
10130
10142
|
import { FC } from 'react';
|
|
10143
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
10131
10144
|
export const EventDetailViewFeedbackSection: FC<{
|
|
10132
10145
|
hideLikes?: boolean;
|
|
10133
10146
|
hideComments?: boolean;
|
|
10134
10147
|
hideProfileUrl?: boolean;
|
|
10135
10148
|
disableLoginForPublicUser?: boolean;
|
|
10149
|
+
languageDirection?: LanguageDirection;
|
|
10136
10150
|
}>;
|
|
10137
10151
|
}
|
|
10138
10152
|
declare module "libs/reach/feature/content/src/common/detail/events/EventDetailViewPlugins" {
|
|
@@ -10148,11 +10162,13 @@ declare module "libs/reach/feature/content/src/common/detail/pages/controls/Page
|
|
|
10148
10162
|
}
|
|
10149
10163
|
declare module "libs/reach/feature/content/src/common/detail/pages/controls/PageDetailViewFeedbackSection" {
|
|
10150
10164
|
import { FC } from 'react';
|
|
10165
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
10151
10166
|
export const PageDetailViewFeedbackSection: FC<{
|
|
10152
10167
|
hideLikes?: boolean;
|
|
10153
10168
|
hideComments?: boolean;
|
|
10154
10169
|
hideProfileUrl?: boolean;
|
|
10155
10170
|
disableLoginForPublicUser?: boolean;
|
|
10171
|
+
languageDirection?: LanguageDirection;
|
|
10156
10172
|
}>;
|
|
10157
10173
|
}
|
|
10158
10174
|
declare module "libs/reach/feature/content/src/common/detail/pages/usePageDetailSearchHandler" {
|
|
@@ -10249,8 +10265,11 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
10249
10265
|
}
|
|
10250
10266
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewMainSection" {
|
|
10251
10267
|
import { FC } from 'react';
|
|
10268
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
10252
10269
|
export const DetailMainSection: FC<{
|
|
10253
10270
|
isMobilePreview?: boolean;
|
|
10271
|
+
contentLanguage: string;
|
|
10272
|
+
languageDirection?: LanguageDirection;
|
|
10254
10273
|
}>;
|
|
10255
10274
|
}
|
|
10256
10275
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewTitle" {
|
|
@@ -10280,7 +10299,10 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
10280
10299
|
}
|
|
10281
10300
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/DetailViewConfirmations" {
|
|
10282
10301
|
import { FC } from 'react';
|
|
10283
|
-
|
|
10302
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
10303
|
+
export const DetailViewConfirmations: FC<{
|
|
10304
|
+
languageDirection?: LanguageDirection;
|
|
10305
|
+
}>;
|
|
10284
10306
|
}
|
|
10285
10307
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewPageViewTracker" {
|
|
10286
10308
|
import { FC } from 'react';
|
|
@@ -10294,11 +10316,13 @@ declare module "libs/reach/feature/content/src/feedback/buttons/FeedbackButtonBo
|
|
|
10294
10316
|
}
|
|
10295
10317
|
declare module "libs/reach/feature/content/src/common/detail/news/controls/NewsDetailViewFeedbackSection" {
|
|
10296
10318
|
import { FC } from 'react';
|
|
10319
|
+
import { LanguageDirection } from "libs/reach/util/common/src/index";
|
|
10297
10320
|
export const NewsDetailViewFeedbackSection: FC<{
|
|
10298
10321
|
hideLikes?: boolean;
|
|
10299
10322
|
hideComments?: boolean;
|
|
10300
10323
|
hideProfileUrl?: boolean;
|
|
10301
10324
|
disableLoginForPublicUser?: boolean;
|
|
10325
|
+
languageDirection?: LanguageDirection;
|
|
10302
10326
|
}>;
|
|
10303
10327
|
}
|
|
10304
10328
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewNavigation" {
|
|
@@ -10616,6 +10640,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10616
10640
|
streamPageType?: string;
|
|
10617
10641
|
path?: (PageNavigationNode & {
|
|
10618
10642
|
parentId?: string;
|
|
10643
|
+
contentsList: StreamPublishableItemContents[];
|
|
10619
10644
|
})[];
|
|
10620
10645
|
}
|
|
10621
10646
|
interface StreamPublishableItemContents {
|
|
@@ -10969,6 +10994,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
10969
10994
|
streamPageType?: string;
|
|
10970
10995
|
path?: (PageNavigationNode & {
|
|
10971
10996
|
parentId?: string;
|
|
10997
|
+
contentsList: StreamPublishableItemContents[];
|
|
10972
10998
|
})[];
|
|
10973
10999
|
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
10974
11000
|
parentId?: string;
|
|
@@ -11152,6 +11178,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11152
11178
|
streamPageType?: string;
|
|
11153
11179
|
path?: (PageNavigationNode & {
|
|
11154
11180
|
parentId?: string;
|
|
11181
|
+
contentsList: StreamPublishableItemContents[];
|
|
11155
11182
|
})[];
|
|
11156
11183
|
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
11157
11184
|
parentId?: string;
|
|
@@ -11341,6 +11368,7 @@ declare module "libs/reach/feature/content/src/stream/streamUtils" {
|
|
|
11341
11368
|
streamPageType?: string;
|
|
11342
11369
|
path?: (PageNavigationNode & {
|
|
11343
11370
|
parentId?: string;
|
|
11371
|
+
contentsList: StreamPublishableItemContents[];
|
|
11344
11372
|
})[];
|
|
11345
11373
|
feedbackSettings?: import("@livetiles/reach/util/common").FeedbackSettings;
|
|
11346
11374
|
parentId?: string;
|
|
@@ -11819,6 +11847,7 @@ declare module "libs/reach/feature/content/src/forms/Textarea" {
|
|
|
11819
11847
|
inputRef?: MutableRefObject<HTMLTextAreaElement>;
|
|
11820
11848
|
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
11821
11849
|
inputType?: string;
|
|
11850
|
+
languageDirection?: string;
|
|
11822
11851
|
}
|
|
11823
11852
|
/**
|
|
11824
11853
|
* Textarea that expands vertically to fit content.
|
|
@@ -12503,6 +12532,7 @@ declare module "apps/reach-app/src/app/analytics/DashboardPage" {
|
|
|
12503
12532
|
declare module "apps/reach-app/src/app/analytics/analyticsDashboardUtils" {
|
|
12504
12533
|
import { Dashboard } from "apps/reach-app/src/app/analytics/DashboardPage";
|
|
12505
12534
|
export function useDashboards(): Dashboard[];
|
|
12535
|
+
export function useDashboardOrigin(): string;
|
|
12506
12536
|
export function hasDashboards(): boolean;
|
|
12507
12537
|
}
|
|
12508
12538
|
declare module "apps/reach-app/src/app/analytics/AnalyticsSidebarMenu" {
|