-
Notifications
You must be signed in to change notification settings - Fork 129
update SidePanel layout #3401
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
base: main
Are you sure you want to change the base?
update SidePanel layout #3401
Conversation
🦋 Changeset detectedLatest commit: 31e448a The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 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 GitHub.
|
ffed9df to
96854db
Compare
|
Size Change: -182 B (-0.02%) Total Size: 752 kB
ℹ️ View Unchanged
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3401 +/- ##
==========================================
- Coverage 93.91% 93.91% -0.01%
==========================================
Files 195 195
Lines 4406 4402 -4
Branches 1708 1702 -6
==========================================
- Hits 4138 4134 -4
Misses 243 243
Partials 25 25
🚀 New features to boost your workflow:
|
96854db to
e14b775
Compare
e14b775 to
5bb94bd
Compare
5bb94bd to
e073b0a
Compare
e073b0a to
704eb2e
Compare
704eb2e to
db657b1
Compare
🚀 Your packages were publishedPublished Packages:
|
db657b1 to
31e448a
Compare
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "@sumup-oss/circuit-ui": minor | |||
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.
This is a breaking change as it significantly impacts the page layout.
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.
And I'd consider the removal of the isPrimaryContentResized property a breaking change as well.
| }, | ||
| "packages/circuit-ui/node_modules/@sumup-oss/design-tokens": { | ||
| "version": "9.0.0", | ||
| "resolved": "https://pkg.pr.new/sumup-oss/circuit-ui/@sumup-oss/design-tokens@96854db", |
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.
This doesn't look right 👀
|
|
||
| .headline { | ||
| flex: 1 1 auto; | ||
| margin-left: var(--cui-spacings-zetta); |
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.
The left margin on the header was to ensure that it isn't overlapped by the close button.
| display: flex; | ||
| align-items: center; | ||
| width: 100%; | ||
| height: var(--cui-spacings-zetta); |
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.
What if the headline inside the header wraps to multiple lines?
Addresses DSYS-1440
Purpose
To support the new navigation styles, the current behavior of the SidePanel component needs to be updated.
Update the positioning and styling of the SidePanel so that it slides in over the existing page content rather than pushing adjacent content. When opened, the SidePanel should overlay the underlying content and no longer affect or disrupt the page layout.
Approach and changes
--cui-z-index-side-paneltoken to make SidePanels appear above navigation components.Definition of done