UNPKG

@ory/elements-react

Version:

Ory Elements React - a collection of React components for authentication UIs.

690 lines (365 loc) 16 kB
## 1.0.0-rc.5 (2025-05-16) ### 🩹 Fixes - properly detect OIDC account linking ([#538](https://github.com/ory/elements/pull/538)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-rc.4 (2025-05-15) ### 🩹 Fixes - properly handle missing fields in OIDC registration ([#534](https://github.com/ory/elements/pull/534)) - incorrect if branching in handle error ([#533](https://github.com/ory/elements/pull/533)) - re-enable method chooser on mfa method active screens ([#530](https://github.com/ory/elements/pull/530)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-rc.3 (2025-05-09) ### 🩹 Fixes - captcha reloading and duplication ([#518](https://github.com/ory/elements/pull/518)) - ⚠️ rework configuration management ([#515](https://github.com/ory/elements/pull/515)) - add missing testids to method selector and checkbox ([#517](https://github.com/ory/elements/pull/517)) ### ⚠️ Breaking Changes - ⚠️ rework configuration management ([#515](https://github.com/ory/elements/pull/515)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-rc.2 (2025-04-30) ### 🚀 Features - method translation for totp, code, webauthn ([#500](https://github.com/ory/elements/pull/500)) - add all missing stories ([#480](https://github.com/ory/elements/pull/480)) - preview deployments for example apps ([#488](https://github.com/ory/elements/pull/488)) - add back button to settings page ([#464](https://github.com/ory/elements/pull/464)) ### 🩹 Fixes - ⚠️ align configuration types to Ory Network APIs ([#423](https://github.com/ory/elements/pull/423)) - sort captcha before submit button ([#507](https://github.com/ory/elements/pull/507)) - cors credentials in default client ([#508](https://github.com/ory/elements/pull/508)) - back button should return to application ([#465](https://github.com/ory/elements/pull/465)) - adjust design of generic OIDC provider ([#492](https://github.com/ory/elements/pull/492)) - use proper id for react element arrays ([#495](https://github.com/ory/elements/pull/495)) - add test id to header messages ([#489](https://github.com/ory/elements/pull/489)) - re-add missing error message when no methods provided ([#460](https://github.com/ory/elements/pull/460)) - resend not working for registration ([#468](https://github.com/ory/elements/pull/468)) - add missing color class to registration footer ([#473](https://github.com/ory/elements/pull/473)) - resend not working for registration ([#467](https://github.com/ory/elements/pull/467)) ### ⚠️ Breaking Changes - ⚠️ align configuration types to Ory Network APIs ([#423](https://github.com/ory/elements/pull/423)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-rc.1 (2025-04-21) ### 🩹 Fixes - re-add missing error message when no methods provided ([#460](https://github.com/ory/elements/pull/460)) - resend not working for registration ([#468](https://github.com/ory/elements/pull/468)) - add missing color class to registration footer ([#473](https://github.com/ory/elements/pull/473)) - resend not working for registration ([#467](https://github.com/ory/elements/pull/467)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-rc.0 (2025-04-17) ### 🚀 Features - add missing translations for de, es and fr ([#456](https://github.com/ory/elements/pull/456)) ### 🩹 Fixes - correctly set input field value ([#447](https://github.com/ory/elements/pull/447)) - add missing settings padding ([#446](https://github.com/ory/elements/pull/446)) - always omit conflicting keys ([#444](https://github.com/ory/elements/pull/444)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.46 (2025-04-16) ### 🩹 Fixes - missing hidden field regression ([#439](https://github.com/ory/elements/pull/439)) - use correct testid ([#438](https://github.com/ory/elements/pull/438)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.45 (2025-04-15) ### 🩹 Fixes - add missing test id to scope checkbox label ([#437](https://github.com/ory/elements/pull/437)) - add missing captcha group to all methods ([#432](https://github.com/ory/elements/pull/432)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.44 (2025-04-10) ### 🩹 Fixes - use currentColor in eye icons ([#433](https://github.com/ory/elements/pull/433)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.43 (2025-04-10) ### 🚀 Features - add missing French translations ([#401](https://github.com/ory/elements/pull/401)) ### 🩹 Fixes - two-step registration back button ([#428](https://github.com/ory/elements/pull/428)) - resolve wcag2aa color contrast issues ([#367](https://github.com/ory/elements/pull/367)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen - Jordan Labrosse ## 1.0.0-next.41 (2025-04-07) ### 🩹 Fixes - resolve wcag2aa color contrast issues ([#367](https://github.com/ory/elements/pull/367)) ### ❤️ Thank You - Jonas Hungershausen - Jordan Labrosse ## 1.0.0-next.40 (2025-04-02) ### 🚀 Features - support SAML-native ([#395](https://github.com/ory/elements/pull/395)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.39 (2025-03-25) ### 🚀 Features - add SAML group handling ([#390](https://github.com/ory/elements/pull/390)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.38 (2025-03-24) ### 🩹 Fixes - hide registration link again ([#387](https://github.com/ory/elements/pull/387)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.37 (2025-03-12) ### 🩹 Fixes - correctly render test id for error card ([#386](https://github.com/ory/elements/pull/386)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.36 (2025-03-12) ### 🩹 Fixes - handle error messages for selected methods ([#385](https://github.com/ory/elements/pull/385)) ### ❤️ Thank You - Pierre Caillaud @pcaillaudm ## 1.0.0-next.35 (2025-03-12) ### 🚀 Features - add more intelligent error screen ([#383](https://github.com/ory/elements/pull/383)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.34 (2025-03-12) ### 🩹 Fixes - use correct import paths ([#384](https://github.com/ory/elements/pull/384)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.33 (2025-03-07) ### 🚀 Features - add password toggle to input ([#378](https://github.com/ory/elements/pull/378)) ### 🩹 Fixes - validation message regression ([#380](https://github.com/ory/elements/pull/380)) ### ❤️ Thank You - Jonas Hungershausen - Pierre Caillaud @pcaillaudm ## 1.0.0-next.32 (2025-03-06) ### 🚀 Features - use method selector in 2fa login ([#377](https://github.com/ory/elements/pull/377)) ### ❤️ Thank You - Pierre Caillaud @pcaillaudm ## 1.0.0-next.31 (2025-03-06) ### 🚀 Features - support captchas natively in new and old elements ([#372](https://github.com/ory/elements/pull/372)) ### 🩹 Fixes - center text on OIDC buttons and debounce state update ([#366](https://github.com/ory/elements/pull/366)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.30 (2025-03-05) ### 🩹 Fixes - show possible OIDC connections on login method selector ([#362](https://github.com/ory/elements/pull/362)) - add correct x/twitter OIDC logo ([#364](https://github.com/ory/elements/pull/364)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.29 (2025-02-27) ### 🩹 Fixes - remove untranslated aria label from auth list item ([#365](https://github.com/ory/elements/pull/365)) - spacing in auth method list ([#359](https://github.com/ory/elements/pull/359)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.28 (2025-02-20) ### 🩹 Fixes - safari click handler and redirect handling ([#361](https://github.com/ory/elements/pull/361)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.27 (2025-02-18) ### 🩹 Fixes - translate {property} in missing property validation message ([#357](https://github.com/ory/elements/pull/357)) - invisible LinkedIn icon ([#355](https://github.com/ory/elements/pull/355)) - in initFlowUrl carry over login challenge ([#347](https://github.com/ory/elements/pull/347)) - define a fallback font stack ([#349](https://github.com/ory/elements/pull/349)) - show correct OIDC provider logo ([#350](https://github.com/ory/elements/pull/350)) - brand logic in social sign in icon ([#348](https://github.com/ory/elements/pull/348)) ### ❤️ Thank You - Henning Perl @hperl - Jonas Hungershausen ## 1.0.0-next.26 (2025-02-18) ### 🩹 Fixes - translate {property} in missing property validation message ([#357](https://github.com/ory/elements/pull/357)) - invisible LinkedIn icon ([#355](https://github.com/ory/elements/pull/355)) - in initFlowUrl carry over login challenge ([#347](https://github.com/ory/elements/pull/347)) - show correct OIDC provider logo ([#350](https://github.com/ory/elements/pull/350)) ### ❤️ Thank You - Henning Perl @hperl - Jonas Hungershausen ## 1.0.0-next.25 (2025-01-29) ### 🚀 Features - expose get flow factory ([#333](https://github.com/ory/elements/pull/333)) ### 🩹 Fixes - make OIDC remove button loading state specific ([#339](https://github.com/ory/elements/pull/339)) - only show loading indicator on clicked button ([#335](https://github.com/ory/elements/pull/335)) - don't short circuit code method selector ([#336](https://github.com/ory/elements/pull/336)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.24 (2025-01-22) ### 🩹 Fixes - only show loading indicator on clicked button ([#335](https://github.com/ory/elements/pull/335)) - don't short circuit code method selector ([#336](https://github.com/ory/elements/pull/336)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.23 (2025-01-21) ### 🩹 Fixes - don't short circuit code method selector ([#336](https://github.com/ory/elements/pull/336)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.3 (2025-01-21) ### 🚀 Features - expose get flow factory ([#333](https://github.com/ory/elements/pull/333)) ### ❤️ Thank You - hackerman @aeneasr ## 1.0.0-next.21 (2025-01-18) This was a version bump only for @ory/elements-react to align it with other projects, there were no code changes. ## 1.0.0-next.20 (2025-01-16) ### 🚀 Features - handle state transition edge cases ([f2e4023](https://github.com/ory/elements/commit/f2e4023)) - user experience improvements and e2e test coverage ([f68744c](https://github.com/ory/elements/commit/f68744c)) - do not show two-step selector if only one method exists ([6453673](https://github.com/ory/elements/commit/6453673)) ### 🩹 Fixes - better validation for code method ([b0d8e2c](https://github.com/ory/elements/commit/b0d8e2c)) ### ❤️ Thank You - aeneasr @aeneasr ## 1.0.0-next.19 (2024-12-31) ### 🩹 Fixes - properly handle form submits in settings flow ([#322](https://github.com/ory/elements/pull/322)) ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.18 (2024-12-30) ### 🚀 Features - add page and app router examples ([#307](https://github.com/ory/elements/pull/307)) - ⚠️ add getServerSession and SessionProvider ([#309](https://github.com/ory/elements/pull/309)) - add @ory/nextjs package ([#303](https://github.com/ory/elements/pull/303)) ### 🩹 Fixes - align font sizes to design & use updated variable names ([#318](https://github.com/ory/elements/pull/318)) - properly set default value for checkboxes ([#314](https://github.com/ory/elements/pull/314)) - passkey and webauthn in settings flow ([#317](https://github.com/ory/elements/pull/317)) ### ⚠️ Breaking Changes - ⚠️ add getServerSession and SessionProvider ([#309](https://github.com/ory/elements/pull/309)) ### ❤️ Thank You - hackerman @aeneasr - Jonas Hungershausen ## 1.0.0-next.17 (2024-11-27) ### 🚀 Features - allow overriding OIDC logos - enable proper account linking flows - **core:** add react-hook form resolver ### 🩹 Fixes - handle recovery brute force protection ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.16 (2024-11-26) ### 🚀 Features - allow overriding of field messages - add test ids to components ### 🩹 Fixes - use --font-sans CSS variable for font - registration & login flow form states - missing resend button on login & registration - password validation error form state - current identifier button overflowing on long values ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.15 (2024-11-18) ### 🩹 Fixes - use --font-sans CSS variable for font - registration & login flow form states ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.14 (2024-11-08) ### 🚀 Features - force OIDC account selection on settings ### 🩹 Fixes - redirect to login if session expired during settings ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.13 (2024-11-05) ### 🩹 Fixes - ⚠️ move useSession hook to /client entry point - oidc linking & unlinking form properties - hide two step registration message - implement component merging instead of usign lodash - replace translation merge with custom function #### ⚠️ Breaking Changes - ⚠️ move useSession hook to /client entry point ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.12 (2024-10-29) ### 🚀 Features - add elements v1 packages - add useSession hook - add page header component with user menu - support links in checkbox/boolean nodes - add settings flow components ### 🩹 Fixes - use correct node to detect two step registration - use translations in more missing places - short-circuit code login on two step card - duplicate resend button on recovery & verification ### ❤️ Thank You - Jonas Hungershausen - Miłosz ## 1.0.0-next.11 (2024-10-22) Breaking Changes: This update includes breaking changes to the naming of some variables and functions. Please refer to [Advisory: ory elements‐react upgrade guide to v1.0.0‐next.11](https://github.com/ory/elements/wiki/Advisory:-ory-elements%E2%80%90react-upgrade-guide-to-v1.0.0%E2%80%90next.11) for more information. ### 🚀 Features - add elements v1 packages - add useSession hook ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.10 (2024-10-14) ### 🩹 Fixes - add missing translations in all places ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.9 (2024-10-10) ### 🩹 Fixes - add missing swedish translations ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.8 (2024-10-07) ### 🩹 Fixes - ⚠️ remove ory-default-theme class - remove capitalize class from messages #### ⚠️ Breaking Changes - ⚠️ remove ory-default-theme class ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.7 (2024-09-27) ### 🚀 Features - add two-step login card ### 🩹 Fixes - registration text in swedish translation - show identifier_first node in card header ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.6 (2024-09-18) ### 🩹 Fixes - **intl:** export locales object from package root ### ❤️ Thank You - Jonas Hungershausen ## 1.0.0-next.5 (2024-09-17) ### 🚀 Features - @testing-library/react based tests - **theme:** show resend code button on top of code input ### 🩹 Fixes - **core:** use SDK instead of HTML form submissions - **core:** use empty strings instead of undefined default values - **core:** code form submission precendence - ⚠️ **theme:** scope css classes with .ory-default-theme - **theme:** social sign in button styling - **intl:** use correct abbreveation for swedish locale - **core:** passkey script discovery #### ⚠️ Breaking Changes - ⚠️ **theme:** scope css classes with .ory-default-theme ### ❤️ Thank You - Jonas Hungershausen - Miłosz