-
Notifications
You must be signed in to change notification settings - Fork 507
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
Q4 Cool Zoo Release PR #349
Conversation
This pull request is automatically deployed with Now. |
Update system prop categories in docs
| `TYPOGRAPHY`| fontFamily, fontSize, fontWeight, lineHeight & all `COMMON` props | [styled-system typography docs](https://github.com/jxnblk/styled-system/blob/master/docs/table.md#typography) | | ||
| `LAYOUT` | borders, borderColor, borderRadius, boxShadow, <br/> display, size, width, height, minWidth, minHeight, <br/> maxWidth, maxHeight, verticalAlign & all `COMMON` props | [styled-system layout docs](https://github.com/jxnblk/styled-system/blob/master/docs/table.md#layout) <br/> [styled-system misc docs](https://github.com/jxnblk/styled-system/blob/master/docs/table.md#misc) | | ||
| `POSITION` | position, zIndex, top, right, bottom, left | [styled-system position docs](https://github.com/jxnblk/styled-system/blob/master/docs/table.md#position) | ||
| `COMMON`| <Text children={printProps(COMMON)} /> | [styled-system core docs](https://github.com/jxnblk/styled-system/blob/master/docs/table.md#core) | |
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.
Looking at this now, I wonder if having a component to render the props list would be DRY-er?
<PropsList>{COMMON}</PropsList>
// replacing printProps():
export const PropsList = ({children}) => children.join(', ')
PropsList.propTypes = {children: PropTypes.arrayOf(PropTypes.string)}
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.
I like that idea!
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.
I'll add this as an issue to do in a follow up PR!
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.
JK i just went ahead and did it in this branch 😉
Co-Authored-By: emplums <emplums@github.com>
Redirect from / to /components
Fix duplicated SSR styles
Co-Authored-By: emplums <emplums@github.com>
README updates
Update Octicons
RFC extend Box in BorderBox, remove default bg
💅 Enhancements
flex
from FLEX_CONTAINER props and put it in FLEX_ITEM Update system prop categories in docs #347COMMON
into other categories insystem-props.js
and instead do it within each component to make this more explicit Update system prop categories in docs #347📝 Documentation
primer.style/components
and the non-aliased deployment URL) now redirects from/
to/components
Redirect from / to /components #355Version to be Published: 7.0.0-beta
Merge checklist