Add `isPending` prop to `Button` component which triggers a spinner. #4900
Add `isPending` prop to `Button` component which triggers a spinner.
2fa8da74
Merge branch 'main' into iamwillpowell-pending-button
683bc0d9
Fix lint errors
e0289806
Added test
e4f86a86
Only import the necessary package from react-aria
0ba3bab1
Remove unnecessary timeout ref.
a1085836
Merge branch 'main' of https://github.com/adobe/react-spectrum into i…
dfffebb2
Merge remote-tracking branch 'origin' into iamwillpowell-pending-button
27223a50
Remove pointer events override
4d883365
Update test
5292b76d
Add hook to filter out interactions during pending
4a47b741
Added cases to story
48bd7bd0
Merge branch 'main' of https://github.com/adobe/react-spectrum into i…
dc1fb8ab
update pending story
ed50d25c
whitespace fix
02b743a5
update pending story
0f91faa3
update pending story
5f9cf52b
Merge branch 'main' into iamwillpowell-pending-button
8fa373e5
remove spacing override on loader icon
625b4ab6
make anchor button-like things disabled when pending
a2a13162
update button docs
992193ee
Simplify button story
ceaa0a13
Update isPending tests
511234c3
Merge branch 'main' into iamwillpowell-pending-button
25f4408d
iamwillpowell
marked this pull request as ready for review 2 years ago
Merge branch 'main' into iamwillpowell-pending-button
4a475ca3
Apply progressCircle overBackground to static color buttons
2361ad38
Style display with visibility instead of opacity
effc291d
Improve vertical centering of spinner
4799d9ff
Remove extra dependency
086386c8
Added more disabled props while pending
2f7cef67
Update Pending docs
10714f6f
Rename function so it doesn't sound like a hook
3c869302
Defense
316fc92d
Use proper naming convention
22faaed9
Simplify story naming
8c168841
Update test
bc9f1dc0
Add aria-live to pending button when pending
d960ef4b
Merge branch 'main' of https://github.com/adobe/react-spectrum into i…
600fb52a
Add check that spinner isn't in document
35c86859
Remove cruft
b912dadd
Move progressCircle props to component
4846a6c8
Fix typos
baeaa134
change story action
2fc1b109
fix typo
b479bb86
Add additional info to isPending type comment
ac9689aa
Merge branch 'iamwillpowell-pending-button' of https://github.com/ado…
c6ba42a8
Merge branch 'main' into iamwillpowell-pending-button
8bf81c79
Fix lint problem
6266e7f2
Remove focus and blur from blocked events
2b66f702
prefix isPending with UNSTABLE
fb36ce33
Merge branch 'main' of https://github.com/adobe/react-spectrum into i…
fc157cf3
remove doc changes for now
1cfadfeb
Revert unintended change
cabf0069
reidbarber
deleted the iamwillpowell-pending-button branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub