@zydon/common 2.0.97 → 2.0.98
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/{chunk-Z4V6IJJV.js → chunk-4EA42WYY.js} +1 -1
- package/dist/{chunk-QZZWTR7W.js → chunk-FF7KVUKW.js} +1 -1
- package/dist/components/form/UploadAvatarWithCrop/index.js +2 -2
- package/dist/components/form/UploadWithCrop/index.js +1 -1
- package/dist/components/upload/index.js +2 -2
- package/dist/hooks/useUploadImage.js +1 -1
- package/dist/theme/styles/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c, f } from './chunk-BSGWHUPI.js';
|
|
2
2
|
import { a as a$2 } from './chunk-GV76AYPC.js';
|
|
3
3
|
import { i } from './chunk-D27ND54J.js';
|
|
4
|
-
import { a as a$1 } from './chunk-
|
|
4
|
+
import { a as a$1 } from './chunk-FF7KVUKW.js';
|
|
5
5
|
import { a } from './chunk-CGTU5JXT.js';
|
|
6
6
|
import { useState, useEffect } from 'react';
|
|
7
7
|
import { useDropzone } from 'react-dropzone';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a } from './chunk-W3MYAMTH.js';
|
|
2
2
|
import { useId, useState } from 'react';
|
|
3
3
|
|
|
4
|
-
var v=({onFileCropped:o,onImageUploaded:p,onCancel:a$1})=>{let g=useId(),[e,c]=useState(),[l,s,n]=a(),[f,t]=useState();return {id:g,setCropModalOpen:n,handleRemove:()=>{o(void 0),p(void 0),n(!1);},toggleCropModalOpen:s,cropModalOpen:l,cancelChanges:()=>{a$1&&a$1(),n(!1);},saveChanges:()=>{e!==void 0&&e.getCroppedCanvas().toBlob(r=>{if(!r)return;let m=new File([r],"imagem");o(m),s();},"image/
|
|
4
|
+
var v=({onFileCropped:o,onImageUploaded:p,onCancel:a$1})=>{let g=useId(),[e,c]=useState(),[l,s,n]=a(),[f,t]=useState();return {id:g,setCropModalOpen:n,handleRemove:()=>{o(void 0),p(void 0),n(!1);},toggleCropModalOpen:s,cropModalOpen:l,cancelChanges:()=>{a$1&&a$1(),n(!1);},saveChanges:()=>{e!==void 0&&e.getCroppedCanvas().toBlob(r=>{if(!r)return;let m=new File([r],"imagem");o(m),s();},"image/jpeg",1);},previewImage:()=>{e!==void 0&&t(e.getCroppedCanvas().toDataURL());},setCropper:c,preview:f,closePreviewImage:()=>t(void 0)}},O=v;
|
|
5
5
|
|
|
6
6
|
export { O as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b } from '../../../chunk-
|
|
1
|
+
import { b } from '../../../chunk-4EA42WYY.js';
|
|
2
2
|
import '../../../chunk-BSGWHUPI.js';
|
|
3
3
|
import '../../../chunk-GV76AYPC.js';
|
|
4
4
|
import '../../../chunk-4PNYGVT3.js';
|
|
@@ -6,7 +6,7 @@ import '../../../chunk-T7I256S6.js';
|
|
|
6
6
|
import '../../../chunk-SKUW6ZCP.js';
|
|
7
7
|
import '../../../chunk-D27ND54J.js';
|
|
8
8
|
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
9
|
-
import '../../../chunk-
|
|
9
|
+
import '../../../chunk-FF7KVUKW.js';
|
|
10
10
|
import '../../../chunk-W3MYAMTH.js';
|
|
11
11
|
import '../../../chunk-CGTU5JXT.js';
|
|
12
12
|
import '../../../chunk-6POL4A7D.js';
|
|
@@ -7,7 +7,7 @@ import '../../../chunk-SKUW6ZCP.js';
|
|
|
7
7
|
import { a as a$2 } from '../../../chunk-YWEB6IAI.js';
|
|
8
8
|
import '../../../chunk-D27ND54J.js';
|
|
9
9
|
import { a } from '../../../chunk-GA4A5P3S.js';
|
|
10
|
-
import { a as a$1 } from '../../../chunk-
|
|
10
|
+
import { a as a$1 } from '../../../chunk-FF7KVUKW.js';
|
|
11
11
|
import '../../../chunk-W3MYAMTH.js';
|
|
12
12
|
import '../../../chunk-2D6XUBFQ.js';
|
|
13
13
|
import { a as a$3 } from '../../../chunk-CGTU5JXT.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as UploadAvatar, b as UploadAvatarWithCrop, b as UploadWithCrop } from '../../chunk-
|
|
1
|
+
export { a as UploadAvatar, b as UploadAvatarWithCrop, b as UploadWithCrop } from '../../chunk-4EA42WYY.js';
|
|
2
2
|
export { c as DeleteButton, a as MultiFilePreview, b as SingleFilePreview, d as Upload } from '../../chunk-6QJRITD2.js';
|
|
3
3
|
export { c as RejectionFiles } from '../../chunk-BSGWHUPI.js';
|
|
4
4
|
import '../../chunk-GV76AYPC.js';
|
|
@@ -6,7 +6,7 @@ import '../../chunk-4PNYGVT3.js';
|
|
|
6
6
|
import '../../chunk-T7I256S6.js';
|
|
7
7
|
import '../../chunk-SKUW6ZCP.js';
|
|
8
8
|
import { i } from '../../chunk-D27ND54J.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-FF7KVUKW.js';
|
|
10
10
|
import '../../chunk-W3MYAMTH.js';
|
|
11
11
|
import '../../chunk-2D6XUBFQ.js';
|
|
12
12
|
import '../../chunk-CGTU5JXT.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as default } from '../chunk-
|
|
1
|
+
export { a as default } from '../chunk-FF7KVUKW.js';
|
|
2
2
|
import '../chunk-W3MYAMTH.js';
|
|
@@ -443,7 +443,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
443
443
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
444
444
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
445
445
|
zIndex?: csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | readonly ((string & {}) | csstype.Globals | "auto")[] | undefined;
|
|
446
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal"
|
|
446
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ("reset" | (string & {}) | csstype.Globals | "normal")[] | undefined;
|
|
447
447
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
448
448
|
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reverse" | "linear" | "none" | "auto" | "both" | "alternate" | "alternate-reverse" | "backwards" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start")[] | undefined;
|
|
449
449
|
animationRange?: csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | readonly (string | (string & {}))[] | undefined;
|