@dust-tt/sparkle 0.2.276 → 0.2.278

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/cjs/index.js CHANGED
@@ -43787,13 +43787,13 @@ var Button = React__namespace.forwardRef(function (_a, ref) {
43787
43787
  React__namespace.createElement(Spinner$1, { size: buttonSize, variant: spinnerVariant }))) : (icon && renderIcon(icon, "-s-mx-0.5")),
43788
43788
  label,
43789
43789
  isSelect && renderIcon(ChevronDownIcon, isLoading ? "" : "-s-mr-1")));
43790
- var buttonElement = (React__namespace.createElement(MetaButton, __assign({ ref: ref, size: buttonSize, variant: variant, disabled: isLoading || props.disabled, hasVisual: !!icon || isLoading, className: isPulsing ? "s-animate-pulse" : "", style: {
43790
+ var buttonElement = (React__namespace.createElement(MetaButton, __assign({ ref: ref, size: buttonSize, variant: variant, disabled: isLoading || props.disabled, className: isPulsing ? "s-animate-pulse" : "", style: {
43791
43791
  "--pulse-color": "#93C5FD",
43792
43792
  "--duration": "1.5s",
43793
43793
  } }, props), content));
43794
43794
  return tooltip ? (React__namespace.createElement(TooltipProvider, null,
43795
43795
  React__namespace.createElement(TooltipRoot, null,
43796
- React__namespace.createElement(TooltipTrigger, null, buttonElement),
43796
+ React__namespace.createElement(TooltipTrigger, { asChild: true, ref: ref }, buttonElement),
43797
43797
  React__namespace.createElement(TooltipContent, null, tooltip)))) : (buttonElement);
43798
43798
  });
43799
43799