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

1.0.0 #72

Merged
merged 65 commits into from
Aug 26, 2019
Merged

1.0.0 #72

merged 65 commits into from
Aug 26, 2019

Conversation

chriswynn
Copy link
Contributor

Release version 1.0.0

This release contains several breaking changes. One is that the way the components are styled has changed. Instead of using the css prop from Emotion; Onno is being used to style. More can be read about Onno here. Leveraging this library allows components to be styled with css props. It also allows for better theme integration across the board. The changes are as follows:

  • The Text component no longer utilizes the dim or display props. These have been replaced with the opacity and fontFamily props.
  • The addition of the Box component which provides a base for all of the layout components.
  • The addition of the Flex component which extends the box, but has the default styles set to allow usage of flexbox styles.
  • The addition of the TextLink component.
  • Addition for Grid component. An extension of the box component, but with css grid layout styles set as a default.
  • Changes to the theme have also been made. Theme changes are:
    • fonts changes to fontFamilies
    • spacing is now spaces
    • scheme is now schemesand is moved outside of the colors object.
    • The addition of breakpoints to the theme
    • The addition of opacities to the theme
    • maxWidths is now an array of strings instead of nested arrays.

chriswynn and others added 30 commits July 12, 2019 13:15
Set release branch to release
this is the first step for a big refactor to move to use `styled` for
all components and the onno library for styling props.
chriswynn and others added 23 commits August 15, 2019 13:52
Add displaySet, transformSet, and transition render functions to Text
Refactor Section component to extend Box
Add stories path to tsconfig include
Update component exports to add new components
@chriswynn chriswynn merged commit 6817354 into release Aug 26, 2019
@chriswynn chriswynn deleted the 1.0.0 branch August 26, 2019 19:39
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.

3 participants