@northlight/ui 2.28.8 → 2.28.9

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.
@@ -1738,7 +1738,12 @@
1738
1738
  "spacing"
1739
1739
  ]);
1740
1740
  const [nbrRemainingAvatars, setNbrRemainingAvatars] = React.useState(0);
1741
- return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1_({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1741
+ const childrenWithMargin = getChildrenWithProps(
1742
+ children,
1743
+ { ml: spacing },
1744
+ (_child, idx) => idx > 0
1745
+ );
1746
+ return /* @__PURE__ */ React.createElement(react.HStack, __spreadValues$1_({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(react.HStack, { spacing: 0 }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, childrenWithMargin)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1742
1747
  };
1743
1748
 
1744
1749
  var __defProp$1Z = Object.defineProperty;