Skip to content

Commit 3834a0b

Browse files
committed
changeset
1 parent 7cbabb5 commit 3834a0b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.changeset/clever-geckos-press.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@obosbbl/grunnmuren-react': minor
3+
---
4+
5+
Button: deprecate isLoading in favor of isPending
6+
7+
* change prop name to align with React Aria and the useActionState hook in React.
8+
* improved accessibility for pending state by [utilizing React aria](https://react-spectrum.adobe.com/react-aria/Button.html#pending)
9+
* button events are now disabled when the button is in a pending state.
10+
* refactor to CSS instead of useLayoutEffect when button is in a pending state.
11+

0 commit comments

Comments
 (0)