@bbki.ng/components 1.5.3 → 1.5.4
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -504,8 +504,8 @@ var DropImage = (props) => {
|
|
|
504
504
|
onDrop: handleDrop,
|
|
505
505
|
style: getDropAreaStyle()
|
|
506
506
|
}, /* @__PURE__ */ import_react13.default.createElement("img", {
|
|
507
|
-
className: (0, import_classnames6.default)("max-w-[100%]", "h-[auto]", "duration-300", "transition-opacity", "opacity-
|
|
508
|
-
"opacity-
|
|
507
|
+
className: (0, import_classnames6.default)("max-w-[100%]", "h-[auto]", "duration-300", "transition-opacity", "opacity-100", {
|
|
508
|
+
"opacity-0": !showImagePreviewer
|
|
509
509
|
}),
|
|
510
510
|
ref: imageRef,
|
|
511
511
|
src: imageSrc,
|
package/dist/index.mjs
CHANGED
|
@@ -457,8 +457,8 @@ var DropImage = (props) => {
|
|
|
457
457
|
onDrop: handleDrop,
|
|
458
458
|
style: getDropAreaStyle()
|
|
459
459
|
}, /* @__PURE__ */ React13.createElement("img", {
|
|
460
|
-
className: cls("max-w-[100%]", "h-[auto]", "duration-300", "transition-opacity", "opacity-
|
|
461
|
-
"opacity-
|
|
460
|
+
className: cls("max-w-[100%]", "h-[auto]", "duration-300", "transition-opacity", "opacity-100", {
|
|
461
|
+
"opacity-0": !showImagePreviewer
|
|
462
462
|
}),
|
|
463
463
|
ref: imageRef,
|
|
464
464
|
src: imageSrc,
|