-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move close button label translations inside the Dialog component #2871
Conversation
🦋 Changeset detectedLatest commit: 12c73b4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2871 +/- ##
=======================================
Coverage 88.12% 88.12%
=======================================
Files 228 228
Lines 13186 13188 +2
Branches 1809 1809
=======================================
+ Hits 11620 11622 +2
Misses 1512 1512
Partials 54 54
|
.changeset/spicy-avocados-provide.md
Outdated
"@sumup-oss/circuit-ui": minor | ||
--- | ||
|
||
Refactored the Modal, Popover, Toggletip, and DateInput components to leverage the low-level Dialog component for improved consistency and maintainability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can already use our new terminology here:
Refactored the Modal, Popover, Toggletip, and DateInput components to leverage the low-level Dialog component for improved consistency and maintainability. | |
Refactored the Modal, Popover, Toggletip, and DateInput components to leverage the internal Dialog component for improved consistency and maintainability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also mention the SidePanel and SideNavigation components here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point 👍
305252d
to
48bc19e
Compare
Size Change: -6.13 kB (-0.9%) Total Size: 675 kB
ℹ️ View Unchanged
|
48bc19e
to
12c73b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice size improvement!
Addresses DSYS-900
Purpose
The Modal, DateInput, Toggletip and Popover components have been refactored using the Dialog component. All these components have a modal view that requires a close button label, that they provide the Dialog component with.
Approach and changes
Definition of done