@ory/elements-react 1.0.0-next.17 → 1.0.0-next.19
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 +33 -0
- package/api-report/elements-react-client.api.json +144 -16
- package/api-report/elements-react-client.api.md +19 -8
- package/api-report/elements-react-theme.api.json +47 -0
- package/api-report/elements-react-theme.api.md +5 -2
- package/api-report/elements-react.api.json +85 -23
- package/api-report/elements-react.api.md +37 -16
- package/api-report/temp/elements-react-client.api.md +19 -8
- package/api-report/temp/elements-react-theme.api.md +5 -2
- package/api-report/temp/elements-react.api.md +37 -16
- 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 +3 -1
- package/dist/client/frontendClient.d.ts +3 -1
- package/dist/client/frontendClient.js +14 -2
- package/dist/client/frontendClient.js.map +1 -1
- package/dist/client/frontendClient.mjs +14 -2
- package/dist/client/frontendClient.mjs.map +1 -1
- package/dist/client/index.d.mts +3 -1
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +4 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +5 -0
- package/dist/client/index.mjs.map +1 -1
- 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 +22 -31
- package/dist/client/useSession.d.ts +22 -31
- package/dist/client/useSession.js +7 -49
- package/dist/client/useSession.js.map +1 -1
- package/dist/client/useSession.mjs +8 -49
- package/dist/client/useSession.mjs.map +1 -1
- package/dist/index.d.mts +36 -19
- package/dist/index.d.ts +36 -19
- package/dist/index.js +583 -402
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +586 -405
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +393 -259
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.d.mts +4 -2
- package/dist/theme/default/index.d.ts +4 -2
- package/dist/theme/default/index.js +728 -588
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +665 -526
- package/dist/theme/default/index.mjs.map +1 -1
- package/jest.config.ts +1 -1
- package/package.json +2 -1
- package/postcss.config.ts +1 -0
- package/tailwind.config.ts +14 -13
- package/tsconfig.json +4 -3
- package/variables-processed.json +385 -187
- package/.eslintrc.js +0 -63
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## 1.0.0-next.19 (2024-12-31)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- properly handle form submits in settings flow ([#322](https://github.com/ory/elements/pull/322))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- Jonas Hungershausen
|
|
10
|
+
|
|
11
|
+
## 1.0.0-next.18 (2024-12-30)
|
|
12
|
+
|
|
13
|
+
### 🚀 Features
|
|
14
|
+
|
|
15
|
+
- add page and app router examples ([#307](https://github.com/ory/elements/pull/307))
|
|
16
|
+
- ⚠️ add getServerSession and SessionProvider ([#309](https://github.com/ory/elements/pull/309))
|
|
17
|
+
- add @ory/nextjs package ([#303](https://github.com/ory/elements/pull/303))
|
|
18
|
+
|
|
19
|
+
### 🩹 Fixes
|
|
20
|
+
|
|
21
|
+
- align font sizes to design & use updated variable names ([#318](https://github.com/ory/elements/pull/318))
|
|
22
|
+
- properly set default value for checkboxes ([#314](https://github.com/ory/elements/pull/314))
|
|
23
|
+
- passkey and webauthn in settings flow ([#317](https://github.com/ory/elements/pull/317))
|
|
24
|
+
|
|
25
|
+
### ⚠️ Breaking Changes
|
|
26
|
+
|
|
27
|
+
- ⚠️ add getServerSession and SessionProvider ([#309](https://github.com/ory/elements/pull/309))
|
|
28
|
+
|
|
29
|
+
### ❤️ Thank You
|
|
30
|
+
|
|
31
|
+
- hackerman @aeneasr
|
|
32
|
+
- Jonas Hungershausen
|
|
33
|
+
|
|
1
34
|
## 1.0.0-next.17 (2024-11-27)
|
|
2
35
|
|
|
3
36
|
|
|
@@ -173,53 +173,181 @@
|
|
|
173
173
|
"preserveMemberOrder": false,
|
|
174
174
|
"members": [
|
|
175
175
|
{
|
|
176
|
-
"kind": "
|
|
177
|
-
"canonicalReference": "@ory/elements-react!
|
|
178
|
-
"docComment": "
|
|
176
|
+
"kind": "TypeAlias",
|
|
177
|
+
"canonicalReference": "@ory/elements-react!SessionContextData:type",
|
|
178
|
+
"docComment": "",
|
|
179
179
|
"excerptTokens": [
|
|
180
180
|
{
|
|
181
181
|
"kind": "Content",
|
|
182
|
-
"text": "
|
|
182
|
+
"text": "type SessionContextData = "
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"kind": "Content",
|
|
186
|
-
"text": "{\n
|
|
186
|
+
"text": "{\n isLoading: boolean;\n initialized: boolean;\n session: "
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "Reference",
|
|
190
|
+
"text": "Session",
|
|
191
|
+
"canonicalReference": "@ory/client-fetch!Session:interface"
|
|
187
192
|
},
|
|
188
193
|
{
|
|
189
194
|
"kind": "Content",
|
|
190
|
-
"text": "
|
|
195
|
+
"text": " | null;\n error: "
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "Reference",
|
|
199
|
+
"text": "Error",
|
|
200
|
+
"canonicalReference": "!Error:interface"
|
|
191
201
|
},
|
|
192
202
|
{
|
|
193
203
|
"kind": "Content",
|
|
194
|
-
"text": "
|
|
204
|
+
"text": " | undefined;\n refetch: () => "
|
|
195
205
|
},
|
|
196
206
|
{
|
|
197
207
|
"kind": "Reference",
|
|
198
|
-
"text": "
|
|
199
|
-
"canonicalReference": "
|
|
208
|
+
"text": "Promise",
|
|
209
|
+
"canonicalReference": "!Promise:interface"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "Content",
|
|
213
|
+
"text": "<void>;\n}"
|
|
200
214
|
},
|
|
201
215
|
{
|
|
202
216
|
"kind": "Content",
|
|
203
|
-
"text": "
|
|
217
|
+
"text": ";"
|
|
204
218
|
}
|
|
205
219
|
],
|
|
206
|
-
"fileUrlPath": "dist/client/
|
|
220
|
+
"fileUrlPath": "dist/client/session-provider.d.ts",
|
|
221
|
+
"releaseTag": "Public",
|
|
222
|
+
"name": "SessionContextData",
|
|
223
|
+
"typeTokenRange": {
|
|
224
|
+
"startIndex": 1,
|
|
225
|
+
"endIndex": 8
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "Function",
|
|
230
|
+
"canonicalReference": "@ory/elements-react!SessionProvider:function(1)",
|
|
231
|
+
"docComment": "/**\n * A provider that fetches the session from the Ory Network and provides it to the children.\n *\n * To use this provider, wrap your application in it:\n * ```tsx\n * import { SessionProvider } from \"@ory/elements-react\"\n *\n * export default function App() {\n * return (\n * <SessionProvider>\n * <MyApp />\n * </SessionProvider>\n * )\n * }\n * ```\n *\n * If you have a session from the server, you can pass it to the provider:\n * ```tsx\n * <SessionProvider session={serverSession}>\n * ```\n *\n * @param props - The provider props\n *\n * @see\n *\n * {@link useSession}\n */\n",
|
|
232
|
+
"excerptTokens": [
|
|
233
|
+
{
|
|
234
|
+
"kind": "Content",
|
|
235
|
+
"text": "declare function SessionProvider({ "
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "Reference",
|
|
239
|
+
"text": "session",
|
|
240
|
+
"canonicalReference": "@ory/elements-react!~__type#session"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "Content",
|
|
244
|
+
"text": ": initialSession, children, baseUrl, }: "
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "Reference",
|
|
248
|
+
"text": "SessionProviderProps",
|
|
249
|
+
"canonicalReference": "@ory/elements-react!SessionProviderProps:type"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"kind": "Content",
|
|
253
|
+
"text": "): "
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "Reference",
|
|
257
|
+
"text": "react_jsx_runtime.JSX.Element",
|
|
258
|
+
"canonicalReference": "@types/react!JSX.Element:interface"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"kind": "Content",
|
|
262
|
+
"text": ";"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"fileUrlPath": "dist/client/session-provider.d.ts",
|
|
207
266
|
"returnTypeTokenRange": {
|
|
208
|
-
"startIndex":
|
|
267
|
+
"startIndex": 5,
|
|
209
268
|
"endIndex": 6
|
|
210
269
|
},
|
|
211
270
|
"releaseTag": "Public",
|
|
212
271
|
"overloadIndex": 1,
|
|
213
272
|
"parameters": [
|
|
214
273
|
{
|
|
215
|
-
"parameterName": "
|
|
274
|
+
"parameterName": "{ session: initialSession, children, baseUrl, }",
|
|
216
275
|
"parameterTypeTokenRange": {
|
|
217
|
-
"startIndex":
|
|
218
|
-
"endIndex":
|
|
276
|
+
"startIndex": 3,
|
|
277
|
+
"endIndex": 4
|
|
219
278
|
},
|
|
220
|
-
"isOptional":
|
|
279
|
+
"isOptional": false
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"name": "SessionProvider"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "TypeAlias",
|
|
286
|
+
"canonicalReference": "@ory/elements-react!SessionProviderProps:type",
|
|
287
|
+
"docComment": "",
|
|
288
|
+
"excerptTokens": [
|
|
289
|
+
{
|
|
290
|
+
"kind": "Content",
|
|
291
|
+
"text": "type SessionProviderProps = "
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"kind": "Content",
|
|
295
|
+
"text": "{\n session?: "
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"kind": "Reference",
|
|
299
|
+
"text": "Session",
|
|
300
|
+
"canonicalReference": "@ory/client-fetch!Session:interface"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"kind": "Content",
|
|
304
|
+
"text": " | null;\n baseUrl?: string;\n} & "
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "Reference",
|
|
308
|
+
"text": "React.PropsWithChildren",
|
|
309
|
+
"canonicalReference": "@types/react!React.PropsWithChildren:type"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": ";"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"fileUrlPath": "dist/client/session-provider.d.ts",
|
|
317
|
+
"releaseTag": "Public",
|
|
318
|
+
"name": "SessionProviderProps",
|
|
319
|
+
"typeTokenRange": {
|
|
320
|
+
"startIndex": 1,
|
|
321
|
+
"endIndex": 5
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"kind": "Function",
|
|
326
|
+
"canonicalReference": "@ory/elements-react!useSession:function(1)",
|
|
327
|
+
"docComment": "/**\n * A hook to get the current session from the Ory Network.\n *\n * Usage:\n * ```ts\n * const session = useSession()\n *\n * if (session.state == \"loading\") {\n * return <div>Loading...</div>\n * }\n *\n * if (session.state == \"authenticated\") {\n * return <div>Session: {session.session.id}</div>\n * }\n * ```\n *\n * :::note This is a client-side hook and must be used within a React component. On the server, you can use the getServerSession function from `@ory/nextjs` and hydrate SessionProvider with the session. :::\n *\n * @returns The current session, and error or loading state.\n */\n",
|
|
328
|
+
"excerptTokens": [
|
|
329
|
+
{
|
|
330
|
+
"kind": "Content",
|
|
331
|
+
"text": "declare function useSession(): "
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "Reference",
|
|
335
|
+
"text": "SessionContextData",
|
|
336
|
+
"canonicalReference": "@ory/elements-react!SessionContextData:type"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "Content",
|
|
340
|
+
"text": ";"
|
|
221
341
|
}
|
|
222
342
|
],
|
|
343
|
+
"fileUrlPath": "dist/client/useSession.d.ts",
|
|
344
|
+
"returnTypeTokenRange": {
|
|
345
|
+
"startIndex": 1,
|
|
346
|
+
"endIndex": 2
|
|
347
|
+
},
|
|
348
|
+
"releaseTag": "Public",
|
|
349
|
+
"overloadIndex": 1,
|
|
350
|
+
"parameters": [],
|
|
223
351
|
"name": "useSession"
|
|
224
352
|
}
|
|
225
353
|
]
|
|
@@ -4,19 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import { Session } from '@ory/client-fetch';
|
|
8
9
|
|
|
9
|
-
// @public
|
|
10
|
-
export
|
|
11
|
-
sdk: {
|
|
12
|
-
url: string;
|
|
13
|
-
};
|
|
14
|
-
}) => {
|
|
15
|
-
session: Session | undefined;
|
|
16
|
-
error: string | undefined;
|
|
10
|
+
// @public (undocumented)
|
|
11
|
+
export type SessionContextData = {
|
|
17
12
|
isLoading: boolean;
|
|
13
|
+
initialized: boolean;
|
|
14
|
+
session: Session | null;
|
|
15
|
+
error: Error | undefined;
|
|
16
|
+
refetch: () => Promise<void>;
|
|
18
17
|
};
|
|
19
18
|
|
|
19
|
+
// @public
|
|
20
|
+
export function SessionProvider({ session: initialSession, children, baseUrl, }: SessionProviderProps): react_jsx_runtime.JSX.Element;
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
export type SessionProviderProps = {
|
|
24
|
+
session?: Session | null;
|
|
25
|
+
baseUrl?: string;
|
|
26
|
+
} & React.PropsWithChildren;
|
|
27
|
+
|
|
28
|
+
// @public
|
|
29
|
+
export function useSession(): SessionContextData;
|
|
30
|
+
|
|
20
31
|
// (No @packageDocumentation comment for this package)
|
|
21
32
|
|
|
22
33
|
```
|
|
@@ -478,6 +478,53 @@
|
|
|
478
478
|
"parameters": [],
|
|
479
479
|
"name": "DefaultCardHeader"
|
|
480
480
|
},
|
|
481
|
+
{
|
|
482
|
+
"kind": "Function",
|
|
483
|
+
"canonicalReference": "@ory/elements-react!DefaultCardLayout:function(1)",
|
|
484
|
+
"docComment": "",
|
|
485
|
+
"excerptTokens": [
|
|
486
|
+
{
|
|
487
|
+
"kind": "Content",
|
|
488
|
+
"text": "declare function DefaultCardLayout({ children }: "
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"kind": "Reference",
|
|
492
|
+
"text": "PropsWithChildren",
|
|
493
|
+
"canonicalReference": "@types/react!React.PropsWithChildren:type"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"kind": "Content",
|
|
497
|
+
"text": "): "
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"kind": "Reference",
|
|
501
|
+
"text": "react_jsx_runtime.JSX.Element",
|
|
502
|
+
"canonicalReference": "@types/react!JSX.Element:interface"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"kind": "Content",
|
|
506
|
+
"text": ";"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"fileUrlPath": "dist/theme/default/index.d.ts",
|
|
510
|
+
"returnTypeTokenRange": {
|
|
511
|
+
"startIndex": 3,
|
|
512
|
+
"endIndex": 4
|
|
513
|
+
},
|
|
514
|
+
"releaseTag": "Public",
|
|
515
|
+
"overloadIndex": 1,
|
|
516
|
+
"parameters": [
|
|
517
|
+
{
|
|
518
|
+
"parameterName": "{ children }",
|
|
519
|
+
"parameterTypeTokenRange": {
|
|
520
|
+
"startIndex": 1,
|
|
521
|
+
"endIndex": 2
|
|
522
|
+
},
|
|
523
|
+
"isOptional": false
|
|
524
|
+
}
|
|
525
|
+
],
|
|
526
|
+
"name": "DefaultCardLayout"
|
|
527
|
+
},
|
|
481
528
|
{
|
|
482
529
|
"kind": "Function",
|
|
483
530
|
"canonicalReference": "@ory/elements-react!DefaultCardLogo:function(1)",
|
|
@@ -56,6 +56,9 @@ export function DefaultCardFooter(): react_jsx_runtime.JSX.Element | null;
|
|
|
56
56
|
// @public (undocumented)
|
|
57
57
|
export function DefaultCardHeader(): react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
+
// @public (undocumented)
|
|
60
|
+
export function DefaultCardLayout({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
|
|
61
|
+
|
|
59
62
|
// @public (undocumented)
|
|
60
63
|
export function DefaultCardLogo(): react_jsx_runtime.JSX.Element;
|
|
61
64
|
|
|
@@ -138,8 +141,8 @@ export type VerificationFlowContextProps = {
|
|
|
138
141
|
|
|
139
142
|
// Warnings were encountered during analysis:
|
|
140
143
|
//
|
|
141
|
-
// dist/theme/default/index.d.ts:
|
|
142
|
-
// dist/theme/default/index.d.ts:
|
|
144
|
+
// dist/theme/default/index.d.ts:38:5 - (ae-forgotten-export) The symbol "OryFlowComponentOverrides" needs to be exported by the entry point index.d.ts
|
|
145
|
+
// dist/theme/default/index.d.ts:39:5 - (ae-forgotten-export) The symbol "OryClientConfiguration" needs to be exported by the entry point index.d.ts
|
|
143
146
|
|
|
144
147
|
// (No @packageDocumentation comment for this package)
|
|
145
148
|
|
|
@@ -1043,6 +1043,55 @@
|
|
|
1043
1043
|
"endIndex": 2
|
|
1044
1044
|
}
|
|
1045
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
"kind": "TypeAlias",
|
|
1048
|
+
"canonicalReference": "@ory/elements-react!OryCardSettingsSectionProps:type",
|
|
1049
|
+
"docComment": "",
|
|
1050
|
+
"excerptTokens": [
|
|
1051
|
+
{
|
|
1052
|
+
"kind": "Content",
|
|
1053
|
+
"text": "type OryCardSettingsSectionProps = "
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "Reference",
|
|
1057
|
+
"text": "PropsWithChildren",
|
|
1058
|
+
"canonicalReference": "@types/react!React.PropsWithChildren:type"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "Content",
|
|
1062
|
+
"text": " & {\n action: string;\n method: string;\n onSubmit: "
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"kind": "Reference",
|
|
1066
|
+
"text": "FormEventHandler",
|
|
1067
|
+
"canonicalReference": "@types/react!React.FormEventHandler:type"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"kind": "Content",
|
|
1071
|
+
"text": "<"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"kind": "Reference",
|
|
1075
|
+
"text": "HTMLFormElement",
|
|
1076
|
+
"canonicalReference": "!HTMLFormElement:interface"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"kind": "Content",
|
|
1080
|
+
"text": ">;\n}"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"kind": "Content",
|
|
1084
|
+
"text": ";"
|
|
1085
|
+
}
|
|
1086
|
+
],
|
|
1087
|
+
"fileUrlPath": "dist/index.d.ts",
|
|
1088
|
+
"releaseTag": "Public",
|
|
1089
|
+
"name": "OryCardSettingsSectionProps",
|
|
1090
|
+
"typeTokenRange": {
|
|
1091
|
+
"startIndex": 1,
|
|
1092
|
+
"endIndex": 7
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1046
1095
|
{
|
|
1047
1096
|
"kind": "Function",
|
|
1048
1097
|
"canonicalReference": "@ory/elements-react!OryCardValidationMessages:function(1)",
|
|
@@ -1499,8 +1548,8 @@
|
|
|
1499
1548
|
},
|
|
1500
1549
|
{
|
|
1501
1550
|
"kind": "Reference",
|
|
1502
|
-
"text": "
|
|
1503
|
-
"canonicalReference": "@ory/elements-react!
|
|
1551
|
+
"text": "OryCardSettingsSectionProps",
|
|
1552
|
+
"canonicalReference": "@ory/elements-react!OryCardSettingsSectionProps:type"
|
|
1504
1553
|
},
|
|
1505
1554
|
{
|
|
1506
1555
|
"kind": "Content",
|
|
@@ -1535,8 +1584,8 @@
|
|
|
1535
1584
|
},
|
|
1536
1585
|
{
|
|
1537
1586
|
"kind": "Reference",
|
|
1538
|
-
"text": "
|
|
1539
|
-
"canonicalReference": "@ory/elements-react!
|
|
1587
|
+
"text": "OryFormSectionFooterProps",
|
|
1588
|
+
"canonicalReference": "@ory/elements-react!OryFormSectionFooterProps:type"
|
|
1540
1589
|
},
|
|
1541
1590
|
{
|
|
1542
1591
|
"kind": "Content",
|
|
@@ -2223,7 +2272,7 @@
|
|
|
2223
2272
|
"excerptTokens": [
|
|
2224
2273
|
{
|
|
2225
2274
|
"kind": "Content",
|
|
2226
|
-
"text": "declare function OryFormSection({ children, nodes }: "
|
|
2275
|
+
"text": "declare function OryFormSection({ children, nodes, ...rest }: "
|
|
2227
2276
|
},
|
|
2228
2277
|
{
|
|
2229
2278
|
"kind": "Reference",
|
|
@@ -2253,7 +2302,7 @@
|
|
|
2253
2302
|
"overloadIndex": 1,
|
|
2254
2303
|
"parameters": [
|
|
2255
2304
|
{
|
|
2256
|
-
"parameterName": "{ children, nodes }",
|
|
2305
|
+
"parameterName": "{ children, nodes, ...rest }",
|
|
2257
2306
|
"parameterTypeTokenRange": {
|
|
2258
2307
|
"startIndex": 1,
|
|
2259
2308
|
"endIndex": 2
|
|
@@ -2308,6 +2357,10 @@
|
|
|
2308
2357
|
"text": "PropsWithChildren",
|
|
2309
2358
|
"canonicalReference": "@types/react!React.PropsWithChildren:type"
|
|
2310
2359
|
},
|
|
2360
|
+
{
|
|
2361
|
+
"kind": "Content",
|
|
2362
|
+
"text": "<{\n text?: string;\n}>"
|
|
2363
|
+
},
|
|
2311
2364
|
{
|
|
2312
2365
|
"kind": "Content",
|
|
2313
2366
|
"text": ";"
|
|
@@ -2318,7 +2371,7 @@
|
|
|
2318
2371
|
"name": "OryFormSectionFooterProps",
|
|
2319
2372
|
"typeTokenRange": {
|
|
2320
2373
|
"startIndex": 1,
|
|
2321
|
-
"endIndex":
|
|
2374
|
+
"endIndex": 3
|
|
2322
2375
|
}
|
|
2323
2376
|
},
|
|
2324
2377
|
{
|
|
@@ -2337,7 +2390,16 @@
|
|
|
2337
2390
|
},
|
|
2338
2391
|
{
|
|
2339
2392
|
"kind": "Content",
|
|
2340
|
-
"text": "<
|
|
2393
|
+
"text": "<"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "Reference",
|
|
2397
|
+
"text": "OryFormProps$1",
|
|
2398
|
+
"canonicalReference": "@ory/elements-react!~OryFormProps$1:type"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"kind": "Content",
|
|
2402
|
+
"text": " & {\n nodes?: "
|
|
2341
2403
|
},
|
|
2342
2404
|
{
|
|
2343
2405
|
"kind": "Reference",
|
|
@@ -2358,7 +2420,7 @@
|
|
|
2358
2420
|
"name": "OryFormSectionProps",
|
|
2359
2421
|
"typeTokenRange": {
|
|
2360
2422
|
"startIndex": 1,
|
|
2361
|
-
"endIndex":
|
|
2423
|
+
"endIndex": 7
|
|
2362
2424
|
}
|
|
2363
2425
|
},
|
|
2364
2426
|
{
|
|
@@ -3054,7 +3116,7 @@
|
|
|
3054
3116
|
},
|
|
3055
3117
|
{
|
|
3056
3118
|
"kind": "Content",
|
|
3057
|
-
"text": "{\n linkButtons: "
|
|
3119
|
+
"text": "{\n linkButtons: ("
|
|
3058
3120
|
},
|
|
3059
3121
|
{
|
|
3060
3122
|
"kind": "Reference",
|
|
@@ -3063,7 +3125,7 @@
|
|
|
3063
3125
|
},
|
|
3064
3126
|
{
|
|
3065
3127
|
"kind": "Content",
|
|
3066
|
-
"text": "[];\n unlinkButtons: "
|
|
3128
|
+
"text": " & {\n onClick: () => void;\n })[];\n unlinkButtons: ("
|
|
3067
3129
|
},
|
|
3068
3130
|
{
|
|
3069
3131
|
"kind": "Reference",
|
|
@@ -3072,7 +3134,7 @@
|
|
|
3072
3134
|
},
|
|
3073
3135
|
{
|
|
3074
3136
|
"kind": "Content",
|
|
3075
|
-
"text": "[];\n}"
|
|
3137
|
+
"text": " & {\n onClick: () => void;\n })[];\n}"
|
|
3076
3138
|
},
|
|
3077
3139
|
{
|
|
3078
3140
|
"kind": "Content",
|
|
@@ -3107,7 +3169,7 @@
|
|
|
3107
3169
|
},
|
|
3108
3170
|
{
|
|
3109
3171
|
"kind": "Content",
|
|
3110
|
-
"text": " & {\n onClick: () => void;\n };\n removeButtons: "
|
|
3172
|
+
"text": " & {\n onClick: () => void;\n };\n removeButtons: ("
|
|
3111
3173
|
},
|
|
3112
3174
|
{
|
|
3113
3175
|
"kind": "Reference",
|
|
@@ -3116,7 +3178,7 @@
|
|
|
3116
3178
|
},
|
|
3117
3179
|
{
|
|
3118
3180
|
"kind": "Content",
|
|
3119
|
-
"text": "[];\n}"
|
|
3181
|
+
"text": " & {\n onClick: () => void;\n })[];\n}"
|
|
3120
3182
|
},
|
|
3121
3183
|
{
|
|
3122
3184
|
"kind": "Content",
|
|
@@ -3142,7 +3204,7 @@
|
|
|
3142
3204
|
},
|
|
3143
3205
|
{
|
|
3144
3206
|
"kind": "Content",
|
|
3145
|
-
"text": "{\n codes: string[];\n regnerateButton
|
|
3207
|
+
"text": "{\n codes: string[];\n regnerateButton: "
|
|
3146
3208
|
},
|
|
3147
3209
|
{
|
|
3148
3210
|
"kind": "Reference",
|
|
@@ -3151,7 +3213,7 @@
|
|
|
3151
3213
|
},
|
|
3152
3214
|
{
|
|
3153
3215
|
"kind": "Content",
|
|
3154
|
-
"text": ";\n revealButton
|
|
3216
|
+
"text": " | undefined;\n revealButton: "
|
|
3155
3217
|
},
|
|
3156
3218
|
{
|
|
3157
3219
|
"kind": "Reference",
|
|
@@ -3160,7 +3222,7 @@
|
|
|
3160
3222
|
},
|
|
3161
3223
|
{
|
|
3162
3224
|
"kind": "Content",
|
|
3163
|
-
"text": ";\n}"
|
|
3225
|
+
"text": " | undefined;\n onRegenerate: () => void;\n onReveal: () => void;\n}"
|
|
3164
3226
|
},
|
|
3165
3227
|
{
|
|
3166
3228
|
"kind": "Content",
|
|
@@ -3195,7 +3257,7 @@
|
|
|
3195
3257
|
},
|
|
3196
3258
|
{
|
|
3197
3259
|
"kind": "Content",
|
|
3198
|
-
"text": ";\n totpSecret: "
|
|
3260
|
+
"text": " | undefined;\n totpSecret: "
|
|
3199
3261
|
},
|
|
3200
3262
|
{
|
|
3201
3263
|
"kind": "Reference",
|
|
@@ -3204,7 +3266,7 @@
|
|
|
3204
3266
|
},
|
|
3205
3267
|
{
|
|
3206
3268
|
"kind": "Content",
|
|
3207
|
-
"text": ";\n totpInput: "
|
|
3269
|
+
"text": " | undefined;\n totpInput: "
|
|
3208
3270
|
},
|
|
3209
3271
|
{
|
|
3210
3272
|
"kind": "Reference",
|
|
@@ -3213,7 +3275,7 @@
|
|
|
3213
3275
|
},
|
|
3214
3276
|
{
|
|
3215
3277
|
"kind": "Content",
|
|
3216
|
-
"text": "
|
|
3278
|
+
"text": " | undefined;\n totpUnlink: "
|
|
3217
3279
|
},
|
|
3218
3280
|
{
|
|
3219
3281
|
"kind": "Reference",
|
|
@@ -3222,7 +3284,7 @@
|
|
|
3222
3284
|
},
|
|
3223
3285
|
{
|
|
3224
3286
|
"kind": "Content",
|
|
3225
|
-
"text": ";\n}"
|
|
3287
|
+
"text": " | undefined;\n onUnlink: () => void;\n}"
|
|
3226
3288
|
},
|
|
3227
3289
|
{
|
|
3228
3290
|
"kind": "Content",
|
|
@@ -3266,7 +3328,7 @@
|
|
|
3266
3328
|
},
|
|
3267
3329
|
{
|
|
3268
3330
|
"kind": "Content",
|
|
3269
|
-
"text": " & {\n onClick: () => void;\n };\n removeButtons: "
|
|
3331
|
+
"text": " & {\n onClick: () => void;\n };\n removeButtons: ("
|
|
3270
3332
|
},
|
|
3271
3333
|
{
|
|
3272
3334
|
"kind": "Reference",
|
|
@@ -3275,7 +3337,7 @@
|
|
|
3275
3337
|
},
|
|
3276
3338
|
{
|
|
3277
3339
|
"kind": "Content",
|
|
3278
|
-
"text": "[];\n}"
|
|
3340
|
+
"text": " & {\n onClick: () => void;\n })[];\n}"
|
|
3279
3341
|
},
|
|
3280
3342
|
{
|
|
3281
3343
|
"kind": "Content",
|