1uphealth / fhir-react

FHIR React Component Library
MIT License
100 stars 30 forks source link

Rebuilding and modifying the styles of the atomic component Value #264

Closed btmikolajczyk closed 3 years ago

btmikolajczyk commented 3 years ago

Issue: #78


PR Checklist

Why are these changes needed?

Due to the fact that previous styles should be replaced with styles based on Bootstrap classes, it is necessary to change these styles in the atomic components first.

What changed?

Value - atomic component was changed. Now component is created from two new components Label and Data. Styles of the three previously mentioned components were created from the bootstrap classes.

How are these changes tested?

Changes were tested with the storybook. Because Value - atomic component is used in almost all resource components, the change of its code impacts all of them. You can check how it looks by running the storybook locally. Screenshot 2021-10-07 at 16 43 16 Screenshot 2021-10-07 at 16 43 21