Skip to content
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(Card)!: update component to match dsfr guidelines (refs #164) #196

Merged
merged 1 commit into from
Sep 29, 2023
Merged

feat(Card)!: update component to match dsfr guidelines (refs #164) #196

merged 1 commit into from
Sep 29, 2023

Conversation

ocruze
Copy link
Contributor

@ocruze ocruze commented Sep 27, 2023

refs #164
! BREAKING CHANGE !

  • only one badge in the image area (badges becomes badge)
  • update storybook: add more examples and update props list

* only one badge in the image area
* update storybook
@ocruze ocruze changed the title feat(Card): update component to match dsfr guidelines (refs #164) feat(Card)!: update component to match dsfr guidelines (refs #164) Sep 27, 2023
Copy link
Contributor

@slafayIGN slafayIGN left a comment

Choose a reason for hiding this comment

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

Thank you @ocruze

I would like to add that most issues mentioned in #164 comments regarding conformity with the DSFR are not enforced with this PR but the documentation and examples are more accurate and show more use cases. One example with badges in both the image and the content areas has been modified because it was not permitted.

The start prop ends up being enough for the tags group or badges group in the content, without adding more complexity to the component.

@garronej
Copy link
Collaborator

Thanks a lot, I'll be reviewing that

@garronej garronej merged commit e2f0ceb into codegouvfr:main Sep 29, 2023
6 checks passed
garronej added a commit that referenced this pull request Sep 29, 2023
@garronej
Copy link
Collaborator

Merged! Thank you for your contribution :)

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.

None yet

3 participants