Skip to content

Commit 38870da

Browse files
egordidenkond0ut
authored andcommitted
perf: improve code and refactoring props (#4)
feat(react-uploader): added types for build (#3) * feat(react-uploader): added types for build * feat(react-uploader): added types refUploadCtxProvider (opt) * feat: added partial types config/events * feat: export UploadCtxProvider * feat(react-uploader): added README.md feat: added blocks alpha versions (#2) Perf/props events ctx (#1) * feat(react-uploader): removed from props ctxName, ctxCssSrc * feat(react-adapter): removed unused dependency * perf(react-uploader): improved and simplified receiving events from props * feat(react-uploader): added memo for ctxName * feat(react-adapter): added types for build * feat(react-uploader): remove @ts-ignore * feat: added vite-plugin-dts feat: added LICENSE feat: added common README.md feat: implement react component and adapter
0 parents  commit 38870da

32 files changed

+3369
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
dist
3+
.env
4+
docs

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Uploadcare Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Uploadcare React components
2+
3+
<a href="https://uploadcare.com/?utm_source=github&utm_campaign=uploadcare-js-api-clients">
4+
<img align="right" width="64" height="64"
5+
src="https://ucarecdn.com/edfdf045-34c0-4087-bbdd-e3834921f890/userpiccircletransparent.svg"
6+
alt="">
7+
</a>
8+
9+
Uploadcare React components for browsers. Includes an adapter that facilitates the conversion from a web component to a React component. And react components uploader.
10+
11+
12+
## Packages
13+
14+
* [**@uploadcare/react-adapter**](./packages/react-adapter/README.md)
15+
* [**@uploadcare/react-uploader**](./packages/react-uploader/README.md)
16+
17+
## Security issues
18+
19+
If you think you ran into something in Uploadcare libraries that might have
20+
security implications, please hit us up at
21+
[[email protected]][uc-email-bounty] or Hackerone.
22+
23+
We'll contact you personally in a short time to fix an issue through co-op and
24+
prior to any public disclosure.
25+
26+
## Feedback
27+
28+
Issues and PRs are welcome. You can provide your feedback or drop us a support
29+
request at [[email protected]][uc-email-hello].
30+
31+
[uc-email-bounty]: mailto:[email protected]
32+
33+
[uc-email-hello]: mailto:[email protected]
34+
[github-releases]: https://github.com/uploadcare/react-uploader/releases
35+
[github-branch-release]: https://github.com/uploadcare/react-uploader/tree/release
36+
[github-contributors]: https://github.com/uploadcare/react-uploader/graphs/contributors
37+
[badge-stack-img]: https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat
38+
[badge-stack-url]: https://stackshare.io/uploadcare/stacks/
39+
[badge-release-img]: https://img.shields.io/github/release/uploadcare/uploadcare-js-api-clients.svg
40+
[badge-release-url]: https://github.com/uploadcare/react-uploader/releases
41+
[npm-img]: http://img.shields.io/npm/v/@uploadcare/upload-client.svg
42+
[npm-url]: https://www.npmjs.org/package/@uploadcare/upload-client
43+
[badge-build]: https://github.com/uploadcare/react-uploader/actions/workflows/checks.yml/badge.svg
44+
[build-url]: https://github.com/uploadcare/react-uploader/actions/workflows/checks.yml
45+
[uc-docs-upload-api]: https://uploadcare.com/docs/api_reference/upload/?utm_source=github&utm_campaign=uploadcare-js-api-clients
46+
[uc-docs-metadata]: https://uploadcare.com/api-refs/rest-api/v0.7.0/#tag/File-Metadata

0 commit comments

Comments
 (0)