-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@sumup-oss/design-tokens": patch | ||
--- | ||
|
||
Added "::backdrop" to the list of selectors to apply theme custom properties to. See https://developer.chrome.com/blog/css-backdrop-inheritance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@sumup-oss/circuit-ui": minor | ||
--- | ||
|
||
- Updated the Modal component by using the native `<dialog/>` element and Google Chrome's [dialog-polyfill](https://github.com/GoogleChrome/dialog-polyfill). | ||
- Modal components can now be invoked directly in your JSX and continue to be invoked via the `useModal` hook with the same interface. | ||
- Updated the NotificationModal to be based on the new Modal component. | ||
- The `CloseButtonLabel` is now optional in both components and defaults to "Close", translations are available. | ||
- Deprecated the `hideCloseButton` prop in both components, previously passed to react-modal's dialog component. | ||
- A minimum typescript version of 4.1 is now required to use the Modal component. |