next-helios-fe 1.8.40 → 1.8.42

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-helios-fe",
3
- "version": "1.8.40",
3
+ "version": "1.8.42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,7 +43,11 @@ export const Button: React.FC<ButtonProps> = ({
43
43
  ? "text-white bg-warning shadow-sm shadow-warning hover:bg-warning-dark disabled:bg-secondary-dark disabled:shadow-secondary-dark"
44
44
  : options?.variant === "danger"
45
45
  ? "text-white bg-danger shadow-sm shadow-danger hover:bg-danger-dark disabled:bg-secondary-dark disabled:shadow-secondary-dark"
46
- : "text-default hover:bg-secondary-light disabled:bg-primary disabled:text-white disabled:shadow-sm disabled:shadow-primary";
46
+ : `text-default hover:bg-secondary-light ${
47
+ loading
48
+ ? ""
49
+ : "disabled:bg-primary disabled:text-white disabled:shadow-sm disabled:shadow-primary"
50
+ }`;
47
51
  const width = options?.width === "fit" ? "w-fit" : "w-full";
48
52
  const height =
49
53
  options?.height === "short"