next-cloudinary 6.7.0 → 6.8.0
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/dist/index.d.mts +4 -255
- package/dist/index.d.ts +4 -255
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _cloudinary_util_url_loader_dist_schema_qgX3upLv from '@cloudinary-util/url-loader/dist/schema-qgX3upLv';
|
|
2
1
|
import React, { MutableRefObject } from 'react';
|
|
3
2
|
import { ImageProps } from 'next/image';
|
|
4
3
|
import { ImageOptions, ConfigOptions, AnalyticsOptions, VideoOptions } from '@cloudinary-util/url-loader';
|
|
@@ -11,261 +10,11 @@ type CldImageProps = Omit<ImageProps, 'src' | 'quality'> & ImageOptions & {
|
|
|
11
10
|
src: string;
|
|
12
11
|
unoptimized?: boolean;
|
|
13
12
|
};
|
|
14
|
-
declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src" | "quality"> & {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
type: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop";
|
|
18
|
-
aspectRatio?: string | number | undefined;
|
|
19
|
-
gravity?: string | undefined;
|
|
20
|
-
height?: string | number | undefined;
|
|
21
|
-
width?: string | number | undefined;
|
|
22
|
-
zoom?: string | undefined;
|
|
23
|
-
source?: boolean | undefined;
|
|
24
|
-
} | {
|
|
25
|
-
type: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop";
|
|
26
|
-
aspectRatio?: string | number | undefined;
|
|
27
|
-
gravity?: string | undefined;
|
|
28
|
-
height?: string | number | undefined;
|
|
29
|
-
width?: string | number | undefined;
|
|
30
|
-
zoom?: string | undefined;
|
|
31
|
-
source?: boolean | undefined;
|
|
32
|
-
}[] | undefined;
|
|
33
|
-
sanitize?: boolean | undefined;
|
|
34
|
-
assetType?: string | undefined;
|
|
35
|
-
deliveryType?: string | undefined;
|
|
36
|
-
dpr?: string | number | undefined;
|
|
37
|
-
format?: string | undefined;
|
|
38
|
-
height?: string | number | undefined;
|
|
39
|
-
quality?: string | number | undefined;
|
|
40
|
-
strictTransformations?: boolean | undefined;
|
|
41
|
-
width?: string | number | undefined;
|
|
42
|
-
aspectRatio?: string | number | undefined;
|
|
43
|
-
gravity?: string | undefined;
|
|
44
|
-
zoom?: string | undefined;
|
|
45
|
-
angle?: any;
|
|
46
|
-
art?: any;
|
|
47
|
-
autoBrightness?: any;
|
|
48
|
-
autoColor?: any;
|
|
49
|
-
autoContrast?: any;
|
|
50
|
-
assistColorblind?: any;
|
|
51
|
-
background?: any;
|
|
52
|
-
blackwhite?: any;
|
|
53
|
-
blur?: any;
|
|
54
|
-
blurFaces?: any;
|
|
55
|
-
blurRegion?: any;
|
|
56
|
-
border?: any;
|
|
57
|
-
brightness?: any;
|
|
58
|
-
brightnessHSB?: any;
|
|
59
|
-
cartoonify?: any;
|
|
60
|
-
color?: any;
|
|
61
|
-
colorize?: any;
|
|
62
|
-
contrast?: any;
|
|
63
|
-
distort?: any;
|
|
64
|
-
fillLight?: any;
|
|
65
|
-
gamma?: any;
|
|
66
|
-
gradientFade?: any;
|
|
67
|
-
grayscale?: any;
|
|
68
|
-
improve?: any;
|
|
69
|
-
loop?: any;
|
|
70
|
-
multiply?: any;
|
|
71
|
-
negate?: any;
|
|
72
|
-
oilPaint?: any;
|
|
73
|
-
opacity?: any;
|
|
74
|
-
outline?: any;
|
|
75
|
-
pixelate?: any;
|
|
76
|
-
pixelateFaces?: any;
|
|
77
|
-
pixelateRegion?: any;
|
|
78
|
-
radius?: any;
|
|
79
|
-
redeye?: any;
|
|
80
|
-
replaceColor?: any;
|
|
81
|
-
saturation?: any;
|
|
82
|
-
screen?: any;
|
|
83
|
-
sepia?: any;
|
|
84
|
-
shadow?: any;
|
|
85
|
-
sharpen?: any;
|
|
86
|
-
shear?: any;
|
|
87
|
-
simulateColorblind?: any;
|
|
88
|
-
tint?: any;
|
|
89
|
-
trim?: any;
|
|
90
|
-
unsharpMask?: any;
|
|
91
|
-
vectorize?: any;
|
|
92
|
-
vibrance?: any;
|
|
93
|
-
vignette?: any;
|
|
94
|
-
effects?: {
|
|
95
|
-
angle?: any;
|
|
96
|
-
art?: any;
|
|
97
|
-
autoBrightness?: any;
|
|
98
|
-
autoColor?: any;
|
|
99
|
-
autoContrast?: any;
|
|
100
|
-
assistColorblind?: any;
|
|
101
|
-
background?: any;
|
|
102
|
-
blackwhite?: any;
|
|
103
|
-
blur?: any;
|
|
104
|
-
blurFaces?: any;
|
|
105
|
-
blurRegion?: any;
|
|
106
|
-
border?: any;
|
|
107
|
-
brightness?: any;
|
|
108
|
-
brightnessHSB?: any;
|
|
109
|
-
cartoonify?: any;
|
|
110
|
-
color?: any;
|
|
111
|
-
colorize?: any;
|
|
112
|
-
contrast?: any;
|
|
113
|
-
distort?: any;
|
|
114
|
-
fillLight?: any;
|
|
115
|
-
gamma?: any;
|
|
116
|
-
gradientFade?: any;
|
|
117
|
-
grayscale?: any;
|
|
118
|
-
improve?: any;
|
|
119
|
-
loop?: any;
|
|
120
|
-
multiply?: any;
|
|
121
|
-
negate?: any;
|
|
122
|
-
oilPaint?: any;
|
|
123
|
-
opacity?: any;
|
|
124
|
-
outline?: any;
|
|
125
|
-
pixelate?: any;
|
|
126
|
-
pixelateFaces?: any;
|
|
127
|
-
pixelateRegion?: any;
|
|
128
|
-
radius?: any;
|
|
129
|
-
redeye?: any;
|
|
130
|
-
replaceColor?: any;
|
|
131
|
-
saturation?: any;
|
|
132
|
-
screen?: any;
|
|
133
|
-
sepia?: any;
|
|
134
|
-
shadow?: any;
|
|
135
|
-
sharpen?: any;
|
|
136
|
-
shear?: any;
|
|
137
|
-
simulateColorblind?: any;
|
|
138
|
-
tint?: any;
|
|
139
|
-
trim?: any;
|
|
140
|
-
unsharpMask?: any;
|
|
141
|
-
vectorize?: any;
|
|
142
|
-
vibrance?: any;
|
|
143
|
-
vignette?: any;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
146
|
-
text?: string | undefined;
|
|
147
|
-
version?: string | number | undefined;
|
|
148
|
-
underlay?: string | undefined;
|
|
149
|
-
underlays?: {
|
|
150
|
-
appliedEffects?: {}[] | undefined;
|
|
151
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
152
|
-
effects?: {}[] | undefined;
|
|
153
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
154
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
155
|
-
height?: string | number | undefined;
|
|
156
|
-
position?: {
|
|
157
|
-
angle?: string | number | undefined;
|
|
158
|
-
gravity?: string | undefined;
|
|
159
|
-
x?: string | number | undefined;
|
|
160
|
-
y?: string | number | undefined;
|
|
161
|
-
} | undefined;
|
|
162
|
-
publicId?: string | undefined;
|
|
163
|
-
type?: string | undefined;
|
|
164
|
-
url?: string | undefined;
|
|
165
|
-
width?: string | number | undefined;
|
|
166
|
-
}[] | undefined;
|
|
167
|
-
seoSuffix?: string | undefined;
|
|
168
|
-
removeBackground?: boolean | undefined;
|
|
169
|
-
rawTransformations?: string | string[] | undefined;
|
|
170
|
-
overlay?: {
|
|
171
|
-
appliedEffects?: {}[] | undefined;
|
|
172
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
173
|
-
effects?: {}[] | undefined;
|
|
174
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
175
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
176
|
-
height?: string | number | undefined;
|
|
177
|
-
position?: {
|
|
178
|
-
angle?: string | number | undefined;
|
|
179
|
-
gravity?: string | undefined;
|
|
180
|
-
x?: string | number | undefined;
|
|
181
|
-
y?: string | number | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
publicId?: string | undefined;
|
|
184
|
-
text?: string | {
|
|
185
|
-
text: string;
|
|
186
|
-
alignment?: string | undefined;
|
|
187
|
-
antialias?: string | undefined;
|
|
188
|
-
border?: string | undefined;
|
|
189
|
-
color?: string | undefined;
|
|
190
|
-
fontFamily?: string | undefined;
|
|
191
|
-
fontSize?: number | undefined;
|
|
192
|
-
fontStyle?: string | number | undefined;
|
|
193
|
-
fontWeight?: string | undefined;
|
|
194
|
-
hinting?: string | number | undefined;
|
|
195
|
-
letterSpacing?: string | number | undefined;
|
|
196
|
-
lineSpacing?: string | number | undefined;
|
|
197
|
-
stroke?: string | undefined;
|
|
198
|
-
} | undefined;
|
|
199
|
-
url?: string | undefined;
|
|
200
|
-
width?: string | number | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
overlays?: {
|
|
203
|
-
appliedEffects?: {}[] | undefined;
|
|
204
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
205
|
-
effects?: {}[] | undefined;
|
|
206
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
207
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
208
|
-
height?: string | number | undefined;
|
|
209
|
-
position?: {
|
|
210
|
-
angle?: string | number | undefined;
|
|
211
|
-
gravity?: string | undefined;
|
|
212
|
-
x?: string | number | undefined;
|
|
213
|
-
y?: string | number | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
publicId?: string | undefined;
|
|
216
|
-
text?: string | {
|
|
217
|
-
text: string;
|
|
218
|
-
alignment?: string | undefined;
|
|
219
|
-
antialias?: string | undefined;
|
|
220
|
-
border?: string | undefined;
|
|
221
|
-
color?: string | undefined;
|
|
222
|
-
fontFamily?: string | undefined;
|
|
223
|
-
fontSize?: number | undefined;
|
|
224
|
-
fontStyle?: string | number | undefined;
|
|
225
|
-
fontWeight?: string | undefined;
|
|
226
|
-
hinting?: string | number | undefined;
|
|
227
|
-
letterSpacing?: string | number | undefined;
|
|
228
|
-
lineSpacing?: string | number | undefined;
|
|
229
|
-
stroke?: string | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
url?: string | undefined;
|
|
232
|
-
width?: string | number | undefined;
|
|
233
|
-
}[] | undefined;
|
|
234
|
-
namedTransformations?: string | string[] | undefined;
|
|
235
|
-
transformations?: string | string[] | undefined;
|
|
236
|
-
zoompan?: string | boolean | {
|
|
237
|
-
options: string;
|
|
238
|
-
loop?: any;
|
|
239
|
-
} | undefined;
|
|
240
|
-
restore?: boolean | undefined;
|
|
241
|
-
replace?: string[] | boolean[] | {
|
|
242
|
-
to: string;
|
|
243
|
-
from: string;
|
|
244
|
-
preserveGeometry?: boolean | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
remove?: string | string[] | {
|
|
247
|
-
prompt?: string | string[] | undefined;
|
|
248
|
-
region?: number[] | number[][] | undefined;
|
|
249
|
-
multiple?: boolean | undefined;
|
|
250
|
-
removeShadow?: boolean | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
recolor?: string | string[] | {
|
|
253
|
-
prompt?: string | string[] | undefined;
|
|
254
|
-
to?: string | undefined;
|
|
255
|
-
multiple?: boolean | undefined;
|
|
256
|
-
} | undefined;
|
|
257
|
-
fillBackground?: boolean | {
|
|
258
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
259
|
-
gravity?: string | undefined;
|
|
260
|
-
prompt?: string | undefined;
|
|
261
|
-
} | undefined;
|
|
262
|
-
enhance?: boolean | undefined;
|
|
263
|
-
defaultImage?: string | undefined;
|
|
264
|
-
} & {
|
|
265
|
-
config?: _cloudinary_util_url_loader_dist_schema_qgX3upLv.e | undefined;
|
|
266
|
-
preserveTransformations?: boolean | undefined;
|
|
13
|
+
declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src" | "quality"> & ImageOptions & {
|
|
14
|
+
config?: ConfigOptions;
|
|
15
|
+
preserveTransformations?: boolean;
|
|
267
16
|
src: string;
|
|
268
|
-
unoptimized?: boolean
|
|
17
|
+
unoptimized?: boolean;
|
|
269
18
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
270
19
|
|
|
271
20
|
type CldOgImageProps = CldImageProps & {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _cloudinary_util_url_loader_dist_schema_qgX3upLv from '@cloudinary-util/url-loader/dist/schema-qgX3upLv';
|
|
2
1
|
import React, { MutableRefObject } from 'react';
|
|
3
2
|
import { ImageProps } from 'next/image';
|
|
4
3
|
import { ImageOptions, ConfigOptions, AnalyticsOptions, VideoOptions } from '@cloudinary-util/url-loader';
|
|
@@ -11,261 +10,11 @@ type CldImageProps = Omit<ImageProps, 'src' | 'quality'> & ImageOptions & {
|
|
|
11
10
|
src: string;
|
|
12
11
|
unoptimized?: boolean;
|
|
13
12
|
};
|
|
14
|
-
declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src" | "quality"> & {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
type: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop";
|
|
18
|
-
aspectRatio?: string | number | undefined;
|
|
19
|
-
gravity?: string | undefined;
|
|
20
|
-
height?: string | number | undefined;
|
|
21
|
-
width?: string | number | undefined;
|
|
22
|
-
zoom?: string | undefined;
|
|
23
|
-
source?: boolean | undefined;
|
|
24
|
-
} | {
|
|
25
|
-
type: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop";
|
|
26
|
-
aspectRatio?: string | number | undefined;
|
|
27
|
-
gravity?: string | undefined;
|
|
28
|
-
height?: string | number | undefined;
|
|
29
|
-
width?: string | number | undefined;
|
|
30
|
-
zoom?: string | undefined;
|
|
31
|
-
source?: boolean | undefined;
|
|
32
|
-
}[] | undefined;
|
|
33
|
-
sanitize?: boolean | undefined;
|
|
34
|
-
assetType?: string | undefined;
|
|
35
|
-
deliveryType?: string | undefined;
|
|
36
|
-
dpr?: string | number | undefined;
|
|
37
|
-
format?: string | undefined;
|
|
38
|
-
height?: string | number | undefined;
|
|
39
|
-
quality?: string | number | undefined;
|
|
40
|
-
strictTransformations?: boolean | undefined;
|
|
41
|
-
width?: string | number | undefined;
|
|
42
|
-
aspectRatio?: string | number | undefined;
|
|
43
|
-
gravity?: string | undefined;
|
|
44
|
-
zoom?: string | undefined;
|
|
45
|
-
angle?: any;
|
|
46
|
-
art?: any;
|
|
47
|
-
autoBrightness?: any;
|
|
48
|
-
autoColor?: any;
|
|
49
|
-
autoContrast?: any;
|
|
50
|
-
assistColorblind?: any;
|
|
51
|
-
background?: any;
|
|
52
|
-
blackwhite?: any;
|
|
53
|
-
blur?: any;
|
|
54
|
-
blurFaces?: any;
|
|
55
|
-
blurRegion?: any;
|
|
56
|
-
border?: any;
|
|
57
|
-
brightness?: any;
|
|
58
|
-
brightnessHSB?: any;
|
|
59
|
-
cartoonify?: any;
|
|
60
|
-
color?: any;
|
|
61
|
-
colorize?: any;
|
|
62
|
-
contrast?: any;
|
|
63
|
-
distort?: any;
|
|
64
|
-
fillLight?: any;
|
|
65
|
-
gamma?: any;
|
|
66
|
-
gradientFade?: any;
|
|
67
|
-
grayscale?: any;
|
|
68
|
-
improve?: any;
|
|
69
|
-
loop?: any;
|
|
70
|
-
multiply?: any;
|
|
71
|
-
negate?: any;
|
|
72
|
-
oilPaint?: any;
|
|
73
|
-
opacity?: any;
|
|
74
|
-
outline?: any;
|
|
75
|
-
pixelate?: any;
|
|
76
|
-
pixelateFaces?: any;
|
|
77
|
-
pixelateRegion?: any;
|
|
78
|
-
radius?: any;
|
|
79
|
-
redeye?: any;
|
|
80
|
-
replaceColor?: any;
|
|
81
|
-
saturation?: any;
|
|
82
|
-
screen?: any;
|
|
83
|
-
sepia?: any;
|
|
84
|
-
shadow?: any;
|
|
85
|
-
sharpen?: any;
|
|
86
|
-
shear?: any;
|
|
87
|
-
simulateColorblind?: any;
|
|
88
|
-
tint?: any;
|
|
89
|
-
trim?: any;
|
|
90
|
-
unsharpMask?: any;
|
|
91
|
-
vectorize?: any;
|
|
92
|
-
vibrance?: any;
|
|
93
|
-
vignette?: any;
|
|
94
|
-
effects?: {
|
|
95
|
-
angle?: any;
|
|
96
|
-
art?: any;
|
|
97
|
-
autoBrightness?: any;
|
|
98
|
-
autoColor?: any;
|
|
99
|
-
autoContrast?: any;
|
|
100
|
-
assistColorblind?: any;
|
|
101
|
-
background?: any;
|
|
102
|
-
blackwhite?: any;
|
|
103
|
-
blur?: any;
|
|
104
|
-
blurFaces?: any;
|
|
105
|
-
blurRegion?: any;
|
|
106
|
-
border?: any;
|
|
107
|
-
brightness?: any;
|
|
108
|
-
brightnessHSB?: any;
|
|
109
|
-
cartoonify?: any;
|
|
110
|
-
color?: any;
|
|
111
|
-
colorize?: any;
|
|
112
|
-
contrast?: any;
|
|
113
|
-
distort?: any;
|
|
114
|
-
fillLight?: any;
|
|
115
|
-
gamma?: any;
|
|
116
|
-
gradientFade?: any;
|
|
117
|
-
grayscale?: any;
|
|
118
|
-
improve?: any;
|
|
119
|
-
loop?: any;
|
|
120
|
-
multiply?: any;
|
|
121
|
-
negate?: any;
|
|
122
|
-
oilPaint?: any;
|
|
123
|
-
opacity?: any;
|
|
124
|
-
outline?: any;
|
|
125
|
-
pixelate?: any;
|
|
126
|
-
pixelateFaces?: any;
|
|
127
|
-
pixelateRegion?: any;
|
|
128
|
-
radius?: any;
|
|
129
|
-
redeye?: any;
|
|
130
|
-
replaceColor?: any;
|
|
131
|
-
saturation?: any;
|
|
132
|
-
screen?: any;
|
|
133
|
-
sepia?: any;
|
|
134
|
-
shadow?: any;
|
|
135
|
-
sharpen?: any;
|
|
136
|
-
shear?: any;
|
|
137
|
-
simulateColorblind?: any;
|
|
138
|
-
tint?: any;
|
|
139
|
-
trim?: any;
|
|
140
|
-
unsharpMask?: any;
|
|
141
|
-
vectorize?: any;
|
|
142
|
-
vibrance?: any;
|
|
143
|
-
vignette?: any;
|
|
144
|
-
}[] | undefined;
|
|
145
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
146
|
-
text?: string | undefined;
|
|
147
|
-
version?: string | number | undefined;
|
|
148
|
-
underlay?: string | undefined;
|
|
149
|
-
underlays?: {
|
|
150
|
-
appliedEffects?: {}[] | undefined;
|
|
151
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
152
|
-
effects?: {}[] | undefined;
|
|
153
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
154
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
155
|
-
height?: string | number | undefined;
|
|
156
|
-
position?: {
|
|
157
|
-
angle?: string | number | undefined;
|
|
158
|
-
gravity?: string | undefined;
|
|
159
|
-
x?: string | number | undefined;
|
|
160
|
-
y?: string | number | undefined;
|
|
161
|
-
} | undefined;
|
|
162
|
-
publicId?: string | undefined;
|
|
163
|
-
type?: string | undefined;
|
|
164
|
-
url?: string | undefined;
|
|
165
|
-
width?: string | number | undefined;
|
|
166
|
-
}[] | undefined;
|
|
167
|
-
seoSuffix?: string | undefined;
|
|
168
|
-
removeBackground?: boolean | undefined;
|
|
169
|
-
rawTransformations?: string | string[] | undefined;
|
|
170
|
-
overlay?: {
|
|
171
|
-
appliedEffects?: {}[] | undefined;
|
|
172
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
173
|
-
effects?: {}[] | undefined;
|
|
174
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
175
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
176
|
-
height?: string | number | undefined;
|
|
177
|
-
position?: {
|
|
178
|
-
angle?: string | number | undefined;
|
|
179
|
-
gravity?: string | undefined;
|
|
180
|
-
x?: string | number | undefined;
|
|
181
|
-
y?: string | number | undefined;
|
|
182
|
-
} | undefined;
|
|
183
|
-
publicId?: string | undefined;
|
|
184
|
-
text?: string | {
|
|
185
|
-
text: string;
|
|
186
|
-
alignment?: string | undefined;
|
|
187
|
-
antialias?: string | undefined;
|
|
188
|
-
border?: string | undefined;
|
|
189
|
-
color?: string | undefined;
|
|
190
|
-
fontFamily?: string | undefined;
|
|
191
|
-
fontSize?: number | undefined;
|
|
192
|
-
fontStyle?: string | number | undefined;
|
|
193
|
-
fontWeight?: string | undefined;
|
|
194
|
-
hinting?: string | number | undefined;
|
|
195
|
-
letterSpacing?: string | number | undefined;
|
|
196
|
-
lineSpacing?: string | number | undefined;
|
|
197
|
-
stroke?: string | undefined;
|
|
198
|
-
} | undefined;
|
|
199
|
-
url?: string | undefined;
|
|
200
|
-
width?: string | number | undefined;
|
|
201
|
-
} | undefined;
|
|
202
|
-
overlays?: {
|
|
203
|
-
appliedEffects?: {}[] | undefined;
|
|
204
|
-
appliedFlags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
205
|
-
effects?: {}[] | undefined;
|
|
206
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
207
|
-
flags?: "animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("animated" | "any_format" | "apng" | "attachment" | "awebp" | "clip" | "clip_evenodd" | "cutter" | "force_icc" | "force_strip" | "getinfo" | "group4" | "hlsv3" | "ignore_aspect_ratio" | "ignore_mask_channels" | "immutable_cache" | "keep_attribution" | "keep_dar" | "keep_iptc" | "layer_apply" | "lossy" | "mono" | "no_overflow" | "no_stream" | "png8_fl_png24_fl_png32" | "preserve_transparency" | "progressive" | "rasterize" | "region_relative" | "relative" | "replace_image" | "sanitize" | "splice" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
|
|
208
|
-
height?: string | number | undefined;
|
|
209
|
-
position?: {
|
|
210
|
-
angle?: string | number | undefined;
|
|
211
|
-
gravity?: string | undefined;
|
|
212
|
-
x?: string | number | undefined;
|
|
213
|
-
y?: string | number | undefined;
|
|
214
|
-
} | undefined;
|
|
215
|
-
publicId?: string | undefined;
|
|
216
|
-
text?: string | {
|
|
217
|
-
text: string;
|
|
218
|
-
alignment?: string | undefined;
|
|
219
|
-
antialias?: string | undefined;
|
|
220
|
-
border?: string | undefined;
|
|
221
|
-
color?: string | undefined;
|
|
222
|
-
fontFamily?: string | undefined;
|
|
223
|
-
fontSize?: number | undefined;
|
|
224
|
-
fontStyle?: string | number | undefined;
|
|
225
|
-
fontWeight?: string | undefined;
|
|
226
|
-
hinting?: string | number | undefined;
|
|
227
|
-
letterSpacing?: string | number | undefined;
|
|
228
|
-
lineSpacing?: string | number | undefined;
|
|
229
|
-
stroke?: string | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
url?: string | undefined;
|
|
232
|
-
width?: string | number | undefined;
|
|
233
|
-
}[] | undefined;
|
|
234
|
-
namedTransformations?: string | string[] | undefined;
|
|
235
|
-
transformations?: string | string[] | undefined;
|
|
236
|
-
zoompan?: string | boolean | {
|
|
237
|
-
options: string;
|
|
238
|
-
loop?: any;
|
|
239
|
-
} | undefined;
|
|
240
|
-
restore?: boolean | undefined;
|
|
241
|
-
replace?: string[] | boolean[] | {
|
|
242
|
-
to: string;
|
|
243
|
-
from: string;
|
|
244
|
-
preserveGeometry?: boolean | undefined;
|
|
245
|
-
} | undefined;
|
|
246
|
-
remove?: string | string[] | {
|
|
247
|
-
prompt?: string | string[] | undefined;
|
|
248
|
-
region?: number[] | number[][] | undefined;
|
|
249
|
-
multiple?: boolean | undefined;
|
|
250
|
-
removeShadow?: boolean | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
recolor?: string | string[] | {
|
|
253
|
-
prompt?: string | string[] | undefined;
|
|
254
|
-
to?: string | undefined;
|
|
255
|
-
multiple?: boolean | undefined;
|
|
256
|
-
} | undefined;
|
|
257
|
-
fillBackground?: boolean | {
|
|
258
|
-
crop?: "auto" | "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
|
|
259
|
-
gravity?: string | undefined;
|
|
260
|
-
prompt?: string | undefined;
|
|
261
|
-
} | undefined;
|
|
262
|
-
enhance?: boolean | undefined;
|
|
263
|
-
defaultImage?: string | undefined;
|
|
264
|
-
} & {
|
|
265
|
-
config?: _cloudinary_util_url_loader_dist_schema_qgX3upLv.e | undefined;
|
|
266
|
-
preserveTransformations?: boolean | undefined;
|
|
13
|
+
declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src" | "quality"> & ImageOptions & {
|
|
14
|
+
config?: ConfigOptions;
|
|
15
|
+
preserveTransformations?: boolean;
|
|
267
16
|
src: string;
|
|
268
|
-
unoptimized?: boolean
|
|
17
|
+
unoptimized?: boolean;
|
|
269
18
|
} & React.RefAttributes<HTMLImageElement>>;
|
|
270
19
|
|
|
271
20
|
type CldOgImageProps = CldImageProps & {
|