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.js CHANGED
@@ -5027,12 +5027,12 @@ function createButtonWithVariant(props, ref) {
5027
5027
  }, passProps), {
5028
5028
  children: [
5029
5029
  loading && /* @__PURE__ */ jsx7("span", {
5030
- className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",
5030
+ className: "absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-inherit",
5031
5031
  children: /* @__PURE__ */ jsx7(Loader2, {
5032
5032
  className: cn(iconVariants2({
5033
5033
  variant: variant,
5034
5034
  size: size
5035
- }), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5")
5035
+ }), "animate-spin", size === "lg" ? "h-6 w-6" : size === "md" ? "h-5 w-5" : "h-4.5 w-4.5", iconClassName)
5036
5036
  })
5037
5037
  }),
5038
5038
  !asset && icon && iconOutBox && iconDirection === "left" && renderIcon(icon, "left", {