@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 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-0", {
508
- "opacity-100": showImagePreviewer
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-0", {
461
- "opacity-100": showImagePreviewer
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",