@types/react-imgix
Advanced tools
Comparing version 9.3.0 to 9.3.1
@@ -37,5 +37,7 @@ // Type definitions for react-imgix 9.3 | ||
'blend-fit'?: ImgixParamType | undefined; | ||
'blend-h'?: ImgixParamType | undefined; | ||
'blend-mode'?: ImgixParamType | undefined; | ||
'blend-pad'?: ImgixParamType | undefined; | ||
'blend-size'?: ImgixParamType | undefined; | ||
'blend-w'?: ImgixParamType | undefined; | ||
'blend-x'?: ImgixParamType | undefined; | ||
@@ -47,4 +49,12 @@ 'blend-y'?: ImgixParamType | undefined; | ||
interface BorderAndPaddingParams { | ||
'border-bottom'?: ImgixParamType | undefined; | ||
'border-left'?: ImgixParamType | undefined; | ||
'border-radius-inner'?: ImgixParamType | undefined; | ||
'border-radius'?: ImgixParamType | undefined; | ||
'border-right'?: ImgixParamType | undefined; | ||
'border-top'?: ImgixParamType | undefined; | ||
'pad-bottom'?: ImgixParamType | undefined; | ||
'pad-left'?: ImgixParamType | undefined; | ||
'pad-right'?: ImgixParamType | undefined; | ||
'pad-top'?: ImgixParamType | undefined; | ||
border?: ImgixParamType | undefined; | ||
@@ -87,2 +97,3 @@ pad?: ImgixParamType | undefined; | ||
fm?: ImgixParamType | undefined; | ||
iptc?: ImgixParamType | undefined; | ||
lossless?: ImgixParamType | undefined; | ||
@@ -94,2 +105,3 @@ q?: ImgixParamType | undefined; | ||
'corner-radius'?: ImgixParamType | undefined; | ||
'mask-bg'?: ImgixParamType | undefined; | ||
mask?: ImgixParamType | undefined; | ||
@@ -105,2 +117,3 @@ } | ||
page?: ImgixParamType | undefined; | ||
'pdf-annotation'?: ImgixParamType | undefined; | ||
} | ||
@@ -160,2 +173,3 @@ | ||
'trim-md'?: ImgixParamType | undefined; | ||
'trim-pad'?: ImgixParamType | undefined; | ||
'trim-sd'?: ImgixParamType | undefined; | ||
@@ -179,3 +193,5 @@ 'trim-tol'?: ImgixParamType | undefined; | ||
'mark-pad'?: ImgixParamType | undefined; | ||
'mark-rot'?: ImgixParamType | undefined; | ||
'mark-scale'?: ImgixParamType | undefined; | ||
'mark-title'?: ImgixParamType | undefined; | ||
'mark-w'?: ImgixParamType | undefined; | ||
@@ -187,3 +203,3 @@ 'mark-x'?: ImgixParamType | undefined; | ||
type ImigixParams = AdjustmentParams & | ||
type ImgixParams = AdjustmentParams & | ||
AutomaticParams & | ||
@@ -236,3 +252,3 @@ BlendingParams & | ||
export interface SharedImigixAndSourceProps extends CommonProps { | ||
export interface SharedImgixAndSourceProps extends CommonProps { | ||
src: string; | ||
@@ -242,3 +258,3 @@ disableQualityByDPR?: boolean | undefined; | ||
disableLibraryParam?: boolean | undefined; | ||
imgixParams?: ImigixParams | undefined; | ||
imgixParams?: ImgixParams | undefined; | ||
srcSetOptions?: SrcSetParams | undefined; | ||
@@ -256,3 +272,3 @@ sizes?: string | undefined; | ||
disableLibraryParam?: boolean | undefined; | ||
imgixParams?: ImigixParams | undefined; | ||
imgixParams?: ImgixParams | undefined; | ||
sizes?: string | undefined; | ||
@@ -265,5 +281,5 @@ width?: number | undefined; | ||
export class Picture extends React.Component<React.PropsWithChildren<CommonProps>> {} | ||
export class Source extends React.Component<SharedImigixAndSourceProps> {} | ||
export class Source extends React.Component<SharedImgixAndSourceProps> {} | ||
export class ImgixProvider extends React.Component<React.PropsWithChildren<ImgixProviderProps>> {} | ||
export function buildURL(src: string, imgixParams?: ImigixParams, options?: SharedImigixAndSourceProps): string; | ||
export function buildURL(src: string, imgixParams?: ImgixParams, options?: SharedImgixAndSourceProps): string; | ||
@@ -279,3 +295,3 @@ type Warnings = 'fallbackImage' | 'sizesAttribute' | 'invalidARFormat'; | ||
src: string; | ||
imgixParams?: ImigixParams | undefined; | ||
imgixParams?: ImgixParams | undefined; | ||
className?: string | undefined; | ||
@@ -288,3 +304,3 @@ disableLibraryParam?: boolean | undefined; | ||
declare class Imgix extends React.Component<SharedImigixAndSourceProps> {} | ||
declare class Imgix extends React.Component<SharedImgixAndSourceProps> {} | ||
export default Imgix; |
{ | ||
"name": "@types/react-imgix", | ||
"version": "9.3.0", | ||
"version": "9.3.1", | ||
"description": "TypeScript definitions for react-imgix", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-imgix", | ||
}, | ||
"typesPublisherContentHash": "d6599371cb157604c1d3df62c543ce9a00c8963d749ec80d02cf409655f27632", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "d112cb7ec671478e771fb8e9e6a74bae46f615d7a3ad4bf6322ebb9454faee9a", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 16 Nov 2021 01:31:22 GMT | ||
* Last updated: Fri, 17 Dec 2021 22:01:10 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
12348
257