-
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
feat: update to fundamental-styles@0.4.0-rc.3 #848
Conversation
Deploy preview for fundamental-react ready! Built with commit 247ee9d |
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.
Everything is looking mostly good 👍
I'm not sure if it's just me, but if I resize the window in the docs site so that the SideNav
on the left collapses, I can't scroll it up or down anymore after opening it again.
src/Button/Button.Component.js
Outdated
<Button disabled type='medium'> | ||
Disabled | ||
</Button> | ||
</div> | ||
<div className='frDocs-tile__break' /> |
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.
An extra <div className='frDocs-tile__break' />
here
} | ||
} | ||
|
||
SideNavList.propTypes = { | ||
children: PropTypes.node, | ||
className: PropTypes.string, | ||
compact: PropTypes.bool, | ||
condensed: PropTypes.bool, |
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.
Will need prop descriptions for condensed
, isUtility
, and level
@jacobdevera No, it's not just you. When the side nav collapses and it shown via the hamburger menu, it no longer scrolls. |
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.
src/Calendar/Calendar.js
Outdated
@@ -350,7 +391,7 @@ class Calendar extends Component { | |||
for (let index = 0; index < 7; index++) { | |||
weekDays.push( | |||
<th className='fd-calendar__column-header' key={index}> | |||
<span className='fd-calendar__day-of-week'> | |||
<span className='fd-calendar__day-of-week' role='button'> |
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.
Why do the days of the week have a role of button? They aren't actually clickable, are they?
@@ -55,9 +57,10 @@ class SideNav extends Component { | |||
SideNav.propTypes = { | |||
children: PropTypes.node, | |||
className: PropTypes.string, | |||
compact: PropTypes.bool, | |||
condensed: PropTypes.bool, |
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.
Needs a prop description.
@skvale That's actually part of this PR's change. The Side Navigation component (which is what the site's left nav is built with) has been refactored and is now using different classes. |
New commit fixes:
|
@meganaconley The PR feedback changes looked good except for the side nav scrolling. It did scroll this time, however, now even the search box scrolled with it -- that is supposed to stay fixed. Instead of more comments and screenshots, I contributed a few changes. I set the sidebar width to |
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.
Assuming the build passes, these changes look good. I am part author now so I'll give it a partial ⛵️. If my contributions look good, feel free to approve and merge.
Thanks for the help @greg-a-smith! |
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.
🚢
Description
[BREAKING CHANGE]
Updates fundamental-styles to 0.4.0-rc.3, bringing in the following markup changes:
SideNav
refactornested-list
styles and structureutility
navButton
changesmedium
button removedCalendar
changesul
totable