Commit
2 years ago
rac dropzone (#4451) * initialize dropzone * added some comments for clarification * edit spacing * added additonal props and passed ref * added dropzone to storybook * update index.ts * fixed linting * fix linting, added actions to dropzone story * fixed focus * allow copy/paste, update render props, styling * can copy, added stories, dropzone with input * fix linting * update focus, added css * update stories, add data attribute * add isVirtualDragging to DropZone * single hidden button, added virtual drag * add tests, update dropzone * clean up, add story * fix tests * fix * minor fix * minor minor fix * add files to react-aria/utils, update css, mobile dropzone * remove console.log * update utils, add press events to dropzone * update aria-label, add focusProps to wrapper div, usePress updates * create FileTrigger * cleanup/add stories * add prop to filetrigger, update comments, change stories * change comments * update useDrop hook to accomodate dropButton * drop target fixes * changes to dnd with button ref, press responder, remove onInputChange * fix prop names, update dnd * add aria label to DropZone, update onChange * fix onChange in FileTrigger
Author
Parents
Loading