RubyGems
npm
Organizations
Log in
Sign up
npm
@sheinx/hooks
Versions diffs
3.1.29 → 3.1.31
@sheinx/hooks 3.1.29 → 3.1.31
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
package/cjs/components/use-button/use-button.js
+1
-1
package/esm/components/use-button/use-button.js
+1
-1
package/package.json
+1
-1
package/cjs/components/use-button/use-button.js
CHANGED
Viewed
@@ -59,7 +59,7 @@ var useButton = function useButton() {
59
59
return mergedEventHandlers;
60
60
};
61
61
return {
62
-
disabled: disabled,
62
+
disabled: disabled
|| loading
,
63
63
getAnchorProps: getAnchorProps,
64
64
getButtonProps: getButtonProps,
65
65
getSpaceChildren: getSpaceChildren
package/esm/components/use-button/use-button.js
CHANGED
Viewed
@@ -53,7 +53,7 @@ var useButton = function useButton() {
53
53
return mergedEventHandlers;
54
54
};
55
55
return {
56
-
disabled: disabled,
56
+
disabled: disabled
|| loading
,
57
57
getAnchorProps: getAnchorProps,
58
58
getButtonProps: getButtonProps,
59
59
getSpaceChildren: getSpaceChildren
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@sheinx/hooks",
3
-
"version": "3.1.
29
",
3
+
"version": "3.1.
31
",
4
4
"description": "",
5
5
"keywords": [],
6
6
"license": "MIT",