Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Releases: kimmelsg/cj-upload

1.0.1

26 Mar 20:54
Compare
Choose a tag to compare

Pass back response status to children of Uploader and also to onComplete={(response, status) =>

1.0.0

26 Mar 20:34
Compare
Choose a tag to compare

Add UploadRequest as a root import, ex: import { UploadRequest} from '@navjobs/upload
Breaking change, and it's stable, so 1.0 here we are!

0.1.5

25 Mar 20:34
Compare
Choose a tag to compare

Added imperative api 8b3038d

Testing response is parsed as json added as well

0.1.4

25 Mar 17:40
Compare
Choose a tag to compare

Return files object from uploader, useful to display things differently before clicking startUpload

<Uploader
      request={{
        url: 'http://test.dev',
      }}
      uploadOnSelection={false}
    >
      {({ onFiles, files }) => {
        if (files) <div>Files selected, but upload not started!</div>
        return (
          <div>
            <UploadField onFiles={onFiles}>
              <div>
                Click here and select a file!
              </div>
            </UploadField>
          </div>
        );
      }}
    </Uploader>

0.1.3

24 Mar 17:14
Compare
Choose a tag to compare
  • Pointer on correct input

0.1.2

24 Mar 17:02
Compare
Choose a tag to compare
  • removed unneeded styles
  • removed built scripts

0.1.1

24 Mar 15:34
Compare
Choose a tag to compare
  • added onComplete prop to Uploader
  • test coverage

0.1.0

24 Mar 01:35
Compare
Choose a tag to compare
  • New component for handling uploads with progress
  • New namespace @navjobs/upload
  • Pass in hover for <UploadField/>

0.0.2

30 Aug 13:15
Compare
Choose a tag to compare

Any props added to the root element must be passed to containerProps

0.0.1

30 Aug 13:13
Compare
Choose a tag to compare

Initial release