ywana-core8 0.0.789 → 0.0.791
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.cjs +154 -153
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +154 -153
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +154 -153
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/upload/UploadDialog.js +1 -1
- package/src/widgets/viewer/Viewer.js +8 -1
package/package.json
CHANGED
@@ -31,7 +31,7 @@ export const UploadDialog = ({ label, target, accept, onSuccess, onComplete, onC
|
|
31
31
|
|
32
32
|
const actions = (
|
33
33
|
<Fragment>
|
34
|
-
<Button label="CERRAR" action={() => onAction("CLOSE")} disabled={canClose()} />
|
34
|
+
<Button label="CERRAR" action={() => onAction("CLOSE")} disabled={!canClose()} />
|
35
35
|
</Fragment>
|
36
36
|
)
|
37
37
|
|
@@ -1,7 +1,14 @@
|
|
1
1
|
import React, { useState } from 'react'
|
2
2
|
import { Icon, Header, Text } from '../../html'
|
3
|
+
import { ImageViewer} from '../image/ImageViewer'
|
3
4
|
import './Viewer.css'
|
4
5
|
|
6
|
+
const ViewerTest = (props) => {
|
7
|
+
return (
|
8
|
+
<Viewer src="https://pro.ywanadigital.com/files/2023/63bc36a840364cdd0b4c6670/63bc38f740364cdd0b4c6671/original/52905_TECNOLOG_A%20DICIEMBRE%20II%2043X199_Cart_n_Microcanal%20sencillo_43x199_es_A_1r5v-0.png" />
|
9
|
+
)
|
10
|
+
}
|
11
|
+
|
5
12
|
/**
|
6
13
|
* Viewer
|
7
14
|
*/
|
@@ -24,7 +31,7 @@ export const Viewer = ({ title, src, info, actions = [], tools = false, onClose
|
|
24
31
|
<main>
|
25
32
|
<div className="resizer">
|
26
33
|
<picture>
|
27
|
-
<
|
34
|
+
<ImageViewer image={src} />
|
28
35
|
</picture>
|
29
36
|
</div>
|
30
37
|
</main>
|