@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.
Files changed (78) hide show
  1. package/CHANGELOG.md +578 -0
  2. package/DEVELOPMENT.md +94 -0
  3. package/LICENSE +201 -0
  4. package/README.md +359 -32
  5. package/babel.config.js +10 -0
  6. package/dist/client/config.d.mts +21 -0
  7. package/dist/client/config.d.ts +21 -0
  8. package/dist/client/config.js +77 -0
  9. package/dist/client/config.js.map +1 -0
  10. package/dist/client/config.mjs +51 -0
  11. package/dist/client/config.mjs.map +1 -0
  12. package/dist/client/frontendClient.d.mts +10 -0
  13. package/dist/client/frontendClient.d.ts +10 -0
  14. package/dist/client/frontendClient.js +75 -0
  15. package/dist/client/frontendClient.js.map +1 -0
  16. package/dist/client/frontendClient.mjs +54 -0
  17. package/dist/client/frontendClient.mjs.map +1 -0
  18. package/dist/client/index.d.mts +5 -0
  19. package/dist/client/index.d.ts +5 -0
  20. package/dist/client/index.js +33 -0
  21. package/dist/client/index.js.map +1 -0
  22. package/dist/client/index.mjs +10 -0
  23. package/dist/client/index.mjs.map +1 -0
  24. package/dist/client/session-provider.d.mts +62 -0
  25. package/dist/client/session-provider.d.ts +62 -0
  26. package/dist/client/session-provider.js +96 -0
  27. package/dist/client/session-provider.js.map +1 -0
  28. package/dist/client/session-provider.mjs +71 -0
  29. package/dist/client/session-provider.mjs.map +1 -0
  30. package/dist/client/useSession.d.mts +32 -0
  31. package/dist/client/useSession.d.ts +32 -0
  32. package/dist/client/useSession.js +37 -0
  33. package/dist/client/useSession.js.map +1 -0
  34. package/dist/client/useSession.mjs +13 -0
  35. package/dist/client/useSession.mjs.map +1 -0
  36. package/dist/index.d.mts +531 -1888
  37. package/dist/index.d.ts +531 -1888
  38. package/dist/index.js +4159 -2556
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +4154 -2543
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/theme/default/index.css +986 -308
  43. package/dist/theme/default/index.css.map +1 -1
  44. package/dist/theme/default/index.d.mts +54 -15
  45. package/dist/theme/default/index.d.ts +54 -15
  46. package/dist/theme/default/index.js +5616 -797
  47. package/dist/theme/default/index.js.map +1 -1
  48. package/dist/theme/default/index.mjs +5702 -768
  49. package/dist/theme/default/index.mjs.map +1 -1
  50. package/dist/theme/default/tailwind/defaults.d.mts +737 -0
  51. package/dist/theme/default/tailwind/defaults.d.ts +737 -0
  52. package/dist/theme/default/tailwind/defaults.js +219 -0
  53. package/dist/theme/default/tailwind/defaults.js.map +1 -0
  54. package/dist/theme/default/tailwind/defaults.mjs +196 -0
  55. package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
  56. package/package.json +39 -14
  57. package/tailwind/defaults.ts +34 -0
  58. package/tailwind/generated/README.md +2 -0
  59. package/tailwind/generated/default-variables.css +216 -0
  60. package/tailwind/generated/variables-processed.json +161 -0
  61. package/tsconfig.json +10 -9
  62. package/tsconfig.runtime.json +4 -0
  63. package/.eslintrc.js +0 -61
  64. package/.vscode/i18n-ally-reviews.yml +0 -3
  65. package/.vscode/settings.json +0 -4
  66. package/api-report/elements-react-theme.api.json +0 -1260
  67. package/api-report/elements-react-theme.api.md +0 -128
  68. package/api-report/elements-react.api.json +0 -4262
  69. package/api-report/elements-react.api.md +0 -393
  70. package/api-report/temp/elements-react-theme.api.md +0 -130
  71. package/api-report/temp/elements-react.api.md +0 -328
  72. package/config/api-extractor-core.json +0 -457
  73. package/config/api-extractor-theme.json +0 -463
  74. package/jest.config.ts +0 -16
  75. package/postcss.config.ts +0 -6
  76. package/tailwind.config.ts +0 -54
  77. package/tsconfig.spec.json +0 -20
  78. 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
- ```