@applitools/types
Advanced tools
Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "@applitools/types", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "applitools", |
@@ -45,8 +45,9 @@ export declare type SessionType = 'SEQUENTIAL' | 'PROGRESSION'; | ||
export declare type ImageRotation = -270 | -180 | -90 | 0 | 90 | 180 | 270; | ||
export declare type ImageCropRect = { | ||
top: number; | ||
right: number; | ||
bottom: number; | ||
left: number; | ||
export declare type OffsetRect = { | ||
top?: number; | ||
right?: number; | ||
bottom?: number; | ||
left?: number; | ||
}; | ||
export declare type ImageCropRect = OffsetRect; | ||
export declare type ImageCropRegion = { | ||
@@ -53,0 +54,0 @@ x: number; |
import { Selector } from './driver'; | ||
import { MatchLevel, Region, AccessibilityRegionType, AccessibilityGuidelinesVersion, AccessibilityLevel, Proxy, LazyLoadOptions } from './data'; | ||
import { MatchLevel, Region, OffsetRect, AccessibilityRegionType, AccessibilityGuidelinesVersion, AccessibilityLevel, Proxy, LazyLoadOptions } from './data'; | ||
declare type RegionReference<TElement, TSelector> = Region | ElementReference<TElement, TSelector>; | ||
@@ -21,2 +21,6 @@ declare type ElementReference<TElement, TSelector> = TElement | Selector<TSelector>; | ||
}; | ||
declare type PaddedRegion<TRegion> = { | ||
region: TRegion; | ||
padding?: number | OffsetRect; | ||
}; | ||
export declare type MatchSettings<TRegion> = { | ||
@@ -39,6 +43,6 @@ exact?: { | ||
}; | ||
ignoreRegions?: TRegion[]; | ||
layoutRegions?: TRegion[]; | ||
strictRegions?: TRegion[]; | ||
contentRegions?: TRegion[]; | ||
ignoreRegions?: (TRegion | PaddedRegion<TRegion>)[]; | ||
layoutRegions?: (TRegion | PaddedRegion<TRegion>)[]; | ||
strictRegions?: (TRegion | PaddedRegion<TRegion>)[]; | ||
contentRegions?: (TRegion | PaddedRegion<TRegion>)[]; | ||
floatingRegions?: (TRegion | FloatingRegion<TRegion>)[]; | ||
@@ -45,0 +49,0 @@ accessibilityRegions?: (TRegion | AccessibilityRegion<TRegion>)[]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44397
718