Skip to content

2.3.0 - Add support for styled-components v5 #55

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 33 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,77 @@
# Change log

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prettier doing this - so leaving for now

### 2.3.0
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prettier changed this - so keeping it


- Peer depepnency support for v5 of `styled-components`

### 2.2.2

* bumped support of `styled-components` ([#20](https://github.com/jameslnewell/styled-components-grid/pull/20))
- bumped support of `styled-components` ([#20](https://github.com/jameslnewell/styled-components-grid/pull/20))

### 2.2.1

* fixed `Grid.Unit` size prop for `0` value
* fixed documentation for the `size` prop
- fixed `Grid.Unit` size prop for `0` value
- fixed documentation for the `size` prop

### 2.2.0

* bumped `react-create-component-from-tag-prop`
- bumped `react-create-component-from-tag-prop`

### 2.1.0

* added the `module` field
* added badges to README
- added the `module` field
- added badges to README

## 2.0.1

* fixed docs ([#15](https://github.com/jameslnewell/styled-components-grid/pull/15)) ([#16](https://github.com/jameslnewell/styled-components-grid/pull/14))
- fixed docs ([#15](https://github.com/jameslnewell/styled-components-grid/pull/15)) ([#16](https://github.com/jameslnewell/styled-components-grid/pull/14))

## 2.0.0

No changes

## 2.0.0-preview.1

* upgraded `react` and `styled-components` `peerDependency`s
* upgraded `styled-components-breakpoint` to v3 for simplified use of custom breakpoints
* changed `max-width: none` to `max-width: 100%` for `size="max"` in order to constrain the width to the parent container
* changed to throw an error instead of falling back to the default if an invalid prop value is passed
* removed deprecated properties
- upgraded `react` and `styled-components` `peerDependency`s
- upgraded `styled-components-breakpoint` to v3 for simplified use of custom breakpoints
- changed `max-width: none` to `max-width: 100%` for `size="max"` in order to constrain the width to the parent container
- changed to throw an error instead of falling back to the default if an invalid prop value is passed
- removed deprecated properties

## 1.0.0-preview.15

* fixed typo with `wrap` (changed `no-wrap` to `nowrap`)
* reverted change: made `Grid.Unit` `display: flex`
- fixed typo with `wrap` (changed `no-wrap` to `nowrap`)
- reverted change: made `Grid.Unit` `display: flex`

## 1.0.0-preview.14

* fixed documentation for the `wrap` default value
- fixed documentation for the `wrap` default value

## 1.0.0-preview.13

* added `size` and deprecated `width`
* added `halign` and deprecated `horizontalAlign`
* added `valign` and deprecated `verticalAlign`
* made `Grid.Unit` `display: flex`
* stopped rendering default styles when not required in order to make overriding styles easier (less `!important`s in your codebase)
* added mixins
* added tests
* added docs website
- added `size` and deprecated `width`
- added `halign` and deprecated `horizontalAlign`
- added `valign` and deprecated `verticalAlign`
- made `Grid.Unit` `display: flex`
- stopped rendering default styles when not required in order to make overriding styles easier (less `!important`s in your codebase)
- added mixins
- added tests
- added docs website

## 1.0.0-preview.9

* fix: updated documentation
- fix: updated documentation

## 1.0.0-preview.8

* fix: `wrap` and other props were broken if you didn't specify a value for the mobile breakpoint. Updated `styled-components-breakpoint` which contains a fix.
- fix: `wrap` and other props were broken if you didn't specify a value for the mobile breakpoint. Updated `styled-components-breakpoint` which contains a fix.

## 1.0.0-preview.7

* added: `min` and `max` widths to `Grid.Unit`
* added: docs for `wrap` to `Grid`
- added: `min` and `max` widths to `Grid.Unit`
- added: docs for `wrap` to `Grid`

## 1.0.0-preview.6

* fix: switch to `prop-types` to remove `react` warnings
* fix: add missing `react` dependency to `peerDependencies`
- fix: switch to `prop-types` to remove `react` warnings
- fix: add missing `react` dependency to `peerDependencies`
22 changes: 17 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
{
"name": "styled-components-grid",
"version": "2.2.2",
"version": "2.3.0",
"description": "Responsive grid components for `styled-components` 💅.",
"keywords": ["react", "styled-components", "grid", "responsive", "style"],
"keywords": [
"react",
"styled-components",
"grid",
"responsive",
"style"
],
"repository": "jameslnewell/styled-components-grid",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"jsnext:main": "dist/esm/index.js",
"files": ["dist/cjs", "dist/esm"],
"files": [
"dist/cjs",
"dist/esm"
],
"peerDependencies": {
"react": ">= 15 < 17",
"styled-components": ">= 1 < 5"
"styled-components": ">= 1 <= 5"
},
"dependencies": {
"react-create-component-from-tag-prop": "^1.4.0",
Expand Down Expand Up @@ -43,7 +52,10 @@
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
"*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"license": "MIT"
}
Loading