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/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/button/index.tsx +5 -1
package/package.json
CHANGED
@@ -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
|
-
:
|
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"
|