@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.
@@ -703,7 +703,7 @@ function DefaultCurrentIdentifierButton() {
703
703
  name: screenSelectionNode.attributes.name,
704
704
  value: screenSelectionNode.attributes.value,
705
705
  title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
706
- "data-testid": "ory/screen/login/action/restart",
706
+ "data-testid": `ory/screen/${flowType}/action/restart`,
707
707
  children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
708
708
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
709
709
  arrow_left_default,
@@ -726,7 +726,7 @@ function DefaultCurrentIdentifierButton() {
726
726
  ...attributes,
727
727
  href: initFlowUrl2,
728
728
  title: `Adjust ${nodeBackButton == null ? void 0 : nodeBackButton.value}`,
729
- "data-testid": "ory/screen/login/action/restart",
729
+ "data-testid": `ory/screen/${flowType}/action/restart`,
730
730
  children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis", children: [
731
731
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
732
732
  arrow_left_default,
@@ -1090,6 +1090,12 @@ function DefaultButtonSocial({
1090
1090
  node_type: _ignoredNodeType,
1091
1091
  type: _ignoredType,
1092
1092
  name: _ignoredName,
1093
+ onclickTrigger: _ignoredOnClickTrigger,
1094
+ onclick: _onClick,
1095
+ onload: _ignoredOnLoad,
1096
+ onloadTrigger: _ignoredOnLoadTrigger,
1097
+ maxlength: _ignoredMaxLength,
1098
+ autocomplete: _ignoredAutocomplete,
1093
1099
  ...props
1094
1100
  } = attributes;
1095
1101
  const {
@@ -1400,6 +1406,7 @@ var DefaultButton = ({
1400
1406
  label: _ignoredLabel,
1401
1407
  node_type: _ignoredNodeType,
1402
1408
  maxlength: _ignoredMaxLength,
1409
+ onclick: _ignoredOnClick,
1403
1410
  // End of skipped attributes
1404
1411
  ...rest
1405
1412
  } = attributes;