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

New API #5

Merged
merged 1 commit into from
Jul 24, 2019
Merged

New API #5

merged 1 commit into from
Jul 24, 2019

Conversation

sapegin
Copy link
Owner

@sapegin sapegin commented Jul 6, 2019

BREAKING CHANGE:

  • Rename minWidth prop to minColumnWidth to avoid clash with styled-system minWidth prop.
  • Remove gap prop, use gridGap, gridRowGap and gridColumnGap: use standard styled-system prop and allow different gaps between rows and columns.
  • No default 8px gap.
  • Use spacing scale in minColumnWidth, so minColumnWidth={7} now adds 256px min column width.

Closes #2 #3 #4

BREAKING CHANGE:

* Rename `minWidth` prop to `minColumnWidth` to avoid clash with styled-system `minWidth` prop.
* Remove `gap` prop, use `gridGap`, `gridRowGap` and `gridColumnGap`: use standard styled-system prop and allow different gaps between rows and columns.
* No default 8px gap.
* Use spacing scale in `minColumnWidth`, so `minColumnWidth={7}` now adds 256px min column width.

Closes #2 #3 #4
@sapegin sapegin merged commit 5c3e728 into master Jul 24, 2019
@sapegin sapegin deleted the next branch July 24, 2019 12:02
sapegin pushed a commit that referenced this pull request Jul 24, 2019
## New API

Closes ([#5](#5)), closes [#2](#2) [#3](#3) [#4](#4)

### Breaking changes

* Rename `minWidth` prop to `minColumnWidth` to avoid clash with styled-system `minWidth` prop.
* Remove `gap` prop, use `gridGap`, `gridRowGap` and `gridColumnGap`: use standard styled-system prop and allow different gaps between rows and columns.
* No default 8px gap.
* Use spacing scale in `minColumnWidth`, so `minColumnWidth={7}` now adds 256px min column width.
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.

Choose different name for minWidth prop
1 participant