@livetiles/reach-plugin-types 0.4.0-preview.332 → 0.4.0-preview.333
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 +10 -8
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3292,7 +3292,7 @@ declare module "libs/reach/ui/common/src/common/containers/ListItemsContainer" {
|
|
|
3292
3292
|
export const ListItemsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3293
3293
|
}
|
|
3294
3294
|
declare module "libs/reach/ui/common/src/common/Utils" {
|
|
3295
|
-
import { BaseSubscription, CurrentUser, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3295
|
+
import { BaseSubscription, CurrentUser, LogoInfo, PublishableItem, SubscriptionInfo, SubscriptionSummary } from "libs/reach/util/common/src/index";
|
|
3296
3296
|
import { IntlShape } from 'react-intl';
|
|
3297
3297
|
import { SubscriptionIdentifier } from "libs/reach/util/context/src/index";
|
|
3298
3298
|
export function isValidUrl(url: string): boolean;
|
|
@@ -3304,9 +3304,9 @@ declare module "libs/reach/ui/common/src/common/Utils" {
|
|
|
3304
3304
|
export function getSubscriptionNameForList(subscription: SubscriptionSummary, intl: IntlShape): string;
|
|
3305
3305
|
export function getSubscriptionName(subscription: SubscriptionSummary): string;
|
|
3306
3306
|
export const uuidRegex = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
3307
|
-
export function
|
|
3308
|
-
|
|
3309
|
-
subscriptionName:
|
|
3307
|
+
export function getSubscriptionLogoInfoAndName(subscription: SubscriptionInfo | BaseSubscription): {
|
|
3308
|
+
logoInfo: LogoInfo;
|
|
3309
|
+
subscriptionName: string;
|
|
3310
3310
|
};
|
|
3311
3311
|
export function buildNewsChannelFilterUrl(basePath: string, channel: string, user: CurrentUser, isChromeless: boolean, showAllNews?: boolean): string;
|
|
3312
3312
|
export function delay(delayInMs: number): Promise<unknown>;
|
|
@@ -11103,20 +11103,22 @@ declare module "apps/reach-app/src/app/AppLoader" {
|
|
|
11103
11103
|
}
|
|
11104
11104
|
declare module "apps/reach-app/src/app/common/ContainerWithLogo" {
|
|
11105
11105
|
import './ContainerWithLogo.scss';
|
|
11106
|
+
import { LogoInfo } from "libs/reach/util/common/src/index";
|
|
11107
|
+
import { FC, ReactNode } from 'react';
|
|
11106
11108
|
export enum DefaultLogoColor {
|
|
11107
11109
|
Default = 0,
|
|
11108
11110
|
White = 1
|
|
11109
11111
|
}
|
|
11110
|
-
type RenderChildren =
|
|
11111
|
-
export const ContainerWithLogo:
|
|
11112
|
-
|
|
11113
|
-
logoColor?: DefaultLogoColor;
|
|
11112
|
+
type RenderChildren = ReactNode | (() => ReactNode);
|
|
11113
|
+
export const ContainerWithLogo: FC<{
|
|
11114
|
+
logoInfo?: LogoInfo;
|
|
11114
11115
|
text?: string;
|
|
11115
11116
|
headerClassName?: string;
|
|
11116
11117
|
additionalClasses?: string;
|
|
11117
11118
|
children: RenderChildren;
|
|
11118
11119
|
className?: string;
|
|
11119
11120
|
additionalContent?: RenderChildren;
|
|
11121
|
+
isBrandedContainer?: boolean;
|
|
11120
11122
|
}>;
|
|
11121
11123
|
}
|
|
11122
11124
|
declare module "apps/reach-app/src/app/teams/TeamsAuthorization" {
|