-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Enter the age of Onno
Add Box component
Cw/text onno
Cw/flex component
Polymorph Function
Update packages
Add displaySet, transformSet, and transition render functions to Text
Run npm audit fix
Cw/wrap onno
Cw/scheme provider onno
Refactor Section component to extend Box
Cw/text link component
Cw/text input
Add displayName to components
Add stories path to tsconfig include
Cw/add html types
Update component exports to add new components
Update documentation
jssee
approved these changes
Aug 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
Text
component no longer utilizes thedim
ordisplay
props. These have been replaced with theopacity
andfontFamily
props.Box
component which provides a base for all of the layout components.Flex
component which extends the box, but has the default styles set to allow usage offlexbox
styles.TextLink
component.Grid
component. An extension of the box component, but withcss grid layout
styles set as a default.fonts
changes tofontFamilies
spacing
is nowspaces
scheme
is nowschemes
and is moved outside of thecolors
object.breakpoints
to the themeopacities
to the thememaxWidths
is now an array of strings instead of nested arrays.