@livetiles/reach-plugin-types 0.5.0-preview.59 → 0.5.0-preview.61
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
|
@@ -306,6 +306,7 @@ declare module "libs/shared/util/environment/src/EnvironmentConfig" {
|
|
|
306
306
|
buildId: string;
|
|
307
307
|
useAzureAdFunctionality: boolean;
|
|
308
308
|
envName: string;
|
|
309
|
+
mobileTeamsHost?: string;
|
|
309
310
|
}
|
|
310
311
|
type OperatingSystem = 'ios' | 'android' | 'windows' | 'mac' | 'unknown';
|
|
311
312
|
interface DeviceInfo {
|
|
@@ -3445,7 +3446,7 @@ declare module "libs/reach/util/common/src/ImageDetails" {
|
|
|
3445
3446
|
height?: number;
|
|
3446
3447
|
}
|
|
3447
3448
|
export interface ImageWithAlignment extends ImageDetails {
|
|
3448
|
-
|
|
3449
|
+
imageAlignment?: ImageAlignment;
|
|
3449
3450
|
}
|
|
3450
3451
|
export enum ImageAlignment {
|
|
3451
3452
|
Default = "default",
|
|
@@ -8471,15 +8472,18 @@ declare module "libs/reach/feature/content/src/common/body/InlineObjectToolbar"
|
|
|
8471
8472
|
}>;
|
|
8472
8473
|
}
|
|
8473
8474
|
declare module "libs/reach/feature/content/src/common/body/ImageToolbar" {
|
|
8474
|
-
import { FC } from 'react';
|
|
8475
|
+
import { FC, ReactNode } from 'react';
|
|
8476
|
+
import { ImageAlignment } from "libs/reach/util/common/src/index";
|
|
8475
8477
|
export const ImageToolbar: FC<{
|
|
8476
8478
|
onDelete?: () => void;
|
|
8477
8479
|
onFullScreen?: (e: React.MouseEvent<any>) => void;
|
|
8478
8480
|
onClose?: (e: React.MouseEvent<any>) => void;
|
|
8479
8481
|
onCrop?: (e: React.MouseEvent<any>) => void;
|
|
8482
|
+
onAlignment?: (e: React.MouseEvent<any>, alignment: ImageAlignment) => void;
|
|
8480
8483
|
showFullScreenButton?: boolean;
|
|
8481
8484
|
showCloseButton?: boolean;
|
|
8482
8485
|
showCropButton?: boolean;
|
|
8486
|
+
alignmentButtons?: ReactNode;
|
|
8483
8487
|
}>;
|
|
8484
8488
|
}
|
|
8485
8489
|
declare module "libs/reach/feature/content/src/common/body/PhotoGallery" {
|