Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 13, 2024
1 parent d2c1358 commit 9b84e6e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-lemons-report.md
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.
10 changes: 10 additions & 0 deletions .changeset/wicked-pants-cough.md
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.

0 comments on commit 9b84e6e

Please sign in to comment.