@livetiles/reach-plugin-types 0.5.0-preview.445 → 0.5.0-preview.447
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 +8 -11
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2945,9 +2945,10 @@ declare module "libs/reach/util/common/src/PagingService" {
|
|
|
2945
2945
|
containerHeight: number;
|
|
2946
2946
|
}
|
|
2947
2947
|
export const onPageScroll: Observable<ScrollHandlerInfo>;
|
|
2948
|
+
export const onPageScrollWithoutDebounce: Observable<ScrollHandlerInfo>;
|
|
2948
2949
|
export function handlePageScroll(availableScrollSpace: number, containerWidth: number, containerHeight: number): void;
|
|
2949
2950
|
export function setPageTitle(subscriptionName: string, title?: string): void;
|
|
2950
|
-
export function usePageScrollListener(onScroll: (info: ScrollHandlerInfo) => void): void;
|
|
2951
|
+
export function usePageScrollListener(onScroll: (info: ScrollHandlerInfo) => void, doNotDebounce?: boolean): void;
|
|
2951
2952
|
}
|
|
2952
2953
|
declare module "libs/reach/util/common/src/analytics/useAnalyticsViewTrack" {
|
|
2953
2954
|
import { BaseItem, ItemResourceTypes } from "libs/reach/util/common/src/content/index";
|
|
@@ -10558,7 +10559,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/News
|
|
|
10558
10559
|
}
|
|
10559
10560
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextResponsiveCard" {
|
|
10560
10561
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
10561
|
-
import { ReactNode
|
|
10562
|
+
import { ReactNode } from 'react';
|
|
10562
10563
|
import { CardType } from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextPublishableItemCard";
|
|
10563
10564
|
export type ImageAndTextCardProps<TItem extends PublishableItem> = {
|
|
10564
10565
|
item: TItem;
|
|
@@ -10569,11 +10570,10 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/Im
|
|
|
10569
10570
|
type?: CardType;
|
|
10570
10571
|
height?: number;
|
|
10571
10572
|
width?: number;
|
|
10573
|
+
onResize?: (newWidth: number) => void;
|
|
10572
10574
|
};
|
|
10573
|
-
const
|
|
10574
|
-
|
|
10575
|
-
}) => JSX.Element;
|
|
10576
|
-
export default _default;
|
|
10575
|
+
const ImageAndTextResponsiveCard: <TItem extends PublishableItem>({ item, itemResourceType, baseRoute, additionalMetadata, contextMenu, height, width, onResize, }: ImageAndTextCardProps<TItem>) => JSX.Element;
|
|
10576
|
+
export default ImageAndTextResponsiveCard;
|
|
10577
10577
|
}
|
|
10578
10578
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextMediumCard" {
|
|
10579
10579
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -10588,12 +10588,9 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/Im
|
|
|
10588
10588
|
}
|
|
10589
10589
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextPublishableItemCard" {
|
|
10590
10590
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10591
|
-
import { Ref } from 'react';
|
|
10592
10591
|
import { ImageAndTextCardProps } from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextResponsiveCard";
|
|
10593
|
-
const
|
|
10594
|
-
|
|
10595
|
-
}) => JSX.Element;
|
|
10596
|
-
export default _default_1;
|
|
10592
|
+
const ImageAndTextPublishableItemCard: <TItem extends PublishableItem>({ item, itemResourceType, baseRoute, additionalMetadata, type, contextMenu, height, onResize, }: ImageAndTextCardProps<TItem>) => JSX.Element;
|
|
10593
|
+
export default ImageAndTextPublishableItemCard;
|
|
10597
10594
|
export enum CardType {
|
|
10598
10595
|
XxSmall = "xxsmall",
|
|
10599
10596
|
XSmall = "xsmall",
|