Skip to content

Conversation

@meganaconley
Copy link
Contributor

@meganaconley meganaconley commented Jan 8, 2020

Description

[BREAKING CHANGE]

First in a series of PRs to catch up fundamental-styles. The primary changes in this set that are relevant to fundamental-react (up to 0.3.0) were markup changes to the Menu and Shellbar ProductSwitch components.

  1. Menu
  • separator prop and <hr> removed from MenuItem
  • separated prop added to MenuList
  • addonBefore prop passed down into MenuItem in order to render addon span
  • addon node changed to span and is now wrapped within the a
  1. Shellbar
  • ProductSwitcher renamed to ProductSwitch
  • Import ProductSwitch css file
  • Removed nav node from ProductSwitch
  • Updated classnames in ProductSwitch
  • Use glyph in ProductList instead of images

Known issues

  • ProductSwitch button in Shellbar has a white background. Further PRs to catch up on Button classname changes will fix the issue.

A new component was added which is out of scope for this PR. Issue #821 has already been created for the new Notification component.

https://github.com/SAP/fundamental-styles/blob/master/CHANGELOG.md

Two more PRs are planned to bring it up to 0.3.1 and then 0.4.0-rc.3 to unblock calendar a11y work.

@meganaconley meganaconley self-assigned this Jan 8, 2020
@meganaconley meganaconley requested a review from a team January 8, 2020 20:15
@netlify
Copy link

netlify bot commented Jan 8, 2020

MenuList.displayName = 'Menu.List';

MenuList.propTypes = {
addonBefore: PropTypes.bool,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add separated and addonBefore to the prop description list.

Copy link
Contributor

@jbadan jbadan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - just a few small changes :)

@meganaconley meganaconley requested review from a team and jbadan January 9, 2020 19:05
Copy link
Contributor

@jbadan jbadan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@meganaconley meganaconley merged commit 9b1b28b into master Jan 10, 2020
@meganaconley meganaconley deleted the feat/update-fs branch January 10, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants