-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Shell Panel] Add displayMode
value that matches Shell Center Row: detached
display
#7513
Comments
cc @brittneytewks @geospatialem - prioritizing this for next available milestone could help us deprecate Shell Center Row in the following release. |
Figma specs are available here: https://www.figma.com/file/AnRJbFQ31ZK04NkP22ylLU/Shell-Panel%3A-displayMode-%5B7513%5D?type=design&node-id=310%3A9795&mode=dev Tagging in @jcfranco for comments on changing the current Related consideration Adam brought up: the position of the action bar is currently set using the |
"content-detached" might add a bit more clarity 👍🏽 |
@SkyeSeitz @driskull @jcfranco this is what I have so far. Please advise on how to proceed regarding the height of the action bar. |
@josercarcamo It's not clear to me from the screenshot, but could you provide more info on the action-bar height blocker? |
@macandcheese this is a bit confusing because it would introduce breaking changes if |
Yeah, open to other naming ideas there. |
The team will instead pursue a |
Installed and assigned for verification. |
Verified the |
Issue #9275 has been closed, this issue is ready for re-evaluation. |
Check existing issues
Description
As part of the story to deprecate Shell Center Row - we need to add a
displayMode
to Shell Panel with additional capability - to have the entire Shell Panel "float" away from the page border.Acceptance Criteria
A new
displayMode
is added to Shell Panel. Propose to call this mode "float", and change the current "float" to "float-detach" to more clearly convey the difference. Open to naming ideas.Current Shell Center Row:
Proposed in Shell Panel:
Note - there are some margin differences we can work on here - also, this requires the user to set their "layout" in the Shell Panel to "vertical" and adjust width, maybe that can be smoothed. Potentially - there could be more "position" properties than start / end and it could be "top / bottom / start / end". We could use the Shell Panel's slot to set which css var are being used instead of "layout". But, that's a bit tangential.
Relevant Info
This would allow us to deprecate Shell Center Row as this is the last remaining functionality not offered by Shell Panel. Currently, this would have the same oddities "float" does without
content-behind
set on a parent Shell, but they can be improved together in the future.Maybe we could consider renaming "overlay" to "dock-overlay" to match the thing-modifier format?
cc @asangma @mitc7862
Which Component
Shell Panel
Example Use Case
As a designer - I want to have a Panel + Action Bar within a Shell Panel "float" above the map without having the Action Bar attached to the edge of the container. Currently, I can't achieve this with built in styles in Shell Panel, but I could with Shell Center Row.
Priority impact
p3 - want for upcoming milestone
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: