Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit 80d5a09

Browse files
committed
4.0.1
1 parent 54a87cd commit 80d5a09

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to PostCSS Logical Properties
22

3+
### 4.0.1 (June 10, 2019)
4+
5+
- Fixed: An issue with `block-size` and `inline-size` being miscalculated.
6+
37
### 4.0.0 (June 5, 2019)
48

59
- Added: Logical border-radius properties, which include

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ the `dir` option will be ignored.
184184

185185
[css-img]: https://cssdb.org/badge/logical-properties-and-values.svg
186186
[css-url]: https://cssdb.org/#logical-properties-and-values
187-
[cli-img]: https://img.shields.io/travis/csstools/postcss-logical.svg
187+
[cli-img]: https://img.shields.io/travis/csstools/postcss-logical/master.svg
188188
[cli-url]: https://travis-ci.org/csstools/postcss-logical
189189
[git-img]: https://img.shields.io/badge/support-chat-blue.svg
190190
[git-url]: https://gitter.im/postcss/postcss

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-logical",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Use logical properties and values in CSS",
55
"author": "Jonathan Neal <jonathantneal@hotmail.com>",
66
"license": "CC0-1.0",
@@ -28,7 +28,7 @@
2828
"node": ">=8.0.0"
2929
},
3030
"dependencies": {
31-
"postcss": "^7.0.16"
31+
"postcss": "^7.0.17"
3232
},
3333
"devDependencies": {
3434
"@babel/core": "^7.4.5",
@@ -38,7 +38,7 @@
3838
"eslint": "^5.16.0",
3939
"postcss-tape": "^5.0.0",
4040
"pre-commit": "^1.2.2",
41-
"rollup": "^1.14.2",
41+
"rollup": "^1.14.6",
4242
"rollup-plugin-babel": "^4.3.2"
4343
},
4444
"eslintConfig": {

src/lib/transform-size.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export default {
22
// block-size
33
'block-size': decl => {
4-
decl.prop = 'width';
4+
decl.prop = 'height';
55
},
66
// inline-size
77
'inline-size': decl => {
8-
decl.prop = 'height';
8+
decl.prop = 'width';
99
}
1010
}

test/size.expect.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
test-size {
2-
width: auto;
32
height: auto;
3+
width: auto;
44
}

0 commit comments

Comments
 (0)