@livetiles/reach-plugin-types 0.4.0-preview.993 → 0.5.0-preview.3
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 +7 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7799,6 +7799,7 @@ declare module "libs/reach/feature/content/src/common/breadcrumb/ListItemBreadcr
|
|
|
7799
7799
|
declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
7800
7800
|
import { FC, ReactNode } from 'react';
|
|
7801
7801
|
import { PageItem } from "libs/reach/util/common/src/index";
|
|
7802
|
+
import { ItemTileLayoutMode } from "libs/reach/feature/content/src/index";
|
|
7802
7803
|
interface StyleDefinition {
|
|
7803
7804
|
backgroundColor?: string;
|
|
7804
7805
|
bannerDefaultWidth: number;
|
|
@@ -7813,6 +7814,7 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7813
7814
|
item: PageItem;
|
|
7814
7815
|
baseRoute: string;
|
|
7815
7816
|
targetUrl?: string;
|
|
7817
|
+
layoutMode?: ItemTileLayoutMode;
|
|
7816
7818
|
filterBaseUrl?: string;
|
|
7817
7819
|
styleDefinition?: StyleDefinition;
|
|
7818
7820
|
readOnly?: boolean;
|
|
@@ -7822,6 +7824,9 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7822
7824
|
showBannerPlaceholder?: boolean;
|
|
7823
7825
|
showBreadcrumb?: boolean;
|
|
7824
7826
|
showIntro?: boolean;
|
|
7827
|
+
onClick?: (event: React.MouseEvent<unknown>, isTitleClicked?: boolean) => unknown;
|
|
7828
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7829
|
+
openTargetInNewWindow?: boolean;
|
|
7825
7830
|
className?: string;
|
|
7826
7831
|
}
|
|
7827
7832
|
export const PageItemTile: FC<Props>;
|
|
@@ -9871,6 +9876,7 @@ declare module "libs/reach/feature/content/src/common/index" {
|
|
|
9871
9876
|
export * from "libs/reach/feature/content/src/common/ContentWithShowMoreButton";
|
|
9872
9877
|
export * from "libs/reach/feature/content/src/common/FilterLogicalOperators";
|
|
9873
9878
|
export * from "libs/reach/feature/content/src/common/channels/ChannelSelector";
|
|
9879
|
+
export * from "libs/reach/feature/content/src/common/item-tile/PageItemTile";
|
|
9874
9880
|
}
|
|
9875
9881
|
declare module "libs/reach/feature/content/src/comments/CommentDisplay" {
|
|
9876
9882
|
import { FC } from 'react';
|
|
@@ -11300,7 +11306,7 @@ declare module "libs/reach/feature/content/src/stream/usePagesStreamDataLoader"
|
|
|
11300
11306
|
import { ItemLoader } from "libs/reach/ui/common/src/index";
|
|
11301
11307
|
import { PageStreamItem } from "libs/reach/feature/content/src/stream/streamUtils";
|
|
11302
11308
|
import { PageFilterDefinition } from "libs/reach/feature/content/src/pages/index";
|
|
11303
|
-
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string
|
|
11309
|
+
export function usePagesStreamDataLoader(filter?: PageFilterDefinition, searchText?: string): ItemLoader<PageStreamItem, number>;
|
|
11304
11310
|
export const PAGES_QUERY: (whereConditions?: string) => import("@apollo/client").DocumentNode;
|
|
11305
11311
|
export const PARENT_ID_CONDITION: (parentId?: string) => string;
|
|
11306
11312
|
}
|