@orangecheck/auth-client 2.10.0 → 2.11.0

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/dist/index.mjs CHANGED
@@ -1070,13 +1070,14 @@ function LinkPromptStep({
1070
1070
  authOrigin,
1071
1071
  onResolved
1072
1072
  }) {
1073
+ const what = method === "btc" ? "a Bitcoin address" : "an email";
1073
1074
  return /* @__PURE__ */ jsxs("div", { "data-oc-linkprompt": method, children: [
1074
1075
  /* @__PURE__ */ jsxs("div", { style: { ...panelStyle("success"), marginBottom: 16 }, children: [
1075
1076
  /* @__PURE__ */ jsx(SectionLabel, { tone: "success", children: "\xA7 signed in" }),
1076
1077
  /* @__PURE__ */ jsxs("p", { style: { ...bodyStyle, margin: 0 }, children: [
1077
- "You asked to also link ",
1078
- method === "btc" ? "a Bitcoin address" : "an email",
1079
- " \u2014 here it is. Finish below, or cancel to head straight on."
1078
+ "You chose to also link ",
1079
+ what,
1080
+ ". Complete it below \u2014 or skip for now; it is entirely optional and changes nothing about the sign-in you just completed."
1080
1081
  ] })
1081
1082
  ] }),
1082
1083
  method === "btc" ? /* @__PURE__ */ jsx(
@@ -1087,7 +1088,25 @@ function LinkPromptStep({
1087
1088
  onDone: onResolved,
1088
1089
  onCancel: onResolved
1089
1090
  }
1090
- ) : /* @__PURE__ */ jsx(EmailLinkForm, { authOrigin, onDone: onResolved, onCancel: onResolved })
1091
+ ) : /* @__PURE__ */ jsx(EmailLinkForm, { authOrigin, onDone: onResolved, onCancel: onResolved }),
1092
+ /* @__PURE__ */ jsxs(
1093
+ "div",
1094
+ {
1095
+ "data-oc-linkprompt-skip": "",
1096
+ style: { marginTop: 14, paddingTop: 14, borderTop: `1px solid ${V.border}` },
1097
+ children: [
1098
+ /* @__PURE__ */ jsx("button", { type: "button", onClick: onResolved, style: ghostBtnStyle(false), children: "skip \u2014 I'll do this later" }),
1099
+ /* @__PURE__ */ jsxs("p", { style: { ...hintStyle, marginTop: 8 }, children: [
1100
+ "> ",
1101
+ "Changed your mind? Skipping continues you straight on \u2014 your sign-in is unaffected. You can link ",
1102
+ what,
1103
+ " anytime later from your identity page,",
1104
+ " ",
1105
+ "me.ochk.io/me/identity."
1106
+ ] })
1107
+ ]
1108
+ }
1109
+ )
1091
1110
  ] });
1092
1111
  }
1093
1112
  function EmailLinkForm({