-
Notifications
You must be signed in to change notification settings - Fork 99
fix(navigation): final minor fixes #2081
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
Conversation
🦋 Changeset detectedLatest commit: 524c1f8 The changes in this PR will be included in the next version bump. 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 |
✅ Deploy Preview for stacks ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for stacks-svelte ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
CGuindon
left a comment
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.
These changes LGTM — thanks for tackling those so quickly! Sorry I didn't catch the icon sizing on the first round.
Wondering if we should let @kylejrp review as well? I've sent the preview to @ellenchanhy to have a quick look to and double check but I think this works for what we need.
CGuindon
left a comment
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.
Oops sorry — missed something.
- Hover state should be
black-100(different than the selected state. - Is it possible to set a min height to the section title container with the label? Because we're not matching the icon size anymore (because it's in a button now) we loose some of the height because the label text is only ~15px. Can we make this be closer to a min height of 20px?
Note I looked at swapping the padding 16 to 24 but that's too big
@CGuindon I am not sure if I totally understand this. The height of the
Shall I do that? |
|
@giamir Confirming, yes let's do your suggestion of making the padding 18px |
CGuindon
left a comment
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.
🙌

SPARK-130
Those 2 points have been addressed directly in stacks classic. The rest are all updates of the storybook trailing story to show one way of achieving the desired final spec. Consumer can take heavy inspiration from that story but they will ultimately have to replicate something simlar for their concrete use case.
Addressed in the storybook trailing story.
I kept this as it was in the trailing story. I personally think the added complexity is not worth it. That said if @kylejrp wants to use his approach with the extra fade effect he can by all mean. The example is just an example and can be tweaked depending on the use case. There is no plan of adding those animation directly in the system libraries for now.
Addressed in the trailing story with a conditional
mn24class being applied. Again this is something that the consumers of Stacks can decide how to best handle.This have been added to the trailing story to show how it can be achieved by consumers of Stacks.
Out of scope, it should certainly be a separate navigation (
nav) landmark. I think for the time being consumers can implement that using theLinkcomponents. If we feel the need to standardize the footer we should extract it as we have done in the past for the topbar but that's a totally different story.Trailing Story
Extra changes:
This has been addressed. It is a stacks classic change.
A similar effect has been achieved by making the padding vertical of
s-navigation--titleelements 18 instead of 16.