@ory/elements-react 1.0.0-next.37 → 1.0.0-next.38

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 CHANGED
@@ -1,3 +1,13 @@
1
+ ## 1.0.0-next.38 (2025-03-24)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - hide registration link again ([#387](https://github.com/ory/elements/pull/387))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - hackerman @aeneasr
10
+
1
11
  ## 1.0.0-next.37 (2025-03-12)
2
12
 
3
13
  ### 🩹 Fixes
@@ -217,7 +217,7 @@ function LoginCardFooter() {
217
217
  return null;
218
218
  }
219
219
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
220
- formState.current === "provide_identifier" && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
220
+ formState.current === "provide_identifier" && config.project.registration_enabled && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { className: "font-normal leading-normal antialiased text-interface-foreground-default-primary", children: [
221
221
  intl.formatMessage({
222
222
  id: "login.registration-label",
223
223
  defaultMessage: "No account?"
@@ -228,7 +228,7 @@ function LoginCardFooter() {
228
228
  {
229
229
  className: "text-button-link-brand-brand transition-colors hover:text-button-link-brand-brand-hover underline",
230
230
  href: initFlowUrl(config.sdk.url, "registration", flow),
231
- "data-testid": "ory/screen/registration/action/login",
231
+ "data-testid": "ory/screen/login/action/register",
232
232
  children: intl.formatMessage({
233
233
  id: "login.registration-button",
234
234
  defaultMessage: "Sign up"