@clerk/react 5.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +71 -0
- package/dist/chunk-KLK6ZMZX.mjs +1011 -0
- package/dist/chunk-KLK6ZMZX.mjs.map +1 -0
- package/dist/chunk-MB46WFKC.mjs +28 -0
- package/dist/chunk-MB46WFKC.mjs.map +1 -0
- package/dist/chunk-OANWQR3B.mjs +16 -0
- package/dist/chunk-OANWQR3B.mjs.map +1 -0
- package/dist/chunk-PS5BRRRD.mjs +282 -0
- package/dist/chunk-PS5BRRRD.mjs.map +1 -0
- package/dist/chunk-Z2DSM5QN.mjs +171 -0
- package/dist/chunk-Z2DSM5QN.mjs.map +1 -0
- package/dist/errors.d.mts +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +45 -0
- package/dist/errors.js.map +1 -0
- package/dist/errors.mjs +24 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/experimental.d.mts +125 -0
- package/dist/experimental.d.ts +125 -0
- package/dist/experimental.js +1301 -0
- package/dist/experimental.js.map +1 -0
- package/dist/experimental.mjs +164 -0
- package/dist/experimental.mjs.map +1 -0
- package/dist/index.d.mts +217 -0
- package/dist/index.d.ts +217 -0
- package/dist/index.js +3304 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1940 -0
- package/dist/index.mjs.map +1 -0
- package/dist/internal.d.mts +18 -0
- package/dist/internal.d.ts +18 -0
- package/dist/internal.js +260 -0
- package/dist/internal.js.map +1 -0
- package/dist/internal.mjs +58 -0
- package/dist/internal.mjs.map +1 -0
- package/dist/legacy.d.mts +95 -0
- package/dist/legacy.d.ts +95 -0
- package/dist/legacy.js +90 -0
- package/dist/legacy.js.map +1 -0
- package/dist/legacy.mjs +48 -0
- package/dist/legacy.mjs.map +1 -0
- package/dist/types-BS-xjOf_.d.mts +77 -0
- package/dist/types-BS-xjOf_.d.ts +77 -0
- package/dist/useAuth-CibrZ7p3.d.mts +182 -0
- package/dist/useAuth-yh0dHssU.d.ts +182 -0
- package/package.json +116 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Clerk, 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.
|
package/README.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://clerk.com?utm_source=github&utm_medium=clerk_react" target="_blank" rel="noopener noreferrer">
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://images.clerk.com/static/logo-dark-mode-400x400.png">
|
|
5
|
+
<img src="https://images.clerk.com/static/logo-light-mode-400x400.png" height="64">
|
|
6
|
+
</picture>
|
|
7
|
+
</a>
|
|
8
|
+
<br />
|
|
9
|
+
<h1 align="center">@clerk/react</h1>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
<div align="center">
|
|
13
|
+
|
|
14
|
+
[](https://clerk.com/discord)
|
|
15
|
+
[](https://clerk.com/docs?utm_source=github&utm_medium=clerk_react)
|
|
16
|
+
[](https://twitter.com/intent/follow?screen_name=ClerkDev)
|
|
17
|
+
|
|
18
|
+
[Changelog](https://github.com/clerk/javascript/blob/main/packages/react/CHANGELOG.md)
|
|
19
|
+
·
|
|
20
|
+
[Report a Bug](https://github.com/clerk/javascript/issues/new?assignees=&labels=needs-triage&projects=&template=BUG_REPORT.yml)
|
|
21
|
+
·
|
|
22
|
+
[Request a Feature](https://feedback.clerk.com/roadmap)
|
|
23
|
+
·
|
|
24
|
+
[Get help](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_react)
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
## Getting Started
|
|
29
|
+
|
|
30
|
+
[Clerk](https://clerk.com/?utm_source=github&utm_medium=clerk_react) is the easiest way to add authentication and user management to your React application. Add sign up, sign in, and profile management to your application in minutes.
|
|
31
|
+
|
|
32
|
+
### Prerequisites
|
|
33
|
+
|
|
34
|
+
- React 18 or later
|
|
35
|
+
- Node.js `>=18.17.0` or later
|
|
36
|
+
- An existing Clerk application. [Create your account for free](https://dashboard.clerk.com/sign-up?utm_source=github&utm_medium=clerk_react).
|
|
37
|
+
|
|
38
|
+
### Installation
|
|
39
|
+
|
|
40
|
+
The fastest way to get started with Clerk is by following the [React Quickstart](https://clerk.com/docs/quickstarts/react?utm_source=github&utm_medium=clerk_react).
|
|
41
|
+
|
|
42
|
+
You'll learn how to create a new React application, install `@clerk/react`, set up your environment keys, add `<ClerkProvider>`, and use Clerk's prebuilt components.
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
For further information, guides, and examples visit the [React reference documentation](https://clerk.com/docs/references/react/overview?utm_source=github&utm_medium=clerk_react).
|
|
47
|
+
|
|
48
|
+
## Support
|
|
49
|
+
|
|
50
|
+
You can get in touch with us in any of the following ways:
|
|
51
|
+
|
|
52
|
+
- Join our official community [Discord server](https://clerk.com/discord)
|
|
53
|
+
- On [our support page](https://clerk.com/contact/support?utm_source=github&utm_medium=clerk_react)
|
|
54
|
+
|
|
55
|
+
## Contributing
|
|
56
|
+
|
|
57
|
+
We're open to all community contributions! If you'd like to contribute in any way, please read [our contribution guidelines](https://github.com/clerk/javascript/blob/main/docs/CONTRIBUTING.md) and [code of conduct](https://github.com/clerk/javascript/blob/main/docs/CODE_OF_CONDUCT.md).
|
|
58
|
+
|
|
59
|
+
## Security
|
|
60
|
+
|
|
61
|
+
`@clerk/react` follows good practices of security, but 100% security cannot be assured.
|
|
62
|
+
|
|
63
|
+
`@clerk/react` is provided **"as is"** without any **warranty**. Use at your own risk.
|
|
64
|
+
|
|
65
|
+
_For more information and to report security issues, please refer to our [security documentation](https://github.com/clerk/javascript/blob/main/docs/SECURITY.md)._
|
|
66
|
+
|
|
67
|
+
## License
|
|
68
|
+
|
|
69
|
+
This project is licensed under the **MIT license**.
|
|
70
|
+
|
|
71
|
+
See [LICENSE](https://github.com/clerk/javascript/blob/main/packages/react/LICENSE) for more information.
|