@livetiles/reach-plugin-types 0.5.0-preview.342 → 0.5.0-preview.349
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 +3 -4
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5412,6 +5412,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
5412
5412
|
import { FC, DependencyList } from 'react';
|
|
5413
5413
|
export interface Props {
|
|
5414
5414
|
navigateTo: string;
|
|
5415
|
+
onBeforeClose?: () => void;
|
|
5415
5416
|
onClose?: () => void;
|
|
5416
5417
|
tooltipResourceKey?: string;
|
|
5417
5418
|
useGoBack?: boolean;
|
|
@@ -5445,6 +5446,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
5445
5446
|
closeButtonOptions?: CloseButtonOptions;
|
|
5446
5447
|
}
|
|
5447
5448
|
export interface CloseButtonOptions {
|
|
5449
|
+
onBeforeClose?: () => void;
|
|
5448
5450
|
onClick?: () => void;
|
|
5449
5451
|
disableGoBack?: boolean;
|
|
5450
5452
|
route?: string;
|
|
@@ -8582,6 +8584,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
8582
8584
|
styleDefinition?: StyleDefinition;
|
|
8583
8585
|
readOnly?: boolean;
|
|
8584
8586
|
enableModalRouting?: boolean;
|
|
8587
|
+
highlight?: boolean;
|
|
8585
8588
|
className?: string;
|
|
8586
8589
|
}
|
|
8587
8590
|
export const NewsItemTile: FC<Props>;
|
|
@@ -11990,10 +11993,6 @@ declare module "libs/reach/feature/content/src/search/GlobalSearchButton" {
|
|
|
11990
11993
|
}
|
|
11991
11994
|
declare module "libs/reach/feature/content/src/stream/StreamList" {
|
|
11992
11995
|
import { FC, ReactNode } from 'react';
|
|
11993
|
-
import { StreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11994
|
-
export type StreamQueryResult = {
|
|
11995
|
-
items: StreamItem[];
|
|
11996
|
-
};
|
|
11997
11996
|
export const StreamList: FC<{
|
|
11998
11997
|
emptySearchResultButton?: ReactNode;
|
|
11999
11998
|
}>;
|