Closed jaredcwhite closed 1 year ago
Name | Link |
---|---|
Latest commit | 493eb7f1f94382b3107aacf1c158b7f31b95a2d8 |
Latest deploy log | https://app.netlify.com/sites/storybook-ui-seeds/deploys/6490fc546161a20008acd961 |
Deploy Preview | https://deploy-preview-30--storybook-ui-seeds.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
@emilyjablonski
- In the horizontal / desktop flavor, there's a gray border underneath the active item that I'm not seeing in the Figma, and it's not flush w the border:
Yeah, good point. I think because the tab panel is separate from the tabs, we're just seeing its border untouched regardless of the tab above it. I'll see if I can play with negative margin/z-index in some way to avoid that.
- In the vertical / mobile version I would have expected that the active item would still remain rounded, but not sure if that's actually expected behavior @slowbot
So this was something I had experimented with and then forgot to document, my apologies. Basically I'm trying to figure out how to handle the that left border on the top and bottom items which have a radius…the active colored border curving up into the radius looks kind of goofy, but un-rounding the border also isn't great. Maybe we need to figure out an alternative approach where the indicator only covers part of the edge and doesn't go up/down into the corner?
I believe I've addressed the feedback regarding styling, so it's ready to review now.
@jaredcwhite hover state here does not match design hover state
@slowbot oh yeah! 🤦🏻♂️ I didn't notice the difference from the old UIC tabs hover state. Will fix.
:tada: This PR is included in version 1.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR addresses #7
Description
This PR adds a Tabs component which can be used to toggle between several content panels. This does not navigate between "pages" however, that would be served by the separate Menu component (upcoming).
How Can This Be Tested/Reviewed?
Storybook: https://deploy-preview-30--storybook-ui-seeds.netlify.app/?path=/story/navigation-tabs--default Docs page: https://deploy-preview-30--storybook-ui-seeds.netlify.app/?path=/docs/navigation-tabs--default
Checklist: