create-cloudinary-react 1.0.0-beta.15 → 1.0.0-beta.16
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# [1.0.0-beta.16](https://github.com/cloudinary-devs/create-cloudinary-react/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2026-02-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add copy on click ([a4ecf5d](https://github.com/cloudinary-devs/create-cloudinary-react/commit/a4ecf5d1d1478d854683a115735fa71f7fb50cea))
|
|
7
|
+
* complete the sentance ([d6c68dd](https://github.com/cloudinary-devs/create-cloudinary-react/commit/d6c68ddc213fbc18771f26840f33edb805950799))
|
|
8
|
+
* remove upload question ([fbf01ae](https://github.com/cloudinary-devs/create-cloudinary-react/commit/fbf01ae696e158cab48feb053a3515bb21453fdd))
|
|
9
|
+
|
|
1
10
|
# [1.0.0-beta.15](https://github.com/cloudinary-devs/create-cloudinary-react/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2026-02-10)
|
|
2
11
|
|
|
3
12
|
|
package/package.json
CHANGED
|
@@ -25,6 +25,11 @@ function App() {
|
|
|
25
25
|
alert(`Upload failed: ${error.message}`);
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
+
const copyPrompt = (e: React.MouseEvent<HTMLLIElement>) => {
|
|
29
|
+
const text = e.currentTarget.textContent ?? '';
|
|
30
|
+
void navigator.clipboard.writeText(text);
|
|
31
|
+
};
|
|
32
|
+
|
|
28
33
|
// Display uploaded image if available, otherwise show a sample
|
|
29
34
|
const imageId = uploadedImageId || 'samples/people/bicycle';
|
|
30
35
|
|
|
@@ -72,17 +77,16 @@ function App() {
|
|
|
72
77
|
<ul className="prompts-list">
|
|
73
78
|
{hasUploadPreset ? (
|
|
74
79
|
<>
|
|
75
|
-
<li>
|
|
76
|
-
<li>Create
|
|
77
|
-
<li
|
|
78
|
-
<li>Add image overlays with text or logos</li>
|
|
80
|
+
<li onClick={copyPrompt} title="Click to copy">Create an image gallery with lazy loading and responsive images</li>
|
|
81
|
+
<li onClick={copyPrompt} title="Click to copy">Create a video player that plays a Cloudinary video</li>
|
|
82
|
+
<li onClick={copyPrompt} title="Click to copy">Add image overlays with text or logos</li>
|
|
79
83
|
</>
|
|
80
84
|
) : (
|
|
81
85
|
<>
|
|
82
|
-
<li>Let's try uploading — help me add an upload preset and upload widget</li>
|
|
83
|
-
<li>Create an image gallery with lazy loading and responsive</li>
|
|
84
|
-
<li>Create a video player that plays a Cloudinary video</li>
|
|
85
|
-
<li>Add image overlays with text or logos</li>
|
|
86
|
+
<li onClick={copyPrompt} title="Click to copy">Let's try uploading — help me add an upload preset and upload widget</li>
|
|
87
|
+
<li onClick={copyPrompt} title="Click to copy">Create an image gallery with lazy loading and responsive images</li>
|
|
88
|
+
<li onClick={copyPrompt} title="Click to copy">Create a video player that plays a Cloudinary video</li>
|
|
89
|
+
<li onClick={copyPrompt} title="Click to copy">Add image overlays with text or logos</li>
|
|
86
90
|
</>
|
|
87
91
|
)}
|
|
88
92
|
</ul>
|