@ory/elements-react 1.0.0-next.9 → 1.0.0-pr.5494d7c2
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/CHANGELOG.md +578 -0
- package/DEVELOPMENT.md +94 -0
- package/LICENSE +201 -0
- package/README.md +359 -32
- package/babel.config.js +10 -0
- package/dist/client/config.d.mts +21 -0
- package/dist/client/config.d.ts +21 -0
- package/dist/client/config.js +77 -0
- package/dist/client/config.js.map +1 -0
- package/dist/client/config.mjs +51 -0
- package/dist/client/config.mjs.map +1 -0
- package/dist/client/frontendClient.d.mts +10 -0
- package/dist/client/frontendClient.d.ts +10 -0
- package/dist/client/frontendClient.js +75 -0
- package/dist/client/frontendClient.js.map +1 -0
- package/dist/client/frontendClient.mjs +54 -0
- package/dist/client/frontendClient.mjs.map +1 -0
- package/dist/client/index.d.mts +5 -0
- package/dist/client/index.d.ts +5 -0
- package/dist/client/index.js +33 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/index.mjs +10 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/client/session-provider.d.mts +62 -0
- package/dist/client/session-provider.d.ts +62 -0
- package/dist/client/session-provider.js +96 -0
- package/dist/client/session-provider.js.map +1 -0
- package/dist/client/session-provider.mjs +71 -0
- package/dist/client/session-provider.mjs.map +1 -0
- package/dist/client/useSession.d.mts +32 -0
- package/dist/client/useSession.d.ts +32 -0
- package/dist/client/useSession.js +37 -0
- package/dist/client/useSession.js.map +1 -0
- package/dist/client/useSession.mjs +13 -0
- package/dist/client/useSession.mjs.map +1 -0
- package/dist/index.d.mts +531 -1888
- package/dist/index.d.ts +531 -1888
- package/dist/index.js +4159 -2556
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4154 -2543
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +986 -308
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.d.mts +54 -15
- package/dist/theme/default/index.d.ts +54 -15
- package/dist/theme/default/index.js +5616 -797
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +5702 -768
- package/dist/theme/default/index.mjs.map +1 -1
- package/dist/theme/default/tailwind/defaults.d.mts +737 -0
- package/dist/theme/default/tailwind/defaults.d.ts +737 -0
- package/dist/theme/default/tailwind/defaults.js +219 -0
- package/dist/theme/default/tailwind/defaults.js.map +1 -0
- package/dist/theme/default/tailwind/defaults.mjs +196 -0
- package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
- package/package.json +39 -14
- package/tailwind/defaults.ts +34 -0
- package/tailwind/generated/README.md +2 -0
- package/tailwind/generated/default-variables.css +216 -0
- package/tailwind/generated/variables-processed.json +161 -0
- package/tsconfig.json +10 -9
- package/tsconfig.runtime.json +4 -0
- package/.eslintrc.js +0 -61
- package/.vscode/i18n-ally-reviews.yml +0 -3
- package/.vscode/settings.json +0 -4
- package/api-report/elements-react-theme.api.json +0 -1260
- package/api-report/elements-react-theme.api.md +0 -128
- package/api-report/elements-react.api.json +0 -4262
- package/api-report/elements-react.api.md +0 -393
- package/api-report/temp/elements-react-theme.api.md +0 -130
- package/api-report/temp/elements-react.api.md +0 -328
- package/config/api-extractor-core.json +0 -457
- package/config/api-extractor-theme.json +0 -463
- package/jest.config.ts +0 -16
- package/postcss.config.ts +0 -6
- package/tailwind.config.ts +0 -54
- package/tsconfig.spec.json +0 -20
- package/variables-processed.json +0 -193
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
## API Report File for "@ory/elements-react"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
8
|
-
import { ComponentType } from 'react';
|
|
9
|
-
import { ConfigurationParameters } from '@ory/client-fetch';
|
|
10
|
-
import { DetailedHTMLProps } from 'react';
|
|
11
|
-
import { FlowError } from '@ory/client-fetch';
|
|
12
|
-
import { FormEventHandler } from 'react';
|
|
13
|
-
import { HTMLAttributes } from 'react';
|
|
14
|
-
import { LoginFlow } from '@ory/client-fetch';
|
|
15
|
-
import { MouseEventHandler } from 'react';
|
|
16
|
-
import { PropsWithChildren } from 'react';
|
|
17
|
-
import * as react from 'react';
|
|
18
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
19
|
-
import { RecoveryFlow } from '@ory/client-fetch';
|
|
20
|
-
import { RegistrationFlow } from '@ory/client-fetch';
|
|
21
|
-
import { SettingsFlow } from '@ory/client-fetch';
|
|
22
|
-
import { UiNode } from '@ory/client-fetch';
|
|
23
|
-
import { UiNodeAnchorAttributes } from '@ory/client-fetch';
|
|
24
|
-
import { UiNodeImageAttributes } from '@ory/client-fetch';
|
|
25
|
-
import { UiNodeInputAttributes } from '@ory/client-fetch';
|
|
26
|
-
import { UiNodeTextAttributes } from '@ory/client-fetch';
|
|
27
|
-
import { UiText } from '@ory/client-fetch';
|
|
28
|
-
import { VerificationFlow } from '@ory/client-fetch';
|
|
29
|
-
|
|
30
|
-
// Warning: (ae-forgotten-export) The symbol "OryCardProps" needs to be exported by the entry point index.d.ts
|
|
31
|
-
//
|
|
32
|
-
// @public (undocumented)
|
|
33
|
-
export function DefaultCard({ children }: OryCardProps): react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
|
-
// Warning: (ae-forgotten-export) The symbol "OryCardContentProps" needs to be exported by the entry point index.d.ts
|
|
36
|
-
//
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
export function DefaultCardContent({ children }: OryCardContentProps): react.ReactNode;
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export function DefaultCardFooter(): react_jsx_runtime.JSX.Element | null;
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
export function DefaultCardHeader(): react_jsx_runtime.JSX.Element;
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export function DefaultCardLogo(): react_jsx_runtime.JSX.Element;
|
|
48
|
-
|
|
49
|
-
// Warning: (ae-forgotten-export) The symbol "HeadlessFormProps" needs to be exported by the entry point index.d.ts
|
|
50
|
-
//
|
|
51
|
-
// @public (undocumented)
|
|
52
|
-
export function DefaultFormContainer({ children, onSubmit, action, method, }: PropsWithChildren<HeadlessFormProps>): react_jsx_runtime.JSX.Element;
|
|
53
|
-
|
|
54
|
-
// Warning: (ae-forgotten-export) The symbol "HeadlessMessageProps" needs to be exported by the entry point index.d.ts
|
|
55
|
-
//
|
|
56
|
-
// @public (undocumented)
|
|
57
|
-
export function DefaultMessage({ message }: HeadlessMessageProps): react_jsx_runtime.JSX.Element;
|
|
58
|
-
|
|
59
|
-
// @public (undocumented)
|
|
60
|
-
export function DefaultMessageContainer({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element | null;
|
|
61
|
-
|
|
62
|
-
// @public (undocumented)
|
|
63
|
-
function Error_2({ error, children, }: PropsWithChildren<ErrorFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
64
|
-
export { Error_2 as Error }
|
|
65
|
-
|
|
66
|
-
// @public (undocumented)
|
|
67
|
-
export type ErrorFlowContextProps = {
|
|
68
|
-
error: FlowError;
|
|
69
|
-
components?: Partial<OryFlowComponents>;
|
|
70
|
-
config: OryClientConfiguration;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
export function Login({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<LoginFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
75
|
-
|
|
76
|
-
// @public (undocumented)
|
|
77
|
-
export type LoginFlowContextProps = {
|
|
78
|
-
flow: LoginFlow;
|
|
79
|
-
components?: Partial<OryFlowComponents>;
|
|
80
|
-
config: OryClientConfiguration;
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
// @public (undocumented)
|
|
84
|
-
export const OryDefaultComponents: OryFlowComponents;
|
|
85
|
-
|
|
86
|
-
// @public (undocumented)
|
|
87
|
-
export function Recovery({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<RecoveryFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
88
|
-
|
|
89
|
-
// @public (undocumented)
|
|
90
|
-
export type RecoveryFlowContextProps = {
|
|
91
|
-
flow: RecoveryFlow;
|
|
92
|
-
components?: Partial<OryFlowComponents>;
|
|
93
|
-
config: OryClientConfiguration;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
// Warning: (ae-forgotten-export) The symbol "RegistrationFlowContextProps" needs to be exported by the entry point index.d.ts
|
|
97
|
-
//
|
|
98
|
-
// @public (undocumented)
|
|
99
|
-
export function Registration({ flow, children, components: flowOverrideComponents, config, }: PropsWithChildren<RegistrationFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
100
|
-
|
|
101
|
-
// @public (undocumented)
|
|
102
|
-
export function Settings({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<SettingsFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
103
|
-
|
|
104
|
-
// @public (undocumented)
|
|
105
|
-
export type SettingsFlowContextProps = {
|
|
106
|
-
flow: SettingsFlow;
|
|
107
|
-
components?: Partial<OryFlowComponents>;
|
|
108
|
-
config: OryClientConfiguration;
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
// @public (undocumented)
|
|
112
|
-
export function Verification({ flow, config, children, components: flowOverrideComponents, }: PropsWithChildren<VerificationFlowContextProps>): react_jsx_runtime.JSX.Element;
|
|
113
|
-
|
|
114
|
-
// @public (undocumented)
|
|
115
|
-
export type VerificationFlowContextProps = {
|
|
116
|
-
flow: VerificationFlow;
|
|
117
|
-
components?: Partial<OryFlowComponents>;
|
|
118
|
-
config: OryClientConfiguration;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
// Warnings were encountered during analysis:
|
|
122
|
-
//
|
|
123
|
-
// dist/theme/default/index.d.ts:25:5 - (ae-forgotten-export) The symbol "OryFlowComponents" needs to be exported by the entry point index.d.ts
|
|
124
|
-
// dist/theme/default/index.d.ts:26:5 - (ae-forgotten-export) The symbol "OryClientConfiguration" needs to be exported by the entry point index.d.ts
|
|
125
|
-
|
|
126
|
-
// (No @packageDocumentation comment for this package)
|
|
127
|
-
|
|
128
|
-
```
|