@dust-tt/sparkle 0.1.87 → 0.1.88-ed

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/esm/index.js CHANGED
@@ -411,12 +411,12 @@ Avatar.Stack = function (_a) {
411
411
  transition: "width 200ms ease-out",
412
412
  marginLeft: "-20px",
413
413
  } }, child)); }),
414
- nbMoreItems && (React__default.createElement("div", { className: "s-cursor-pointer s-drop-shadow-md", style: {
414
+ Boolean(nbMoreItems) && (React__default.createElement("div", { className: "s-cursor-pointer s-drop-shadow-md", style: {
415
415
  width: isHovered ? "42px" : "32px",
416
416
  transition: "width 200ms ease-out",
417
417
  marginLeft: "-20px",
418
418
  } },
419
- React__default.createElement(Avatar, { size: "sm", name: "+" + String(nbMoreItems < 10 ? nbMoreItems : ""), isRounded: true })))));
419
+ React__default.createElement(Avatar, { size: "sm", name: "+" + String(Number(nbMoreItems) < 10 ? nbMoreItems : ""), isRounded: true })))));
420
420
  };
421
421
 
422
422
  var IconSizes = {