@ory/elements-react 1.0.0-next.44 → 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 +23 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +73 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +73 -42
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.d.mts +1 -1
- package/dist/theme/default/index.d.ts +1 -1
- package/dist/theme/default/index.js +13 -3
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +15 -5
- 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 {
|
|
@@ -1130,11 +1136,13 @@ function DefaultFormContainer({
|
|
|
1130
1136
|
children,
|
|
1131
1137
|
onSubmit,
|
|
1132
1138
|
action,
|
|
1133
|
-
method
|
|
1139
|
+
method,
|
|
1140
|
+
"data-testid": dataTestId
|
|
1134
1141
|
}) {
|
|
1135
1142
|
return /* @__PURE__ */ jsx28(
|
|
1136
1143
|
"form",
|
|
1137
1144
|
{
|
|
1145
|
+
"data-testid": dataTestId,
|
|
1138
1146
|
onSubmit,
|
|
1139
1147
|
noValidate: true,
|
|
1140
1148
|
action,
|
|
@@ -1366,6 +1374,7 @@ var DefaultButton = ({
|
|
|
1366
1374
|
label: _ignoredLabel,
|
|
1367
1375
|
node_type: _ignoredNodeType,
|
|
1368
1376
|
maxlength: _ignoredMaxLength,
|
|
1377
|
+
onclick: _ignoredOnClick,
|
|
1369
1378
|
// End of skipped attributes
|
|
1370
1379
|
...rest
|
|
1371
1380
|
} = attributes;
|
|
@@ -2898,6 +2907,7 @@ function DefaultConsentScopeCheckbox({
|
|
|
2898
2907
|
defaultMessage: []
|
|
2899
2908
|
}),
|
|
2900
2909
|
className: "col-span-2",
|
|
2910
|
+
"data-testid": "ory/screen/consent/scope-checkbox-label",
|
|
2901
2911
|
children: /* @__PURE__ */ jsx74(
|
|
2902
2912
|
Switch.Root,
|
|
2903
2913
|
{
|
|
@@ -3088,7 +3098,7 @@ import {
|
|
|
3088
3098
|
} from "@ory/client-fetch";
|
|
3089
3099
|
|
|
3090
3100
|
// src/components/form/form.tsx
|
|
3091
|
-
import {
|
|
3101
|
+
import { jsx as jsx82, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
3092
3102
|
|
|
3093
3103
|
// src/components/form/messages.tsx
|
|
3094
3104
|
import { jsx as jsx83 } from "react/jsx-runtime";
|
|
@@ -3121,7 +3131,7 @@ import { useFormContext as useFormContext17 } from "react-hook-form";
|
|
|
3121
3131
|
import { jsx as jsx86 } from "react/jsx-runtime";
|
|
3122
3132
|
|
|
3123
3133
|
// src/components/card/card-two-step.tsx
|
|
3124
|
-
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";
|
|
3125
3135
|
|
|
3126
3136
|
// src/components/form/groups.tsx
|
|
3127
3137
|
import { jsx as jsx88 } from "react/jsx-runtime";
|