-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
Updates changelogs for psammead-brand, psammead-navigation, psammead-section-label, psammead-story-promo
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.
Just a couple of things
Just noticed that packages with breaking changes are being bumped to new minor versions - if following semver should these be major versions? |
Done :) |
@@ -3,6 +3,7 @@ | |||
<!-- prettier-ignore --> | |||
| Version | Description | | |||
| ------- | ----------- | | |||
| 5.0.6 | [PR#2377](https://github.com/bbc/psammead/pull/2377) Spread extra props to the component | |
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.
Should this be a breaking change as well, considering the others are?
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 patch should be fine since we are not removing props as in the others.
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.
All looks good.
Resolves #2376
Overall change: Spread extra props to component to keep simorgh logic on event tracking out of psammead.
Code changes:
data-*
attributes to be passed in simorgh.SectionLabel
NavigationLi
Brand
StoryPromo