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

Commit 51ddacb

Browse files
4.0.0
1 parent d481c2d commit 51ddacb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+724
-1375
lines changed

.rollup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import babel from 'rollup-plugin-babel';
22

33
export default {
4-
input: 'index.js',
4+
input: 'src/index.js',
55
output: [
6-
{ file: 'index.cjs.js', format: 'cjs', sourcemap: true },
7-
{ file: 'index.es.mjs', format: 'es', sourcemap: true }
6+
{ file: 'index.cjs.js', format: 'cjs', sourcemap: true, strict: false },
7+
{ file: 'index.esm.mjs', format: 'esm', sourcemap: true, strict: false }
88
],
99
plugins: [
1010
babel({
1111
presets: [
12-
['@babel/env', { modules: false, targets: { node: 6 } }]
12+
['@babel/env', { modules: false, targets: { node: 8 } }]
1313
]
1414
})
1515
]

.tape.js

Lines changed: 82 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,86 @@
11
module.exports = {
2-
'postcss-logical-properties': {
3-
'border': {
4-
message: 'supports logical "border" property values'
5-
},
6-
'border:ltr': {
7-
message: 'supports logical "border" property values with { dir: "ltr" }',
8-
options: {
9-
dir: 'ltr'
10-
}
11-
},
12-
'border:preserve': {
13-
message: 'supports logical "border" property values with { preserve: true }',
14-
options: {
15-
preserve: true
16-
}
17-
},
18-
'clear': {
19-
message: 'supports logical "clear" property values'
20-
},
21-
'clear:ltr': {
22-
message: 'supports logical "clear" property values with { dir: "ltr" }',
23-
options: {
24-
dir: 'ltr'
25-
}
26-
},
27-
'float': {
28-
message: 'supports logical "float" property values'
29-
},
30-
'float:ltr': {
31-
message: 'supports logical "float" property values with { dir: "ltr" }',
32-
options: {
33-
dir: 'ltr'
34-
}
35-
},
36-
'inset': {
37-
message: 'supports logical "inset" properties'
38-
},
39-
'inset:ltr': {
40-
message: 'supports logical "inset" properties with { dir: "ltr" }',
41-
options: {
42-
dir: 'ltr'
43-
}
44-
},
45-
'margin': {
46-
message: 'supports logical "margin" properties'
47-
},
48-
'margin:ltr': {
49-
message: 'supports logical "margin" properties with { dir: "ltr" }',
50-
options: {
51-
dir: 'ltr'
52-
}
53-
},
54-
'padding': {
55-
message: 'supports logical "padding" properties'
56-
},
57-
'padding:ltr': {
58-
message: 'supports logical "padding" properties with { dir: "ltr" }',
59-
options: {
60-
dir: 'ltr'
61-
}
62-
},
63-
'resize': {
64-
message: 'supports logical "resize" properties'
65-
},
66-
'size': {
67-
message: 'supports logical "size" properties'
68-
},
69-
'text-align': {
70-
message: 'supports logical "text-align" properties'
71-
},
72-
'text-align:ltr': {
73-
message: 'supports logical "text-align" properties with { dir: "ltr" }',
74-
options: {
75-
dir: 'ltr'
76-
}
77-
},
78-
'transition': {
79-
message: 'supports logical "transition" properties'
80-
},
81-
'transition:ltr': {
82-
message: 'supports logical "transition" properties with { dir: "ltr" }',
83-
options: {
84-
dir: 'ltr'
85-
}
2+
'border': {
3+
message: 'supports logical "border" property values'
4+
},
5+
'border:ltr': {
6+
message: 'supports logical "border" property values with { dir: "ltr" }',
7+
options: {
8+
dir: 'ltr'
9+
}
10+
},
11+
'border:preserve': {
12+
message: 'supports logical "border" property values with { preserve: true }',
13+
options: {
14+
preserve: true
15+
}
16+
},
17+
'clear': {
18+
message: 'supports logical "clear" property values'
19+
},
20+
'clear:ltr': {
21+
message: 'supports logical "clear" property values with { dir: "ltr" }',
22+
options: {
23+
dir: 'ltr'
24+
}
25+
},
26+
'float': {
27+
message: 'supports logical "float" property values'
28+
},
29+
'float:ltr': {
30+
message: 'supports logical "float" property values with { dir: "ltr" }',
31+
options: {
32+
dir: 'ltr'
33+
}
34+
},
35+
'inset': {
36+
message: 'supports logical "inset" properties'
37+
},
38+
'inset:ltr': {
39+
message: 'supports logical "inset" properties with { dir: "ltr" }',
40+
options: {
41+
dir: 'ltr'
42+
}
43+
},
44+
'margin': {
45+
message: 'supports logical "margin" properties'
46+
},
47+
'margin:ltr': {
48+
message: 'supports logical "margin" properties with { dir: "ltr" }',
49+
options: {
50+
dir: 'ltr'
51+
}
52+
},
53+
'padding': {
54+
message: 'supports logical "padding" properties'
55+
},
56+
'padding:ltr': {
57+
message: 'supports logical "padding" properties with { dir: "ltr" }',
58+
options: {
59+
dir: 'ltr'
60+
}
61+
},
62+
'resize': {
63+
message: 'supports logical "resize" properties'
64+
},
65+
'size': {
66+
message: 'supports logical "size" properties'
67+
},
68+
'text-align': {
69+
message: 'supports logical "text-align" properties'
70+
},
71+
'text-align:ltr': {
72+
message: 'supports logical "text-align" properties with { dir: "ltr" }',
73+
options: {
74+
dir: 'ltr'
75+
}
76+
},
77+
'transition': {
78+
message: 'supports logical "transition" properties'
79+
},
80+
'transition:ltr': {
81+
message: 'supports logical "transition" properties with { dir: "ltr" }',
82+
options: {
83+
dir: 'ltr'
8684
}
8785
}
8886
};

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
language: node_js
44

55
node_js:
6-
- 6
6+
- 8
77

88
install:
99
- npm install --ignore-scripts

CHANGELOG.md

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

3+
### 4.0.0 (June 5, 2019)
4+
5+
- Added: Logical border-radius properties, which include
6+
`border-end-end-radius`, `border-end-start-radius`, `border-start-end-radius`,
7+
and `border-start-start-radius`.
8+
- Removed: All unknown logical properties, which include `border-end`,
9+
`border-end-color`, `border-end-style`, `border-end-width`, `border-start`,
10+
`border-start-color`, `border-start-style`, `border-start-width`, `inset-end`,
11+
`inset-start`, `margin-end`, `margin-start`, `padding-end`, `padding-start`
12+
and `border` with `logical`.
13+
- Updated: `transition` and `transition-property` to support the changes.
14+
- Updated: `postcss` to 7.0.16 (patch)
15+
- Updated: Node 8+ compatibility (major)
16+
317
### 3.0.0 (September 20, 2018)
418

519
- Added: Support for logical properties within `transition` and

index.js

Lines changed: 0 additions & 90 deletions
This file was deleted.

lib/match-supported-properties.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)