next-cloudinary 5.18.0 → 5.20.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/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  ######
14
14
 
15
- <a href="https://github.com/colbyfayock/next-cloudinary/actions/workflows/test_and_release.yml"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/colbyfayock/next-cloudinary/test_and_release.yml?branch=main&label=Test%20%26%20Release&style=flat-square"></a> <a href="https://www.npmjs.com/package/next-cloudinary"><img alt="npm" src="https://img.shields.io/npm/v/next-cloudinary?style=flat-square"></a> <a href="https://github.com/colbyfayock/next-cloudinary/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/colbyfayock/next-cloudinary?label=License&style=flat-square"></a>
15
+ <a href="https://github.com/cloudinary-community/next-cloudinary/actions/workflows/test_and_release.yml"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/cloudinary-community/next-cloudinary/test_and_release.yml?branch=main&label=Test%20%26%20Release&style=flat-square"></a> <a href="https://www.npmjs.com/package/next-cloudinary"><img alt="npm" src="https://img.shields.io/npm/v/next-cloudinary?style=flat-square"></a> <a href="https://github.com/cloudinary-community/next-cloudinary/blob/main/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/cloudinary-community/next-cloudinary?label=License&style=flat-square"></a>
16
16
 
17
17
  # Next Cloudinary
18
18
 
@@ -80,12 +80,12 @@ import { CldImage } from 'next-cloudinary';
80
80
 
81
81
  ## ❤️ Community & Support
82
82
 
