@ory/elements-react 0.0.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/.eslintrc.js +49 -0
- package/README.md +23 -0
- package/dist/index.d.mts +1771 -0
- package/dist/index.d.ts +1771 -0
- package/dist/index.js +6942 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6893 -0
- package/dist/index.mjs.map +1 -0
- package/dist/theme/default/index.css +854 -0
- package/dist/theme/default/index.css.map +1 -0
- package/dist/theme/default/index.d.mts +187 -0
- package/dist/theme/default/index.d.ts +187 -0
- package/dist/theme/default/index.js +8007 -0
- package/dist/theme/default/index.js.map +1 -0
- package/dist/theme/default/index.mjs +8029 -0
- package/dist/theme/default/index.mjs.map +1 -0
- package/package.json +60 -0
- package/postcss.config.ts +6 -0
- package/tailwind.config.ts +51 -0
- package/tsconfig.json +24 -0
- package/variables-processed.json +193 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright © 2024 Ory Corp
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
root: true,
|
|
6
|
+
env: {
|
|
7
|
+
node: true,
|
|
8
|
+
browser: true,
|
|
9
|
+
es2021: true,
|
|
10
|
+
},
|
|
11
|
+
extends: [
|
|
12
|
+
"../../.eslintrc.cjs",
|
|
13
|
+
"eslint:recommended",
|
|
14
|
+
"plugin:react/recommended",
|
|
15
|
+
"plugin:react/jsx-runtime",
|
|
16
|
+
],
|
|
17
|
+
ignorePatterns: ["playwright/", "playwright-ct.config.ts", ".eslintrc.js"],
|
|
18
|
+
parserOptions: {
|
|
19
|
+
ecmaVersion: 12,
|
|
20
|
+
sourceType: "module",
|
|
21
|
+
project: __dirname + "/tsconfig.json",
|
|
22
|
+
},
|
|
23
|
+
rules: {
|
|
24
|
+
// false positive with typescript enums, and is covered by the typescript rule
|
|
25
|
+
"no-unused-vars": "off",
|
|
26
|
+
// covered by typescript
|
|
27
|
+
"no-undef": "off",
|
|
28
|
+
// TODO(jonas): define if we want to use this rule and if we want types or interfaces
|
|
29
|
+
"@typescript-eslint/consistent-type-definitions": "off",
|
|
30
|
+
},
|
|
31
|
+
env: {
|
|
32
|
+
jest: true,
|
|
33
|
+
},
|
|
34
|
+
overrides: [
|
|
35
|
+
{
|
|
36
|
+
files: ["**/*.spec.ts", "**/*.spec.tsx", "playwright/"],
|
|
37
|
+
|
|
38
|
+
parserOptions: {
|
|
39
|
+
ecmaVersion: 12,
|
|
40
|
+
sourceType: "module",
|
|
41
|
+
project: __dirname + "/tsconfig.test.json",
|
|
42
|
+
},
|
|
43
|
+
rules: {
|
|
44
|
+
// covered by typescript
|
|
45
|
+
"react/prop-types": "off",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
}
|
package/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://ory.sh">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/ory/meta/jonas-jonas/orylogo/static/logos/logo-ory.svg" height="72" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
# @ory/elements-react
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
Ory Elements is a collection of components and functions that help you get an
|
|
12
|
+
authentication solution up, running and integrated into your application in no
|
|
13
|
+
time.
|
|
14
|
+
|
|
15
|
+
- Documentation: https://ory.sh/docs
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
Install the package:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npm install @ory/elements-react
|
|
23
|
+
```
|