@dust-tt/sparkle 0.1.84 → 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.
package/dist/esm/index.js CHANGED
@@ -32066,7 +32066,9 @@ DropdownMenu.Button = function (_a) {
32066
32066
  };
32067
32067
  DropdownMenu.Item = function (_a) {
32068
32068
  var label = _a.label, href = _a.href, disabled = _a.disabled, visual = _a.visual, onClick = _a.onClick;
32069
- return (React__default.createElement(it.Item, { disabled: disabled },
32069
+ return (
32070
+ // need to use as="div" -- otherwise we get a "forwardRef" error in the console
32071
+ React__default.createElement(it.Item, { disabled: disabled, as: "div" },
32070
32072
  React__default.createElement(Item, { className: "s-px-4", variant: "dropdown", size: "md", href: href, onClick: onClick, label: label, visual: visual })));
32071
32073
  };
32072
32074
  DropdownMenu.Items = function (_a) {