@ory/elements-react 1.0.0-next.43 → 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,
@@ -1688,7 +1690,7 @@ var React24 = __toESM(require("react"));
1688
1690
  var import_jsx_runtime43 = require("react/jsx-runtime");
1689
1691
  var SvgEyeOff = (props) => {
1690
1692
  var _a, _b;
1691
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { stroke: "#000", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.585 10.587a2 2 0 0 0 2.829 2.828m3.267 3.258A8.7 8.7 0 0 1 12 18q-5.4 0-9-6 1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6-1 1.665-2.138 2.87M3 3l18 18" }) });
1693
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M10.585 10.587a2 2 0 0 0 2.829 2.828m3.267 3.258A8.7 8.7 0 0 1 12 18q-5.4 0-9-6 1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6-1 1.665-2.138 2.87M3 3l18 18" }) });
1692
1694
  };
1693
1695
  var eye_off_default = SvgEyeOff;
1694
1696
 
@@ -1697,9 +1699,9 @@ var React25 = __toESM(require("react"));
1697
1699
  var import_jsx_runtime44 = require("react/jsx-runtime");
1698
1700
  var SvgEye = (props) => {
1699
1701
  var _a, _b;
1700
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { strokeLinecap: "round", strokeLinejoin: "round", children: [
1701
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { stroke: "currentColor", d: "M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0" }),
1702
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { stroke: "#64748B", d: "M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6" })
1702
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: (props == null ? void 0 : props.width) ? props.width : (_a = props == null ? void 0 : props.size) != null ? _a : 20, height: (props == null ? void 0 : props.height) ? props.height : (_b = props == null ? void 0 : props.size) != null ? _b : 20, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("g", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", children: [
1703
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0" }),
1704
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6" })
1703
1705
  ] }) });
1704
1706
  };
1705
1707
  var eye_default = SvgEye;
@@ -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
  {