-
Notifications
You must be signed in to change notification settings - Fork 12
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
FRONT-2481: Refactor Nav & Tab pattern #74
Conversation
7474f1b
to
ee9bfc2
Compare
ee9bfc2
to
e1a567f
Compare
@@ -42,3 +42,146 @@ button: | |||
'button svg': 1 | |||
contains: | |||
'button.btn-secondary': "Button label" | |||
nav_with_ul: |
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.
Please, adjust the titles to the names at netlify. Here use nav_tabs
pills: true | ||
tabs: true | ||
vertical: false | ||
full_width: true |
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 setting is good, but add please an assertion that class nav-fill is added at ul (check in netlify to see it working).
'#id': nav | ||
'#fields': | ||
settings: | ||
pills: true |
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.
Delete this setting. Check it at netlify: there, at data and also at the Controls, no pills are set for the Tabs example.
settings: | ||
pills: true | ||
tabs: true | ||
vertical: false |
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.
Same for vertical, this setting can be removed from here. As per netlify.
id: "fourth-tab" | ||
target: "fourth" | ||
assertions: | ||
count: |
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.
Add assertion for the nav-fill at ul tag. See in HTML tab of netlify of Tabs navigation.
'div[aria-labelledby="second-tab"]': "This is a demo content for the Second Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ||
'div[aria-labelledby="third-tab"]': "This is a demo content for the Third Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ||
'div[aria-labelledby="fourth-tab"]': "This is a demo content for the Fourth Tab. Lorem ipsum dolor sit amet, consectetur adipiscing elit." | ||
nav_vertical: |
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.
Rename it as nav_default_vertical to be coincident with the data at netlify.
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.
Also copy the test and repeat it as nav_default without the vertical testing. Adapt the assertions to the default testing.
pills: false | ||
tabs: false | ||
vertical: true | ||
full_width: true | ||
alignment: end | ||
tabs_content: false | ||
nav: true | ||
navbar: true |
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.
Please check at netlify, only is necessary pills, nav and vertical. Other settings can be deleted from here.
1e09ef7
to
8a06ee4
Compare
@@ -0,0 +1,516 @@ | |||
navigation_default_full_width_with_pills_horizontal: |
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 location of this folder changed
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 dropdown does not work, add a submenu item and it should show a dropdown
d323bce
to
b667cfb
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.
I can't review the rendering part because I can't revisit netlify bcl 0.14, so it will have to do for now, and this will have to be looked into for the next bcl upgrade
Jira issue(s):