@livetiles/reach-plugin-types 0.5.0-preview.446 → 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 +6 -10
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10559,7 +10559,7 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/news/News
|
|
|
10559
10559
|
}
|
|
10560
10560
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextResponsiveCard" {
|
|
10561
10561
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
10562
|
-
import { ReactNode
|
|
10562
|
+
import { ReactNode } from 'react';
|
|
10563
10563
|
import { CardType } from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextPublishableItemCard";
|
|
10564
10564
|
export type ImageAndTextCardProps<TItem extends PublishableItem> = {
|
|
10565
10565
|
item: TItem;
|
|
@@ -10570,11 +10570,10 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/Im
|
|
|
10570
10570
|
type?: CardType;
|
|
10571
10571
|
height?: number;
|
|
10572
10572
|
width?: number;
|
|
10573
|
+
onResize?: (newWidth: number) => void;
|
|
10573
10574
|
};
|
|
10574
|
-
const
|
|
10575
|
-
|
|
10576
|
-
}) => JSX.Element;
|
|
10577
|
-
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;
|
|
10578
10577
|
}
|
|
10579
10578
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextMediumCard" {
|
|
10580
10579
|
import { ItemResourceTypes, PublishableItem } from "libs/reach/util/common/src/index";
|
|
@@ -10589,12 +10588,9 @@ declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/Im
|
|
|
10589
10588
|
}
|
|
10590
10589
|
declare module "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextPublishableItemCard" {
|
|
10591
10590
|
import { PublishableItem } from "libs/reach/util/common/src/index";
|
|
10592
|
-
import { Ref } from 'react';
|
|
10593
10591
|
import { ImageAndTextCardProps } from "libs/reach/feature/content/src/reach-2/common/snippets/common/ImageAndTextResponsiveCard";
|
|
10594
|
-
const
|
|
10595
|
-
|
|
10596
|
-
}) => JSX.Element;
|
|
10597
|
-
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;
|
|
10598
10594
|
export enum CardType {
|
|
10599
10595
|
XxSmall = "xxsmall",
|
|
10600
10596
|
XSmall = "xsmall",
|