@livetiles/reach-plugin-types 0.4.0-preview.159 → 0.4.0-preview.162
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 -13
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5945,12 +5945,11 @@ declare module "apps/reach-app/src/app/chrome/SidebarItemSection" {
|
|
|
5945
5945
|
}>;
|
|
5946
5946
|
}
|
|
5947
5947
|
declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
5948
|
-
import
|
|
5948
|
+
import { FC, ReactNode } from 'react';
|
|
5949
|
+
import { PrimitiveType } from 'intl-messageformat';
|
|
5949
5950
|
import './SidebarItem.scss';
|
|
5950
5951
|
import { StyleDefinition } from "apps/reach-app/src/app/chrome/SidebarItemSection";
|
|
5951
5952
|
import { LocationDescriptor } from 'history';
|
|
5952
|
-
import { PrimitiveType } from 'intl-messageformat';
|
|
5953
|
-
import { ReactNode } from 'react';
|
|
5954
5953
|
interface CommonSidebarItemProps {
|
|
5955
5954
|
title?: any;
|
|
5956
5955
|
titleResource?: string;
|
|
@@ -5983,13 +5982,13 @@ declare module "apps/reach-app/src/app/chrome/SidebarItem" {
|
|
|
5983
5982
|
secondaryIconRoute?: LocationDescriptor;
|
|
5984
5983
|
isHoverable?: boolean;
|
|
5985
5984
|
}
|
|
5986
|
-
export const SidebarItem:
|
|
5985
|
+
export const SidebarItem: FC<SidebarItemProps>;
|
|
5987
5986
|
interface NavLinkSidebarItemProps extends CommonSidebarItemProps {
|
|
5988
|
-
route:
|
|
5987
|
+
route: LocationDescriptor;
|
|
5989
5988
|
exact?: boolean;
|
|
5990
5989
|
linkClassName?: string;
|
|
5991
5990
|
}
|
|
5992
|
-
export const NavLinkSidebarItem:
|
|
5991
|
+
export const NavLinkSidebarItem: FC<NavLinkSidebarItemProps>;
|
|
5993
5992
|
}
|
|
5994
5993
|
declare module "apps/reach-app/src/error/NotFoundPage" {
|
|
5995
5994
|
import { WrappedComponentProps } from 'react-intl';
|
|
@@ -7308,7 +7307,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContext"
|
|
|
7308
7307
|
updateSelectedLanguage: (lang: string) => unknown;
|
|
7309
7308
|
handleRefresh: (onFinished?: () => void) => unknown;
|
|
7310
7309
|
handleLanguageChange: (language: string) => unknown;
|
|
7311
|
-
|
|
7310
|
+
isEditorPreview?: boolean;
|
|
7312
7311
|
}
|
|
7313
7312
|
export function useDetailViewContext<TItem extends PublishableItem = PublishableItem>(): DetailViewContextType<TItem>;
|
|
7314
7313
|
}
|
|
@@ -7867,7 +7866,7 @@ declare module "libs/reach/feature/content/src/common/detail/DetailViewContextPr
|
|
|
7867
7866
|
itemId: string;
|
|
7868
7867
|
type?: ItemResourceTypes;
|
|
7869
7868
|
loadItemFunc: (itemId: string) => Promise<PublishableItem>;
|
|
7870
|
-
|
|
7869
|
+
isEditorPreview?: boolean;
|
|
7871
7870
|
}>;
|
|
7872
7871
|
}
|
|
7873
7872
|
declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
@@ -8775,9 +8774,7 @@ declare module "libs/reach/feature/content/src/common/detail/controls/DetailView
|
|
|
8775
8774
|
}
|
|
8776
8775
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewBanner" {
|
|
8777
8776
|
import { FC } from 'react';
|
|
8778
|
-
export const DetailViewBanner: FC
|
|
8779
|
-
useEditorRoutes?: boolean;
|
|
8780
|
-
}>;
|
|
8777
|
+
export const DetailViewBanner: FC;
|
|
8781
8778
|
}
|
|
8782
8779
|
declare module "libs/reach/feature/content/src/common/detail/controls/DetailViewIntro" {
|
|
8783
8780
|
import { FC } from 'react';
|
|
@@ -9845,7 +9842,7 @@ declare module "apps/reach-app/src/app/admin/AdminRoutes" {
|
|
|
9845
9842
|
import { FC } from 'react';
|
|
9846
9843
|
export const AdminActionItem: FC<{
|
|
9847
9844
|
submenuContents: JSX.Element;
|
|
9848
|
-
onClick
|
|
9845
|
+
onClick?: () => unknown;
|
|
9849
9846
|
title?: string;
|
|
9850
9847
|
}>;
|
|
9851
9848
|
const AdminRoutes: FC;
|
|
@@ -9859,7 +9856,7 @@ declare module "apps/reach-app/src/app/chrome/ChatMenuNode" {
|
|
|
9859
9856
|
import { FC } from 'react';
|
|
9860
9857
|
export const ChatMenuNode: FC<{
|
|
9861
9858
|
title: string;
|
|
9862
|
-
onClick
|
|
9859
|
+
onClick?: () => void;
|
|
9863
9860
|
}>;
|
|
9864
9861
|
}
|
|
9865
9862
|
declare module "apps/reach-app/src/app/chrome/Sidebar" {
|