[Cashtab] Remove legacy antd form components from CreateTokenForm
Summary:
T2207
Depends on D15783
Remove antd from CreateTokenForm
Thought this would just be a few inputs when I started this diff, but turns out we have some real ancient stuff in here.
- Replace inputs with new cashtab inputs, and update error state methods to best fit them
- Replace legacy dragger (and update ancient npm pkg it was using)
- Simplify upload handling functions and improve error notifications for non-png, non-jpg uploads
- Allow modal to scroll if content exceeds height (as height can be variable with longer token names)
- Expand use of standard Cashtab buttons vs weird custom buttons
- Delete components from EnhancedInputs that are no longer used
Test Plan:
npm test
Mess with the token icon creation form
- try to upload an icon that is not a png or a jpg
- zoom/rotate an icon
- change icon after uploading
- create a token with an icon
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Subscribers: emack
Differential Revision: https://reviews.bitcoinabc.org/D15804