autoprefixer 10.2.4 → 10.3.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.
Files changed (80) hide show
  1. package/README.md +4 -5
  2. package/data/prefixes.js +206 -91
  3. package/lib/at-rule.js +2 -2
  4. package/lib/autoprefixer.d.ts +3 -3
  5. package/lib/autoprefixer.js +28 -18
  6. package/lib/brackets.js +3 -3
  7. package/lib/browsers.js +6 -6
  8. package/lib/declaration.js +14 -14
  9. package/lib/hacks/align-content.js +3 -3
  10. package/lib/hacks/align-items.js +3 -3
  11. package/lib/hacks/align-self.js +4 -4
  12. package/lib/hacks/animation.js +1 -1
  13. package/lib/hacks/appearance.js +1 -1
  14. package/lib/hacks/backdrop-filter.js +1 -1
  15. package/lib/hacks/background-clip.js +2 -2
  16. package/lib/hacks/background-size.js +1 -1
  17. package/lib/hacks/block-logical.js +2 -2
  18. package/lib/hacks/border-image.js +1 -1
  19. package/lib/hacks/border-radius.js +2 -2
  20. package/lib/hacks/break-props.js +4 -4
  21. package/lib/hacks/color-adjust.js +2 -2
  22. package/lib/hacks/cross-fade.js +1 -1
  23. package/lib/hacks/display-flex.js +5 -5
  24. package/lib/hacks/display-grid.js +2 -2
  25. package/lib/hacks/file-selector-button.js +17 -0
  26. package/lib/hacks/filter-value.js +1 -1
  27. package/lib/hacks/filter.js +1 -1
  28. package/lib/hacks/flex-basis.js +3 -3
  29. package/lib/hacks/flex-direction.js +3 -3
  30. package/lib/hacks/flex-flow.js +1 -1
  31. package/lib/hacks/flex-grow.js +2 -2
  32. package/lib/hacks/flex-shrink.js +3 -3
  33. package/lib/hacks/flex-wrap.js +1 -1
  34. package/lib/hacks/flex.js +3 -3
  35. package/lib/hacks/fullscreen.js +1 -1
  36. package/lib/hacks/gradient.js +18 -18
  37. package/lib/hacks/grid-area.js +1 -1
  38. package/lib/hacks/grid-column-align.js +3 -3
  39. package/lib/hacks/grid-end.js +1 -1
  40. package/lib/hacks/grid-row-align.js +3 -3
  41. package/lib/hacks/grid-row-column.js +1 -1
  42. package/lib/hacks/grid-rows-columns.js +3 -3
  43. package/lib/hacks/grid-start.js +3 -3
  44. package/lib/hacks/grid-template-areas.js +2 -2
  45. package/lib/hacks/grid-template.js +1 -1
  46. package/lib/hacks/grid-utils.js +60 -48
  47. package/lib/hacks/image-rendering.js +5 -5
  48. package/lib/hacks/image-set.js +1 -1
  49. package/lib/hacks/inline-logical.js +2 -2
  50. package/lib/hacks/intrinsic.js +6 -6
  51. package/lib/hacks/justify-content.js +3 -3
  52. package/lib/hacks/mask-border.js +2 -2
  53. package/lib/hacks/mask-composite.js +1 -1
  54. package/lib/hacks/order.js +3 -3
  55. package/lib/hacks/overscroll-behavior.js +3 -3
  56. package/lib/hacks/pixelated.js +2 -2
  57. package/lib/hacks/place-self.js +1 -1
  58. package/lib/hacks/placeholder-shown.js +1 -1
  59. package/lib/hacks/placeholder.js +2 -2
  60. package/lib/hacks/text-decoration-skip-ink.js +1 -1
  61. package/lib/hacks/text-decoration.js +1 -1
  62. package/lib/hacks/text-emphasis-position.js +1 -1
  63. package/lib/hacks/transform-decl.js +4 -4
  64. package/lib/hacks/user-select.js +2 -2
  65. package/lib/hacks/writing-mode.js +1 -1
  66. package/lib/info.js +2 -2
  67. package/lib/old-selector.js +3 -3
  68. package/lib/old-value.js +2 -2
  69. package/lib/prefixer.js +8 -8
  70. package/lib/prefixes.js +126 -68
  71. package/lib/processor.js +17 -14
  72. package/lib/resolution.js +6 -6
  73. package/lib/selector.js +10 -10
  74. package/lib/supports.js +28 -20
  75. package/lib/transition.js +15 -15
  76. package/lib/utils.js +65 -67
  77. package/lib/value.js +7 -7
  78. package/lib/vendor.js +2 -2
  79. package/package.json +5 -5
  80. package/CHANGELOG.md +0 -1025
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  title="Autoprefixer logo by Anton Lovchikov">
6
6
 
7
7
  [PostCSS] plugin to parse CSS and add vendor prefixes to CSS rules using values
8
- from [Can I Use]. It is [recommended] by Google and used in Twitter and Alibaba.
8
+ from [Can I Use]. It is recommended by Google and used in Twitter and Alibaba.
9
9
 
10
10
  Write your CSS rules without vendor prefixes (in fact, forget about them
11
11
  entirely):
@@ -59,7 +59,6 @@ Twitter account for news and releases: [@autoprefixer].
59
59
 
60
60
  [interactive demo]: https://autoprefixer.github.io/
61
61
  [@autoprefixer]: https://twitter.com/autoprefixer
62
- [recommended]: https://developers.google.com/web/tools/setup/setup-buildtools#dont_trip_up_with_vendor_prefixes
63
62
  [Can I Use]: https://caniuse.com/
64
63
  [cult-img]: http://cultofmartians.com/assets/badges/badge.svg
65
64
  [PostCSS]: https://github.com/postcss/postcss
@@ -1001,8 +1000,8 @@ IE will place `.grid-cell`, `::before` and `::after` in row 1 column 1.
1001
1000
  Modern browsers on the other hand will place `::before` in row 1 column 1,
1002
1001
  `.grid-cell` in row 1 column 2, and `::after` in row 2 column 1.
1003
1002
 
1004
- See this [Code Pen](https://codepen.io/daniel-tonon/pen/gBymVw) to see a visualization
1005
- of the issue. View the Code Pen in both a modern browser and IE to see the difference.
1003
+ See this [CodePen](https://codepen.io/daniel-tonon/pen/gBymVw) to see a visualization
1004
+ of the issue. View the CodePen in both a modern browser and IE to see the difference.
1006
1005
 
1007
1006
  Note that you can still create `::before` and `::after` elements as long as you manually
1008
1007
  place them outside the explicit grid.
@@ -1062,7 +1061,7 @@ If you wish to change the size of a `grid-gap`, you will need to redeclare the g
1062
1061
  Run `npx autoprefixer --info` in your project directory to check
1063
1062
  which browsers are selected and which properties will be prefixed:
1064
1063
 
1065
- ```
1064
+ ```console
1066
1065
  $ npx autoprefixer --info
1067
1066
  Browsers:
1068
1067
  Edge: 16