autoprefixer 6.7.7 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AUTHORS +1 -0
- package/CHANGELOG.md +23 -0
- package/README.md +9 -15
- package/data/prefixes.js +551 -517
- package/lib/at-rule.js +55 -38
- package/lib/autoprefixer.js +89 -63
- package/lib/brackets.js +59 -39
- package/lib/browsers.js +102 -65
- package/lib/declaration.js +212 -121
- package/lib/hacks/align-content.js +65 -38
- package/lib/hacks/align-items.js +62 -38
- package/lib/hacks/align-self.js +63 -36
- package/lib/hacks/appearance.js +42 -0
- package/lib/hacks/background-size.js +29 -20
- package/lib/hacks/block-logical.js +36 -21
- package/lib/hacks/border-image.js +26 -16
- package/lib/hacks/border-radius.js +60 -39
- package/lib/hacks/break-props.js +69 -44
- package/lib/hacks/cross-fade.js +40 -37
- package/lib/hacks/display-flex.js +81 -31
- package/lib/hacks/display-grid.js +29 -19
- package/lib/hacks/filter-value.js +66 -45
- package/lib/hacks/filter.js +26 -17
- package/lib/hacks/flex-basis.js +60 -30
- package/lib/hacks/flex-direction.js +85 -53
- package/lib/hacks/flex-flow.js +67 -49
- package/lib/hacks/flex-grow.js +45 -26
- package/lib/hacks/flex-shrink.js +60 -30
- package/lib/hacks/flex-spec.js +18 -8
- package/lib/hacks/flex-values.js +39 -20
- package/lib/hacks/flex-wrap.js +29 -20
- package/lib/hacks/flex.js +68 -43
- package/lib/hacks/fullscreen.js +31 -21
- package/lib/hacks/gradient.js +462 -302
- package/lib/hacks/grid-column-align.js +55 -0
- package/lib/hacks/grid-end.js +53 -28
- package/lib/hacks/grid-row-align.js +39 -19
- package/lib/hacks/grid-start.js +80 -48
- package/lib/hacks/grid-template.js +91 -55
- package/lib/hacks/image-rendering.js +63 -33
- package/lib/hacks/image-set.js +28 -20
- package/lib/hacks/inline-logical.js +32 -17
- package/lib/hacks/intrinsic.js +73 -0
- package/lib/hacks/justify-content.js +69 -42
- package/lib/hacks/mask-border.js +36 -21
- package/lib/hacks/order.js +58 -35
- package/lib/hacks/pixelated.js +44 -30
- package/lib/hacks/placeholder.js +40 -25
- package/lib/hacks/text-emphasis-position.js +27 -20
- package/lib/hacks/transform-decl.js +94 -52
- package/lib/hacks/writing-mode.js +37 -27
- package/lib/info.js +117 -78
- package/lib/old-selector.js +84 -58
- package/lib/old-value.js +22 -20
- package/lib/prefixer.js +164 -95
- package/lib/prefixes.js +446 -351
- package/lib/processor.js +394 -278
- package/lib/resolution.js +135 -75
- package/lib/selector.js +145 -84
- package/lib/supports.js +330 -210
- package/lib/transition.js +396 -243
- package/lib/utils.js +84 -48
- package/lib/value.js +118 -80
- package/package.json +53 -13
- package/lib/hacks/justify-items.js +0 -31
- package/lib/hacks/stretch.js +0 -45
package/AUTHORS
CHANGED
|
@@ -43,6 +43,7 @@ Denis Sokolov <denis@sokolov.cc>
|
|
|
43
43
|
Dominik Porada <dominik@porada.co>
|
|
44
44
|
Dominik Schilling <dominikschilling+git@gmail.com>
|
|
45
45
|
dotch <ch.weiss@hotmail.de>
|
|
46
|
+
Dmitry Semigradsky <semigradskyd@gmail.com>
|
|
46
47
|
Efremov Alexey <lexich121@gmail.com>
|
|
47
48
|
eitanr <eitanr@wix.com>
|
|
48
49
|
Erik Sundahl <esundahl@gmail.com>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
3
3
|
|
|
4
|
+
## 7.1.1
|
|
5
|
+
* Remove non-`-webkit-` intrinsic prefixes in Grid Layout (by 一丝).
|
|
6
|
+
|
|
7
|
+
## 7.1 “Universitas litterarum”
|
|
8
|
+
* Add `unicode-bidi` support.
|
|
9
|
+
* Add `-webkit-appearance` support for Edge.
|
|
10
|
+
* Add `from` option to `info()`.
|
|
11
|
+
* Fix intrinsic widths prefixes in Grid Layout.
|
|
12
|
+
|
|
13
|
+
## 7.0.1
|
|
14
|
+
* Fix Autoprefixer for old JS runtimes.
|
|
15
|
+
|
|
16
|
+
## 7.0 “Coelestem adspicit lucem”
|
|
17
|
+
* Remove node.js 0.12 support.
|
|
18
|
+
* Use PostCSS 6.0.
|
|
19
|
+
* Use Browserslist 2.
|
|
20
|
+
* Use `caniuse-lite` instead of `caniuse-db` (by Ben Briggs).
|
|
21
|
+
* Use `^` for Browserslist dependencies, instead of `~`.
|
|
22
|
+
* Rewrite project from CoffeeScript to Babel (by Dmitry Semigradsky).
|
|
23
|
+
* Disable Grid Layout prefixes for IE by default.
|
|
24
|
+
* Fix `-ms-grid-column-align`.
|
|
25
|
+
* Move tests to Jest.
|
|
26
|
+
|
|
4
27
|
## 6.7.7
|
|
5
28
|
* Fix `order` for non-digit values.
|
|
6
29
|
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ Twitter account for news and releases: [@autoprefixer].
|
|
|
47
47
|
|
|
48
48
|
[interactive demo]: http://autoprefixer.github.io/
|
|
49
49
|
[@autoprefixer]: https://twitter.com/autoprefixer
|
|
50
|
-
[recommended]: https://developers.google.com/web/tools/setup/setup-buildtools#
|
|
50
|
+
[recommended]: https://developers.google.com/web/tools/setup/setup-buildtools#dont_trip_up_with_vendor_prefixes
|
|
51
51
|
[Can I Use]: http://caniuse.com/
|
|
52
52
|
[PostCSS]: https://github.com/postcss/postcss
|
|
53
53
|
[ci-img]: https://travis-ci.org/postcss/autoprefixer.svg
|
|
@@ -227,15 +227,9 @@ wrote `-webkit-gradient` without W3C’s `gradient`,
|
|
|
227
227
|
Autoprefixer will not add other prefixes.
|
|
228
228
|
|
|
229
229
|
But [PostCSS] has a plugins to convert CSS to unprefixed state.
|
|
230
|
-
Use
|
|
230
|
+
Use [postcss-unprefix] before Autoprefixer.
|
|
231
231
|
|
|
232
|
-
|
|
233
|
-
* [postcss-flexboxfixer]
|
|
234
|
-
* [postcss-gradientfixer]
|
|
235
|
-
|
|
236
|
-
[postcss-gradientfixer]: https://github.com/hallvors/postcss-gradientfixer
|
|
237
|
-
[postcss-flexboxfixer]: https://github.com/hallvors/postcss-flexboxfixer
|
|
238
|
-
[postcss-unprefix]: https://github.com/yisibl/postcss-unprefix
|
|
232
|
+
[postcss-unprefix]: https://github.com/gucong3000/postcss-unprefix
|
|
239
233
|
|
|
240
234
|
#### Does Autoprefixer add `-epub-` prefix?
|
|
241
235
|
|
|
@@ -379,7 +373,7 @@ let style = prefixer({
|
|
|
379
373
|
|
|
380
374
|
### GUI Tools
|
|
381
375
|
|
|
382
|
-
* [CodeKit](https://
|
|
376
|
+
* [CodeKit](https://codekitapp.com/help/autoprefixer/)
|
|
383
377
|
* [Prepros](https://prepros.io)
|
|
384
378
|
|
|
385
379
|
### CLI
|
|
@@ -388,7 +382,7 @@ You can use the [postcss-cli] to run Autoprefixer from CLI:
|
|
|
388
382
|
|
|
389
383
|
```sh
|
|
390
384
|
npm install --global postcss-cli autoprefixer
|
|
391
|
-
postcss --use autoprefixer
|
|
385
|
+
postcss *.css --use autoprefixer -d build/
|
|
392
386
|
```
|
|
393
387
|
|
|
394
388
|
See `postcss -h` for help.
|
|
@@ -476,14 +470,14 @@ a {
|
|
|
476
470
|
If some prefixes were generated in a wrong way,
|
|
477
471
|
please create an issue on GitHub.
|
|
478
472
|
|
|
479
|
-
Autoprefixer has 4 features, which can be disabled by options:
|
|
473
|
+
Autoprefixer has 4 features, which can be enabled or disabled by options:
|
|
480
474
|
|
|
481
475
|
* `supports: false` will disable `@supports` parameters prefixing.
|
|
482
476
|
* `flexbox: false` will disable flexbox properties prefixing.
|
|
483
477
|
Or `flexbox: "no-2009"` will add prefixes only for final and IE
|
|
484
478
|
versions of specification.
|
|
485
|
-
* `grid: false` will disable Grid Layout prefixes for IE.
|
|
486
479
|
* `remove: false` will disable cleaning outdated prefixes.
|
|
480
|
+
* `grid: true` will enable Grid Layout prefixes for IE.
|
|
487
481
|
|
|
488
482
|
If you do not need Autoprefixer in some part of your CSS,
|
|
489
483
|
you can use control comments to disable Autoprefixer.
|
|
@@ -546,7 +540,7 @@ There are 8 options:
|
|
|
546
540
|
properties. With `"no-2009"` value Autoprefixer will add prefixes only
|
|
547
541
|
for final and IE versions of specification. Default is `true`.
|
|
548
542
|
* `grid` (boolean): should Autoprefixer add IE prefixes for Grid Layout
|
|
549
|
-
properties. Default is `
|
|
543
|
+
properties. Default is `false`.
|
|
550
544
|
* `stats` (object): custom [usage statistics] for `> 10% in my stats`
|
|
551
545
|
browsers query.
|
|
552
546
|
|
|
@@ -556,7 +550,7 @@ You can use PostCSS processor to process several CSS files
|
|
|
556
550
|
to increase performance.
|
|
557
551
|
|
|
558
552
|
[usage statistics]: https://github.com/ai/browserslist#custom-usage-data
|
|
559
|
-
[PostCSS API]:
|
|
553
|
+
[PostCSS API]: http://api.postcss.org
|
|
560
554
|
|
|
561
555
|
## Debug
|
|
562
556
|
|