myshell-react-lib 0.1.61 → 0.1.62

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/index.cjs CHANGED
@@ -5768,12 +5768,12 @@ function createButtonWithVariant(props, ref) {
5768
5768
  }, passProps), {
5769
5769
  children: [
5770
5770
  loading && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", {
5771
- className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
5771
+ className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-inherit",
5772
5772
  children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react.Loader2, {
5773
5773
  className: cn(iconVariants2({
5774
5774
  variant: variant,
5775
5775
  size: size
5776
- }), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5")
5776
+ }), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5", iconClassName)
5777
5777
  })
5778
5778
  }),
5779
5779
  !asset && icon && iconOutBox && iconDirection === "left" && renderIcon(icon, "left", {