@bbki.ng/components 2.1.29 → 2.1.31
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -448,7 +448,7 @@ var import_classnames6 = __toESM(require("classnames"), 1);
|
|
|
448
448
|
var import_react13 = __toESM(require("react"), 1);
|
|
449
449
|
var List = (props) => {
|
|
450
450
|
const { items, itemRenderer, className, horizontal, compact } = props;
|
|
451
|
-
const spaceCls = compact ? "" : horizontal ? "mr-3" : "mb-
|
|
451
|
+
const spaceCls = compact ? "" : horizontal ? "mr-3" : "mb-8";
|
|
452
452
|
return /* @__PURE__ */ import_react13.default.createElement("ul", {
|
|
453
453
|
className: (0, import_classnames6.default)(className, "list-style-none", {
|
|
454
454
|
flex: horizontal,
|
|
@@ -620,7 +620,7 @@ var useDropImage = (params) => {
|
|
|
620
620
|
ev.preventDefault();
|
|
621
621
|
setIsDragOver(false);
|
|
622
622
|
const file = ev.dataTransfer ? ev.dataTransfer.files[0] : void 0;
|
|
623
|
-
if (!file || !file.type.startsWith("image")
|
|
623
|
+
if (!file || !file.type.startsWith("image")) {
|
|
624
624
|
return;
|
|
625
625
|
}
|
|
626
626
|
imageFile.current = file;
|