83
- * [GitHub: Create an Issue](https://github.com/colbyfayock/next-cloudinary/issues)
83
+ * [GitHub: Create an Issue](https://github.com/cloudinary-community/next-cloudinary/issues)
84
84
  * [Twitter: @colbyfayock](https://twitter.com/colbyfayock)
85
85
 
86
86
  ## 🛠 Contributing
87
87
 
88
- Please read [CONTRIBUTING.md](https://github.com/colbyfayock/next-cloudinary/blob/main/CONTRIBUTING.md) prior to contributing.
88
+ Please read [CONTRIBUTING.md](https://github.com/cloudinary-community/next-cloudinary/blob/main/CONTRIBUTING.md) prior to contributing.
89
89
 
90
90
  ### Working Locally
91
91
 
@@ -165,36 +165,37 @@ yarn test
165
165
  <table>
166
166
  <tbody>
167
167
  <tr>
168
- <td align="center" valign="top" width="14.28%"><a href="https://colbyfayock.com/newsletter"><img src="https://avatars.githubusercontent.com/u/1045274?v=4?s=100" width="100px;" alt="Colby Fayock"/><br /><sub><b>Colby Fayock</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=colbyfayock" title="Code">💻</a> <a href="https://github.com/colbyfayock/next-cloudinary/commits?author=colbyfayock" title="Documentation">📖</a> <a href="#example-colbyfayock" title="Examples">💡</a></td>
169
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/danielolaviobr"><img src="https://avatars.githubusercontent.com/u/64712584?v=4?s=100" width="100px;" alt="Daniel Olavio"/><br /><sub><b>Daniel Olavio</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=danielolaviobr" title="Code">💻</a></td>
168
+ <td align="center" valign="top" width="14.28%"><a href="https://colbyfayock.com/newsletter"><img src="https://avatars.githubusercontent.com/u/1045274?v=4?s=100" width="100px;" alt="Colby Fayock"/><br /><sub><b>Colby Fayock</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=colbyfayock" title="Code">💻</a> <a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=colbyfayock" title="Documentation">📖</a> <a href="#example-colbyfayock" title="Examples">💡</a></td>
169
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/danielolaviobr"><img src="https://avatars.githubusercontent.com/u/64712584?v=4?s=100" width="100px;" alt="Daniel Olavio"/><br /><sub><b>Daniel Olavio</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=danielolaviobr" title="Code">💻</a></td>
170
170
  <td align="center" valign="top" width="14.28%"><a href="http://www.ramadevsign.com"><img src="https://avatars.githubusercontent.com/u/50571688?v=4?s=100" width="100px;" alt="ramadevsign"/><br /><sub><b>ramadevsign</b></sub></a><br /><a href="#tool-orama254" title="Tools">🔧</a></td>
171
- <td align="center" valign="top" width="14.28%"><a href="https://kbravh.dev"><img src="https://avatars.githubusercontent.com/u/30562119?v=4?s=100" width="100px;" alt="Karey Higuera"/><br /><sub><b>Karey Higuera</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=kbravh" title="Tests">⚠️</a> <a href="https://github.com/colbyfayock/next-cloudinary/commits?author=kbravh" title="Code">💻</a></td>
171
+ <td align="center" valign="top" width="14.28%"><a href="https://kbravh.dev"><img src="https://avatars.githubusercontent.com/u/30562119?v=4?s=100" width="100px;" alt="Karey Higuera"/><br /><sub><b>Karey Higuera</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=kbravh" title="Tests">⚠️</a> <a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=kbravh" title="Code">💻</a></td>
172
172
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/Azanul"><img src="https://avatars.githubusercontent.com/u/42029519?v=4?s=100" width="100px;" alt="Azanul Haque"/><br /><sub><b>Azanul Haque</b></sub></a><br /><a href="#tool-Azanul" title="Tools">🔧</a></td>
173
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/3t8"><img src="https://avatars.githubusercontent.com/u/62209650?v=4?s=100" width="100px;" alt="3t8"/><br /><sub><b>3t8</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=3t8" title="Documentation">📖</a></td>
174
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/agbanusi"><img src="https://avatars.githubusercontent.com/u/53221092?v=4?s=100" width="100px;" alt="John Agbanusi"/><br /><sub><b>John Agbanusi</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=agbanusi" title="Code">💻</a> <a href="https://github.com/colbyfayock/next-cloudinary/commits?author=agbanusi" title="Documentation">📖</a></td>
173
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/3t8"><img src="https://avatars.githubusercontent.com/u/62209650?v=4?s=100" width="100px;" alt="3t8"/><br /><sub><b>3t8</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=3t8" title="Documentation">📖</a></td>
174
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/agbanusi"><img src="https://avatars.githubusercontent.com/u/53221092?v=4?s=100" width="100px;" alt="John Agbanusi"/><br /><sub><b>John Agbanusi</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=agbanusi" title="Code">💻</a> <a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=agbanusi" title="Documentation">📖</a></td>
175
175
  </tr>
176
176
  <tr>
177
- <td align="center" valign="top" width="14.28%"><a href="http://joanleon.dev"><img src="https://avatars.githubusercontent.com/u/1307927?v=4?s=100" width="100px;" alt="Joan León"/><br /><sub><b>Joan León</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=nucliweb" title="Documentation">📖</a></td>
178
- <td align="center" valign="top" width="14.28%"><a href="http://www.timbenniks.dev"><img src="https://avatars.githubusercontent.com/u/121096?v=4?s=100" width="100px;" alt="Tim Benniks"/><br /><sub><b>Tim Benniks</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=timbenniks" title="Code">💻</a> <a href="https://github.com/colbyfayock/next-cloudinary/commits?author=timbenniks" title="Documentation">📖</a></td>
179
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/csgochan"><img src="https://avatars.githubusercontent.com/u/116420257?v=4?s=100" width="100px;" alt="csgochan"/><br /><sub><b>csgochan</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=csgochan" title="Documentation">📖</a></td>
180
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/codingis4noobs2"><img src="https://avatars.githubusercontent.com/u/87560178?v=4?s=100" width="100px;" alt="codingis4noobs2"/><br /><sub><b>codingis4noobs2</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=codingis4noobs2" title="Code">💻</a> <a href="https://github.com/colbyfayock/next-cloudinary/commits?author=codingis4noobs2" title="Tests">⚠️</a></td>
181
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/michizhou"><img src="https://avatars.githubusercontent.com/u/33012425?v=4?s=100" width="100px;" alt="michizhou"/><br /><sub><b>michizhou</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=michizhou" title="Code">💻</a></td>
182
- <td align="center" valign="top" width="14.28%"><a href="https://leeconlin.co.uk"><img src="https://avatars.githubusercontent.com/u/1023581?v=4?s=100" width="100px;" alt="Lee Conlin"/><br /><sub><b>Lee Conlin</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=hades200082" title="Code">💻</a></td>
183
- <td align="center" valign="top" width="14.28%"><a href="https://wannabe-polyglot.com"><img src="https://avatars.githubusercontent.com/u/1134611?v=4?s=100" width="100px;" alt="Ryan Smith"/><br /><sub><b>Ryan Smith</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=tanzoniteblack" title="Code">💻</a></td>
177
+ <td align="center" valign="top" width="14.28%"><a href="http://joanleon.dev"><img src="https://avatars.githubusercontent.com/u/1307927?v=4?s=100" width="100px;" alt="Joan León"/><br /><sub><b>Joan León</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=nucliweb" title="Documentation">📖</a></td>
178
+ <td align="center" valign="top" width="14.28%"><a href="http://www.timbenniks.dev"><img src="https://avatars.githubusercontent.com/u/121096?v=4?s=100" width="100px;" alt="Tim Benniks"/><br /><sub><b>Tim Benniks</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=timbenniks" title="Code">💻</a> <a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=timbenniks" title="Documentation">📖</a></td>
179
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/csgochan"><img src="https://avatars.githubusercontent.com/u/116420257?v=4?s=100" width="100px;" alt="csgochan"/><br /><sub><b>csgochan</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=csgochan" title="Documentation">📖</a></td>
180
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/codingis4noobs2"><img src="https://avatars.githubusercontent.com/u/87560178?v=4?s=100" width="100px;" alt="codingis4noobs2"/><br /><sub><b>codingis4noobs2</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=codingis4noobs2" title="Code">💻</a> <a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=codingis4noobs2" title="Tests">⚠️</a></td>
181
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/michizhou"><img src="https://avatars.githubusercontent.com/u/33012425?v=4?s=100" width="100px;" alt="michizhou"/><br /><sub><b>michizhou</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=michizhou" title="Code">💻</a></td>
182
+ <td align="center" valign="top" width="14.28%"><a href="https://leeconlin.co.uk"><img src="https://avatars.githubusercontent.com/u/1023581?v=4?s=100" width="100px;" alt="Lee Conlin"/><br /><sub><b>Lee Conlin</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=hades200082" title="Code">💻</a></td>
183
+ <td align="center" valign="top" width="14.28%"><a href="https://wannabe-polyglot.com"><img src="https://avatars.githubusercontent.com/u/1134611?v=4?s=100" width="100px;" alt="Ryan Smith"/><br /><sub><b>Ryan Smith</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=tanzoniteblack" title="Code">💻</a></td>
184
184
  </tr>
185
185
  <tr>
186
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/mtliendo"><img src="https://avatars.githubusercontent.com/u/5106417?v=4?s=100" width="100px;" alt="Michael Liendo"/><br /><sub><b>Michael Liendo</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=mtliendo" title="Documentation">📖</a></td>
187
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/jackblatch"><img src="https://avatars.githubusercontent.com/u/98260549?v=4?s=100" width="100px;" alt="Jack"/><br /><sub><b>Jack</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=jackblatch" title="Code">💻</a></td>
188
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/mcgois"><img src="https://avatars.githubusercontent.com/u/1241779?v=4?s=100" width="100px;" alt="Matheus Cabral"/><br /><sub><b>Matheus Cabral</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=mcgois" title="Code">💻</a></td>
189
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/Elegidoadedo"><img src="https://avatars.githubusercontent.com/u/26023012?v=4?s=100" width="100px;" alt="Jose Morales"/><br /><sub><b>Jose Morales</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=Elegidoadedo" title="Code">💻</a></td>
190
- <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/ericpfister55/"><img src="https://avatars.githubusercontent.com/u/9849849?v=4?s=100" width="100px;" alt="Eric Pfister"/><br /><sub><b>Eric Pfister</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=PfisterFactor" title="Code">💻</a></td>
191
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/JoshuaRotimi"><img src="https://avatars.githubusercontent.com/u/62189959?v=4?s=100" width="100px;" alt="Joshua Olorunnipa"/><br /><sub><b>Joshua Olorunnipa</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=JoshuaRotimi" title="Code">💻</a></td>
192
- <td align="center" valign="top" width="14.28%"><a href="http://harindra.netlify.app"><img src="https://avatars.githubusercontent.com/u/92938055?v=4?s=100" width="100px;" alt="Hari"/><br /><sub><b>Hari</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=NateNear" title="Documentation">📖</a></td>
186
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/mtliendo"><img src="https://avatars.githubusercontent.com/u/5106417?v=4?s=100" width="100px;" alt="Michael Liendo"/><br /><sub><b>Michael Liendo</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=mtliendo" title="Documentation">📖</a></td>
187
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/jackblatch"><img src="https://avatars.githubusercontent.com/u/98260549?v=4?s=100" width="100px;" alt="Jack"/><br /><sub><b>Jack</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=jackblatch" title="Code">💻</a></td>
188
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/mcgois"><img src="https://avatars.githubusercontent.com/u/1241779?v=4?s=100" width="100px;" alt="Matheus Cabral"/><br /><sub><b>Matheus Cabral</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=mcgois" title="Code">💻</a></td>
189
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Elegidoadedo"><img src="https://avatars.githubusercontent.com/u/26023012?v=4?s=100" width="100px;" alt="Jose Morales"/><br /><sub><b>Jose Morales</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=Elegidoadedo" title="Code">💻</a></td>
190
+ <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/ericpfister55/"><img src="https://avatars.githubusercontent.com/u/9849849?v=4?s=100" width="100px;" alt="Eric Pfister"/><br /><sub><b>Eric Pfister</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=PfisterFactor" title="Code">💻</a></td>
191
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/JoshuaRotimi"><img src="https://avatars.githubusercontent.com/u/62189959?v=4?s=100" width="100px;" alt="Joshua Olorunnipa"/><br /><sub><b>Joshua Olorunnipa</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=JoshuaRotimi" title="Code">💻</a></td>
192
+ <td align="center" valign="top" width="14.28%"><a href="http://harindra.netlify.app"><img src="https://avatars.githubusercontent.com/u/92938055?v=4?s=100" width="100px;" alt="Hari"/><br /><sub><b>Hari</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=NateNear" title="Documentation">📖</a></td>
193
193
  </tr>
194
194
  <tr>
195
- <td align="center" valign="top" width="14.28%"><a href="https://msk4862.github.io"><img src="https://avatars.githubusercontent.com/u/24875366?v=4?s=100" width="100px;" alt="Shoaib Asgar"/><br /><sub><b>Shoaib Asgar</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=msk4862" title="Code">💻</a></td>
196
- <td align="center" valign="top" width="14.28%"><a href="https://dev-yemi.vercel.app/"><img src="https://avatars.githubusercontent.com/u/68167320?v=4?s=100" width="100px;" alt="Adeyanju Adeyemi"/><br /><sub><b>Adeyanju Adeyemi</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=DevYemi" title="Code">💻</a></td>
195
+ <td align="center" valign="top" width="14.28%"><a href="https://msk4862.github.io"><img src="https://avatars.githubusercontent.com/u/24875366?v=4?s=100" width="100px;" alt="Shoaib Asgar"/><br /><sub><b>Shoaib Asgar</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=msk4862" title="Code">💻</a></td>
196
+ <td align="center" valign="top" width="14.28%"><a href="https://dev-yemi.vercel.app/"><img src="https://avatars.githubusercontent.com/u/68167320?v=4?s=100" width="100px;" alt="Adeyanju Adeyemi"/><br /><sub><b>Adeyanju Adeyemi</b></sub></a><br /><a href="https://github.com/cloudinary-community/next-cloudinary/commits?author=DevYemi" title="Code">💻</a></td>
197
197
  <td align="center" valign="top" width="14.28%"><a href="http://www.simonbukin.com"><img src="https://avatars.githubusercontent.com/u/8992420?v=4?s=100" width="100px;" alt="Simon"/><br /><sub><b>Simon</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=simonbukin" title="Documentation">📖</a></td>
198
+ <td align="center" valign="top" width="14.28%"><a href="https://robray.dev/"><img src="https://avatars.githubusercontent.com/u/1377253?v=4?s=100" width="100px;" alt="Richard Oliver Bray"/><br /><sub><b>Richard Oliver Bray</b></sub></a><br /><a href="https://github.com/colbyfayock/next-cloudinary/commits?author=RichardBray" title="Code">💻</a></td>
198
199
  </tr>
199
200
  </tbody>
200
201
  </table>
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import * as _cloudinary_url_gen_config_interfaces_Config_ICloudinaryConfigurations from '@cloudinary/url-gen/config/interfaces/Config/ICloudinaryConfigurations';
1
2
  import React, { MutableRefObject } from 'react';
2
3
  import { ImageProps } from 'next/image';
3
4
  import { ImageOptions, ConfigOptions, AnalyticsOptions, VideoOptions } from '@cloudinary-util/url-loader';
@@ -8,8 +9,238 @@ type CldImageProps = Omit<ImageProps, 'src'> & ImageOptions & {
8
9
  src: string;
9
10
  unoptimized?: boolean;
10
11
  };
11
- declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src"> & ImageOptions & {
12
- config?: ConfigOptions | undefined;
12
+ declare const CldImage: React.ForwardRefExoticComponent<Omit<ImageProps, "src"> & {
13
+ src: string;
14
+ crop?: "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
15
+ sanitize?: boolean | undefined;
16
+ assetType?: string | undefined;
17
+ deliveryType?: string | undefined;
18
+ dpr?: string | number | undefined;
19
+ format?: string | undefined;
20
+ height?: string | number | undefined;
21
+ quality?: string | number | undefined;
22
+ strictTransformations?: boolean | undefined;
23
+ width?: string | number | undefined;
24
+ art?: any;
25
+ autoBrightness?: any;
26
+ autoColor?: any;
27
+ autoContrast?: any;
28
+ assistColorblind?: any;
29
+ background?: any;
30
+ blackwhite?: any;
31
+ blur?: any;
32
+ blurFaces?: any;
33
+ blurRegion?: any;
34
+ border?: any;
35
+ brightness?: any;
36
+ brightnessHSB?: any;
37
+ cartoonify?: any;
38
+ color?: any;
39
+ colorize?: any;
40
+ contrast?: any;
41
+ distort?: any;
42
+ fillLight?: any;
43
+ gamma?: any;
44
+ gradientFade?: any;
45
+ grayscale?: any;
46
+ improve?: any;
47
+ multiply?: any;
48
+ negate?: any;
49
+ oilPaint?: any;
50
+ opacity?: any;
51
+ outline?: any;
52
+ pixelate?: any;
53
+ pixelateFaces?: any;
54
+ pixelateRegion?: any;
55
+ radius?: any;
56
+ redeye?: any;
57
+ replaceColor?: any;
58
+ saturation?: any;
59
+ screen?: any;
60
+ sepia?: any;
61
+ shadow?: any;
62
+ sharpen?: any;
63
+ shear?: any;
64
+ simulateColorblind?: any;
65
+ tint?: any;
66
+ trim?: any;
67
+ unsharpMask?: any;
68
+ vectorize?: any;
69
+ vibrance?: any;
70
+ vignette?: any;
71
+ effects?: {
72
+ art?: any;
73
+ autoBrightness?: any;
74
+ autoColor?: any;
75
+ autoContrast?: any;
76
+ assistColorblind?: any;
77
+ background?: any;
78
+ blackwhite?: any;
79
+ blur?: any;
80
+ blurFaces?: any;
81
+ blurRegion?: any;
82
+ border?: any;
83
+ brightness?: any;
84
+ brightnessHSB?: any;
85
+ cartoonify?: any;
86
+ color?: any;
87
+ colorize?: any;
88
+ contrast?: any;
89
+ distort?: any;
90
+ fillLight?: any;
91
+ gamma?: any;
92
+ gradientFade?: any;
93
+ grayscale?: any;
94
+ improve?: any;
95
+ multiply?: any;
96
+ negate?: any;
97
+ oilPaint?: any;
98
+ opacity?: any;
99
+ outline?: any;
100
+ pixelate?: any;
101
+ pixelateFaces?: any;
102
+ pixelateRegion?: any;
103
+ radius?: any;
104
+ redeye?: any;
105
+ replaceColor?: any;
106
+ saturation?: any;
107
+ screen?: any;
108
+ sepia?: any;
109
+ shadow?: any;
110
+ sharpen?: any;
111
+ shear?: any;
112
+ simulateColorblind?: any;
113
+ tint?: any;
114
+ trim?: any;
115
+ unsharpMask?: any;
116
+ vectorize?: any;
117
+ vibrance?: any;
118
+ vignette?: any;
119
+ }[] | undefined;
120
+ flags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
121
+ gravity?: string | undefined;
122
+ text?: string | undefined;
123
+ version?: string | number | undefined;
124
+ underlay?: string | undefined;
125
+ underlays?: {
126
+ appliedEffects?: {}[] | undefined;
127
+ appliedFlags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
128
+ effects?: {}[] | undefined;
129
+ crop?: "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
130
+ flags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
131
+ height?: string | number | undefined;
132
+ position?: {
133
+ angle?: string | number | undefined;
134
+ gravity?: string | undefined;
135
+ x?: string | number | undefined;
136
+ y?: string | number | undefined;
137
+ } | undefined;
138
+ publicId?: string | undefined;
139
+ type?: string | undefined;
140
+ url?: string | undefined;
141
+ width?: string | number | undefined;
142
+ }[] | undefined;
143
+ seoSuffix?: string | undefined;
144
+ removeBackground?: boolean | undefined;
145
+ rawTransformations?: string | string[] | undefined;
146
+ overlay?: {
147
+ appliedEffects?: {}[] | undefined;
148
+ appliedFlags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
149
+ effects?: {}[] | undefined;
150
+ crop?: "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
151
+ flags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
152
+ height?: string | number | undefined;
153
+ position?: {
154
+ angle?: string | number | undefined;
155
+ gravity?: string | undefined;
156
+ x?: string | number | undefined;
157
+ y?: string | number | undefined;
158
+ } | undefined;
159
+ publicId?: string | undefined;
160
+ text?: string | {
161
+ text: string;
162
+ alignment?: string | undefined;
163
+ antialias?: string | undefined;
164
+ border?: string | undefined;
165
+ color?: string | undefined;
166
+ fontFamily?: string | undefined;
167
+ fontSize?: number | undefined;
168
+ fontStyle?: string | number | undefined;
169
+ fontWeight?: string | undefined;
170
+ hinting?: string | number | undefined;
171
+ letterSpacing?: string | number | undefined;
172
+ lineSpacing?: string | number | undefined;
173
+ stroke?: string | undefined;
174
+ } | undefined;
175
+ url?: string | undefined;
176
+ width?: string | number | undefined;
177
+ } | undefined;
178
+ overlays?: {
179
+ appliedEffects?: {}[] | undefined;
180
+ appliedFlags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
181
+ effects?: {}[] | undefined;
182
+ crop?: "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
183
+ flags?: "splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform" | ("splice" | "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" | "streaming_attachment" | "strip_profile" | "text_disallow_overflow" | "text_no_trim" | "tiff8_lzw" | "tiled" | "truncate_ts" | "waveform")[] | undefined;
184
+ height?: string | number | undefined;
185
+ position?: {
186
+ angle?: string | number | undefined;
187
+ gravity?: string | undefined;
188
+ x?: string | number | undefined;
189
+ y?: string | number | undefined;
190
+ } | undefined;
191
+ publicId?: string | undefined;
192
+ text?: string | {
193
+ text: string;
194
+ alignment?: string | undefined;
195
+ antialias?: string | undefined;
196
+ border?: string | undefined;
197
+ color?: string | undefined;
198
+ fontFamily?: string | undefined;
199
+ fontSize?: number | undefined;
200
+ fontStyle?: string | number | undefined;
201
+ fontWeight?: string | undefined;
202
+ hinting?: string | number | undefined;
203
+ letterSpacing?: string | number | undefined;
204
+ lineSpacing?: string | number | undefined;
205
+ stroke?: string | undefined;
206
+ } | undefined;
207
+ url?: string | undefined;
208
+ width?: string | number | undefined;
209
+ }[] | undefined;
210
+ namedTransformations?: string | string[] | undefined;
211
+ transformations?: string | string[] | undefined;
212
+ aspectRatio?: string | number | undefined;
213
+ widthResize?: string | number | undefined;
214
+ zoom?: string | undefined;
215
+ zoompan?: string | boolean | {
216
+ options: string;
217
+ loop: string | boolean;
218
+ } | undefined;
219
+ restore?: boolean | undefined;
220
+ replace?: string[] | boolean[] | {
221
+ to: string;
222
+ from: string;
223
+ preserveGeometry?: boolean | undefined;
224
+ } | undefined;
225
+ remove?: string | string[] | {
226
+ prompt?: string | string[] | undefined;
227
+ region?: number[] | number[][] | undefined;
228
+ multiple?: boolean | undefined;
229
+ removeShadow?: boolean | undefined;
230
+ } | undefined;
231
+ recolor?: string | string[] | {
232
+ prompt?: string | string[] | undefined;
233
+ to?: string | undefined;
234
+ multiple?: boolean | undefined;
235
+ } | undefined;
236
+ fillBackground?: boolean | {
237
+ crop?: "fill" | "lfill" | "fill_pad" | "crop" | "thumb" | "scale" | "fit" | "limit" | "mfit" | "pad" | "lpad" | "mpad" | "imagga_scale" | "imagga_crop" | undefined;
238
+ gravity?: string | undefined;
239
+ prompt?: string | undefined;
240
+ } | undefined;
241
+ defaultImage?: string | undefined;
242
+ } & {
243
+ config?: _cloudinary_url_gen_config_interfaces_Config_ICloudinaryConfigurations.default | undefined;
13
244
  preserveTransformations?: boolean | undefined;
14
245
  src: string;
15
246
  unoptimized?: boolean | undefined;
@@ -285,12 +516,9 @@ interface CloudinaryVideoPlayerOptionPosterOptions {
285
516
  /**
286
517
  * getCldImageUrl
287
518
  */
288
- interface GetCldImageUrlOptions extends ImageOptions {
289
- }
290
- interface GetCldImageUrlConfig extends ConfigOptions {
291
- }
292
- interface GetCldImageUrlAnalytics extends AnalyticsOptions {
293
- }
519
+ type GetCldImageUrlOptions = ImageOptions;
520
+ type GetCldImageUrlConfig = ConfigOptions;
521
+ type GetCldImageUrlAnalytics = AnalyticsOptions;
294
522
  interface GetCldImageUrl {
295
523
  options: GetCldImageUrlOptions;
296
524
  config?: GetCldImageUrlConfig;
@@ -301,12 +529,9 @@ declare function getCldImageUrl(options: GetCldImageUrlOptions, config?: GetCldI
301
529
  /**
302
530
  * getCldVideoUrl
303
531
  */
304
- interface GetCldVideoUrlOptions extends VideoOptions {
305
- }
306
- interface GetCldVideoUrlConfig extends ConfigOptions {
307
- }
308
- interface GetCldVideoUrlAnalytics extends AnalyticsOptions {
309
- }
532
+ type GetCldVideoUrlOptions = VideoOptions;
533
+ type GetCldVideoUrlConfig = ConfigOptions;
534
+ type GetCldVideoUrlAnalytics = AnalyticsOptions;
310
535
  declare function getCldVideoUrl(options: GetCldVideoUrlOptions, config?: GetCldVideoUrlConfig, analytics?: GetCldVideoUrlAnalytics): string;
311
536
 
312
537
  type CldVideoPlayerProps = Omit<CloudinaryVideoPlayerOptions, "cloud_name" | "autoplayMode" | "publicId" | "secure" | "showLogo" | "logoImageUrl" | "logoOnclickUrl"> & {
@@ -355,10 +580,8 @@ declare function cloudinaryLoader({ loaderOptions, imageProps, cldOptions, cldCo
355
580
  /**
356
581
  * getCldImageUrl
357
582
  */
358
- interface GetCldOgImageUrl extends GetCldImageUrl {
359
- }
360
- interface GetCldOgImageUrlOptions extends GetCldImageUrlOptions {
361
- }
583
+ type GetCldOgImageUrl = GetCldImageUrl;
584
+ type GetCldOgImageUrlOptions = GetCldImageUrlOptions;
362
585
  declare function getCldOgImageUrl(options: GetCldOgImageUrlOptions): string;
363
586
 
364
- export { CldImage, CldImageProps, CldOgImage, CldOgImageProps, CldUploadButton, CldUploadButtonProps, CldUploadWidget, CldUploadWidgetProps, CldUploadWidgetPropsChildren, CldUploadWidgetPropsOptions, CldUploadWidgetResults, CldVideoPlayer, CldVideoPlayerProps, CldVideoPlayerPropsColors, CldVideoPlayerPropsLogo, CloudinaryLoader, CloudinaryLoaderCldOptions, CloudinaryLoaderLoaderOptions, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, GetCldImageUrl, GetCldImageUrlAnalytics, GetCldImageUrlConfig, GetCldImageUrlOptions, GetCldOgImageUrl, GetCldOgImageUrlOptions, GetCldVideoUrlAnalytics, GetCldVideoUrlConfig, GetCldVideoUrlOptions, cloudinaryLoader, getCldImageUrl, getCldOgImageUrl, getCldVideoUrl };
587
+ export { CldImage, CldImageProps, CldOgImage, CldOgImageProps, CldUploadButton, CldUploadButtonProps, CldUploadWidget, CldUploadWidgetInfo, CldUploadWidgetProps, CldUploadWidgetPropsChildren, CldUploadWidgetPropsOptions, CldUploadWidgetResults, CldVideoPlayer, CldVideoPlayerProps, CldVideoPlayerPropsColors, CldVideoPlayerPropsLogo, CloudinaryLoader, CloudinaryLoaderCldOptions, CloudinaryLoaderLoaderOptions, CloudinaryVideoPlayer, CloudinaryVideoPlayerOptions, CloudinaryVideoPlayerOptionsColors, CloudinaryVideoPlayerOptionsLogo, GetCldImageUrl, GetCldImageUrlAnalytics, GetCldImageUrlConfig, GetCldImageUrlOptions, GetCldOgImageUrl, GetCldOgImageUrlOptions, GetCldVideoUrlAnalytics, GetCldVideoUrlConfig, GetCldVideoUrlOptions, cloudinaryLoader, getCldImageUrl, getCldOgImageUrl, getCldVideoUrl };