@ory/elements-react 1.0.0-next.45 → 1.0.0-next.46
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 +11 -0
- package/dist/index.js +29 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -19
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.js +9 -2
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +18 -11
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -662,7 +662,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
662
662
|
name: screenSelectionNode.attributes.name,
|
|
663
663
|
value: screenSelectionNode.attributes.value,
|
|
664
664
|
title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
|
|
665
|
-
"data-testid":
|
|
665
|
+
"data-testid": `ory/screen/${flowType}/action/restart`,
|
|
666
666
|
children: /* @__PURE__ */ jsxs5("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
|
|
667
667
|
/* @__PURE__ */ jsx7(
|
|
668
668
|
arrow_left_default,
|
|
@@ -685,7 +685,7 @@ function DefaultCurrentIdentifierButton() {
|
|
|
685
685
|
...attributes,
|
|
686
686
|
href: initFlowUrl2,
|
|
687
687
|
title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
|
|
688
|
-
"data-testid":
|
|
688
|
+
"data-testid": `ory/screen/${flowType}/action/restart`,
|
|
689
689
|
children: /* @__PURE__ */ jsxs5("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
|
|
690
690
|
/* @__PURE__ */ jsx7(
|
|
691
691
|
arrow_left_default,
|
|
@@ -1056,6 +1056,12 @@ function DefaultButtonSocial({
|
|
|
1056
1056
|
node_type: _ignoredNodeType,
|
|
1057
1057
|
type: _ignoredType,
|
|
1058
1058
|
name: _ignoredName,
|
|
1059
|
+
onclickTrigger: _ignoredOnClickTrigger,
|
|
1060
|
+
onclick: _onClick,
|
|
1061
|
+
onload: _ignoredOnLoad,
|
|
1062
|
+
onloadTrigger: _ignoredOnLoadTrigger,
|
|
1063
|
+
maxlength: _ignoredMaxLength,
|
|
1064
|
+
autocomplete: _ignoredAutocomplete,
|
|
1059
1065
|
...props
|
|
1060
1066
|
} = attributes;
|
|
1061
1067
|
const {
|
|
@@ -1368,6 +1374,7 @@ var DefaultButton = ({
|
|
|
1368
1374
|
label: _ignoredLabel,
|
|
1369
1375
|
node_type: _ignoredNodeType,
|
|
1370
1376
|
maxlength: _ignoredMaxLength,
|
|
1377
|
+
onclick: _ignoredOnClick,
|
|
1371
1378
|
// End of skipped attributes
|
|
1372
1379
|
...rest
|
|
1373
1380
|
} = attributes;
|
|
@@ -3124,7 +3131,7 @@ import { useFormContext as useFormContext17 } from "react-hook-form";
|
|
|
3124
3131
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
3125
3132
|
|
|
3126
3133
|
// src/components/card/card-two-step.tsx
|
|
3127
|
-
import { jsx as jsx87, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3134
|
+
import { Fragment as Fragment6, jsx as jsx87, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
3128
3135
|
|
|
3129
3136
|
// src/components/form/groups.tsx
|
|
3130
3137
|
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
@@ -3153,30 +3160,30 @@ import { useIntl as useIntl20 } from "react-intl";
|
|
|
3153
3160
|
// src/components/settings/oidc-settings.tsx
|
|
3154
3161
|
import { useIntl as useIntl15 } from "react-intl";
|
|
3155
3162
|
import { useFormContext as useFormContext20 } from "react-hook-form";
|
|
3156
|
-
import { Fragment as
|
|
3163
|
+
import { Fragment as Fragment7, jsx as jsx93, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
3157
3164
|
|
|
3158
3165
|
// src/components/settings/passkey-settings.tsx
|
|
3159
3166
|
import { useFormContext as useFormContext21 } from "react-hook-form";
|
|
3160
3167
|
import { useIntl as useIntl16 } from "react-intl";
|
|
3161
|
-
import { Fragment as
|
|
3168
|
+
import { Fragment as Fragment8, jsx as jsx94, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
3162
3169
|
|
|
3163
3170
|
// src/components/settings/recovery-codes-settings.tsx
|
|
3164
3171
|
import { useIntl as useIntl17 } from "react-intl";
|
|
3165
3172
|
import { useFormContext as useFormContext22 } from "react-hook-form";
|
|
3166
|
-
import { Fragment as
|
|
3173
|
+
import { Fragment as Fragment9, jsx as jsx95, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
3167
3174
|
|
|
3168
3175
|
// src/components/settings/totp-settings.tsx
|
|
3169
3176
|
import { useFormContext as useFormContext23 } from "react-hook-form";
|
|
3170
3177
|
import { useIntl as useIntl18 } from "react-intl";
|
|
3171
|
-
import { Fragment as
|
|
3178
|
+
import { Fragment as Fragment10, jsx as jsx96, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
3172
3179
|
|
|
3173
3180
|
// src/components/settings/webauthn-settings.tsx
|
|
3174
3181
|
import { useFormContext as useFormContext24 } from "react-hook-form";
|
|
3175
3182
|
import { useIntl as useIntl19 } from "react-intl";
|
|
3176
|
-
import { Fragment as
|
|
3183
|
+
import { Fragment as Fragment11, jsx as jsx97, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
3177
3184
|
|
|
3178
3185
|
// src/components/settings/settings-card.tsx
|
|
3179
|
-
import { Fragment as
|
|
3186
|
+
import { Fragment as Fragment12, jsx as jsx98, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
3180
3187
|
|
|
3181
3188
|
// src/locales/en.json
|
|
3182
3189
|
var en_default = {
|
|
@@ -5732,7 +5739,7 @@ import {
|
|
|
5732
5739
|
OryProvider as OryProvider4,
|
|
5733
5740
|
OrySettingsCard
|
|
5734
5741
|
} from "@ory/elements-react";
|
|
5735
|
-
import { Fragment as
|
|
5742
|
+
import { Fragment as Fragment13, jsx as jsx104, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
5736
5743
|
function Settings({
|
|
5737
5744
|
flow,
|
|
5738
5745
|
config,
|
|
@@ -5747,7 +5754,7 @@ function Settings({
|
|
|
5747
5754
|
flow,
|
|
5748
5755
|
flowType: FlowType21.Settings,
|
|
5749
5756
|
components,
|
|
5750
|
-
children: children != null ? children : /* @__PURE__ */ jsxs47(
|
|
5757
|
+
children: children != null ? children : /* @__PURE__ */ jsxs47(Fragment13, { children: [
|
|
5751
5758
|
/* @__PURE__ */ jsx104(HeadlessPageHeader, {}),
|
|
5752
5759
|
/* @__PURE__ */ jsx104(OrySettingsCard, {})
|
|
5753
5760
|
] })
|