@dust-tt/sparkle 0.1.83 → 0.1.85

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.
@@ -20,7 +20,7 @@ export declare namespace Button {
20
20
  }
21
21
  interface ButtonListProps {
22
22
  children: ReactNode;
23
- isWrapping: boolean;
23
+ isWrapping?: boolean;
24
24
  className?: string;
25
25
  }
26
26
  export {};
package/dist/cjs/index.js CHANGED
@@ -32086,7 +32086,9 @@ DropdownMenu.Button = function (_a) {
32086
32086
  };
32087
32087
  DropdownMenu.Item = function (_a) {
32088
32088
  var label = _a.label, href = _a.href, disabled = _a.disabled, visual = _a.visual, onClick = _a.onClick;
32089
- return (React.createElement(it.Item, { disabled: disabled },
32089
+ return (
32090
+ // need to use as="div" -- otherwise we get a "forwardRef" error in the console
32091
+ React.createElement(it.Item, { disabled: disabled, as: "div" },
32090
32092
  React.createElement(Item, { className: "s-px-4", variant: "dropdown", size: "md", href: href, onClick: onClick, label: label, visual: visual })));
32091
32093
  };
32092
32094
  DropdownMenu.Items = function (_a) {