@livetiles/reach-plugin-types 0.5.0-preview.60 → 0.5.0-preview.64
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 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3446,7 +3446,7 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3446
3446
|
height?: number;
|
|
3447
3447
|
}
|
|
3448
3448
|
export interface ImageWithAlignment extends ImageDetails {
|
|
3449
|
-
|
|
3449
|
+
imageAlignment?: ImageAlignment;
|
|
3450
3450
|
}
|
|
3451
3451
|
export enum ImageAlignment {
|
|
3452
3452
|
Default = "default",
|
|
@@ -8472,15 +8472,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8472
8472
|
}>;
|
|
8473
8473
|
}
|
|
8474
8474
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8475
|
-
import { FC } from 'react';
|
|
8475
|
+
import { FC, ReactNode } from 'react';
|
|
8476
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8476
8477
|
export const ImageToolbar: FC<{
|
|
8477
8478
|
onDelete?: () => void;
|
|
8478
8479
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8479
8480
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8480
8481
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8482
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8481
8483
|
showFullScreenButton?: boolean;
|
|
8482
8484
|
showCloseButton?: boolean;
|
|
8483
8485
|
showCropButton?: boolean;
|
|
8486
|
+
alignmentButtons?: ReactNode;
|
|
8484
8487
|
}>;
|
|
8485
8488
|
}
|
|
8486
8489
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|
|
@@ -9055,6 +9058,7 @@ declare module "libs/reach/feature/content/src/common/body/InlineUrlPreview" {
|
|
|
9055
9058
|
}
|
|
9056
9059
|
declare module "libs/reach/feature/content/src/common/body/InlineImage" {
|
|
9057
9060
|
import { HtmlComponentMapper } from "libs/reach/feature/content/src/common/body/TextViewer";
|
|
9061
|
+
export const ImageAlignmentStyles: (alignment: string, width: number) => import("styled-components").FlattenSimpleInterpolation | "";
|
|
9058
9062
|
export const InlineImageMapper: HtmlComponentMapper;
|
|
9059
9063
|
}
|
|
9060
9064
|
declare module "libs/reach/feature/content/src/common/body/InlineContact" {
|