@dust-tt/sparkle 0.2.1-aric → 0.2.2-aric

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.
@@ -9,10 +9,11 @@ type ChipProps = {
9
9
  };
10
10
  export declare function Chip({ size, color, label, children, className, isBusy, }: ChipProps): React.JSX.Element;
11
11
  export declare namespace Chip {
12
- var List: ({ children, className }: ListChipProps) => React.JSX.Element;
12
+ var List: ({ children, className, isWrapping }: ListChipProps) => React.JSX.Element;
13
13
  }
14
14
  interface ListChipProps {
15
15
  children: ReactNode;
16
16
  className?: string;
17
+ isWrapping?: boolean;
17
18
  }
18
19
  export {};
package/dist/esm/index.js CHANGED
@@ -32095,9 +32095,9 @@ function Chip(_a) {
32095
32095
  children));
32096
32096
  }
32097
32097
  Chip.List = function (_a) {
32098
- var children = _a.children, className = _a.className;
32098
+ var children = _a.children, className = _a.className, isWrapping = _a.isWrapping;
32099
32099
  return (React__default.createElement("div", { className: classNames(className ? className : "", "s-flex") },
32100
- React__default.createElement("div", { className: "s-flex s-flex-row s-gap-2" }, children)));
32100
+ React__default.createElement("div", { className: classNames("s-flex s-flex-row s-gap-2", isWrapping ? "s-flex-wrap" : "") }, children)));
32101
32101
  };
32102
32102
 
32103
32103
  var SvgArrowDownCircle = function (props) { return (React.createElement("svg", __assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24" }, props),