pixedi 1.0.6 → 1.1.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/CHANGELOG.md +4 -0
- package/README.md +3 -3
- package/README.npm.md +3 -3
- package/dist/lib/index.js +737 -549
- package/dist/lib/index.umd.js +5 -5
- package/dist/widget/pixedi-widget.js +7 -7
- package/package.json +1 -2
- package/README.widget.md +0 -96
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.1.0
|
|
6
|
+
|
|
7
|
+
- Added a flip tool with horizontal and vertical mirroring and live preview.
|
|
8
|
+
|
|
5
9
|
## 1.0.6
|
|
6
10
|
|
|
7
11
|
- Created a dedicated `README.widget.md` with full widget API documentation and examples.
|
package/README.md
CHANGED
|
@@ -36,18 +36,18 @@ npm install react react-dom
|
|
|
36
36
|
### Import
|
|
37
37
|
|
|
38
38
|
```tsx
|
|
39
|
-
import {
|
|
39
|
+
import { Pixedi } from "pixedi";
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### Usage
|
|
43
43
|
|
|
44
44
|
```tsx
|
|
45
|
-
import {
|
|
45
|
+
import { Pixedi } from "pixedi";
|
|
46
46
|
|
|
47
47
|
function App() {
|
|
48
48
|
return (
|
|
49
49
|
<div style={{ width: "100vw", height: "100vh" }}>
|
|
50
|
-
<
|
|
50
|
+
<Pixedi
|
|
51
51
|
image="https://example.com/photo.jpg"
|
|
52
52
|
onSave={async (base64) => {
|
|
53
53
|
// Upload or persist the edited image
|
package/README.npm.md
CHANGED
|
@@ -36,18 +36,18 @@ npm install react react-dom
|
|
|
36
36
|
### Import
|
|
37
37
|
|
|
38
38
|
```tsx
|
|
39
|
-
import {
|
|
39
|
+
import { Pixedi } from "pixedi";
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### Usage
|
|
43
43
|
|
|
44
44
|
```tsx
|
|
45
|
-
import {
|
|
45
|
+
import { Pixedi } from "pixedi";
|
|
46
46
|
|
|
47
47
|
function App() {
|
|
48
48
|
return (
|
|
49
49
|
<div style={{ width: "100vw", height: "100vh" }}>
|
|
50
|
-
<
|
|
50
|
+
<Pixedi
|
|
51
51
|
image="https://example.com/photo.jpg"
|
|
52
52
|
onSave={async (base64) => {
|
|
53
53
|
// Upload or persist the edited image
|