@ory/elements-react 1.0.0-next.44 → 1.0.0-next.45

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.
@@ -27,7 +27,7 @@ declare namespace DefaultButtonSocial {
27
27
  var WithLogos: (logos: Record<string, ElementType>) => (props: DefaultSocialButtonProps) => react_jsx_runtime.JSX.Element;
28
28
  }
29
29
 
30
- declare function DefaultFormContainer({ children, onSubmit, action, method, }: PropsWithChildren<OryFormRootProps>): react_jsx_runtime.JSX.Element;
30
+ declare function DefaultFormContainer({ children, onSubmit, action, method, "data-testid": dataTestId, }: PropsWithChildren<OryFormRootProps>): react_jsx_runtime.JSX.Element;
31
31
  declare function DefaultMessageContainer({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element | null;
32
32
  declare function DefaultMessage({ message }: OryMessageContentProps): react_jsx_runtime.JSX.Element;
33
33
 
@@ -27,7 +27,7 @@ declare namespace DefaultButtonSocial {
27
27
  var WithLogos: (logos: Record<string, ElementType>) => (props: DefaultSocialButtonProps) => react_jsx_runtime.JSX.Element;
28
28
  }
29
29
 
30
- declare function DefaultFormContainer({ children, onSubmit, action, method, }: PropsWithChildren<OryFormRootProps>): react_jsx_runtime.JSX.Element;
30
+ declare function DefaultFormContainer({ children, onSubmit, action, method, "data-testid": dataTestId, }: PropsWithChildren<OryFormRootProps>): react_jsx_runtime.JSX.Element;
31
31
  declare function DefaultMessageContainer({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element | null;
32
32
  declare function DefaultMessage({ message }: OryMessageContentProps): react_jsx_runtime.JSX.Element;
33
33
 
@@ -1164,11 +1164,13 @@ function DefaultFormContainer({
1164
1164
  children,
1165
1165
  onSubmit,
1166
1166
  action,
1167
- method
1167
+ method,
1168
+ "data-testid": dataTestId
1168
1169
  }) {
1169
1170
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1170
1171
  "form",
1171
1172
  {
1173
+ "data-testid": dataTestId,
1172
1174
  onSubmit,
1173
1175
  noValidate: true,
1174
1176
  action,
@@ -2910,6 +2912,7 @@ function DefaultConsentScopeCheckbox({
2910
2912
  defaultMessage: []
2911
2913
  }),
2912
2914
  className: "col-span-2",
2915
+ "data-testid": "ory/screen/consent/scope-checkbox-label",
2913
2916
  children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
2914
2917
  Switch.Root,
2915
2918
  {