postcss/autoprefixer
### [`v9.2.0`](https://renovatebot.com/gh/postcss/autoprefixer/releases/9.2.0)
[Compare Source](https://renovatebot.com/gh/postcss/autoprefixer/compare/9.1.5...9.2.0)
Autoprefixer 9.2 brings many new improvements for `-ms-` prefixes for Grid Layout.
#### New Ways to Enable/Disable Grid Layout
In previous versions, you had needed to pass `grid: true` to enable prefixes for Grid Layout. But not all users have access to Autoprefixer options. CodePen, Create Reat App or Angular CLI doesn’t allow you to do it.
In Autoprefixer 9.2 [@fanich37](https://renovatebot.com/gh/fanich37) added special control comments:
```css
/* autoprefixer grid: on */
.grid {
display: grid;
grid-gap: 33px;
grid-template:
"head head head" 1fr
"nav main main" minmax(100px, 1fr)
"nav foot foot" 2fr /
1fr 100px 1fr;
}
.non-ie .grid {
/* autoprefixer grid: off */
…
}
```
Autoprefixer doesn’t support automatically grids. In 9.2 it will ignore whole `@supports` content if it contains automatically Grid properties:
```css
@supports (grid-auto-rows: 100px) {
/* Autoprefixer will not show Grid warnings and will not add prefixes here */
}
```
#### Smarter `grid-area`
Autoprefixer supports `grid-template` even if it was not in IE Grid spec.
But in 9.2 [@bogdan0083](https://renovatebot.com/gh/bogdan0083) really improve it according to [@Dan503](https://renovatebot.com/gh/Dan503) idea. Now Autoprefixer supports even overriding `grid-template`.
```css
/* autoprefixer grid: on */
.grid {
display: grid;
grid-template:
"nav main" minmax(100px, 1fr)
"nav foot" 2fr /
100px 1fr;
}
.grid.no-menu {
grid-template:
"main" minmax(100px, 1fr)
"foot" 2fr
}
```
#### Other Changes
- Improve Grid warnings (by [@Dan503](https://renovatebot.com/gh/Dan503) and [@bogdan0083](https://renovatebot.com/gh/bogdan0083))
- Improve docs (by [@JoshuaHall](https://renovatebot.com/gh/JoshuaHall), [@Drarok](https://renovatebot.com/gh/Drarok), [@revelt](https://renovatebot.com/gh/revelt), and [@janczer](https://renovatebot.com/gh/janczer)).
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
9.1.5
->9.2.0
Release Notes
postcss/autoprefixer
### [`v9.2.0`](https://renovatebot.com/gh/postcss/autoprefixer/releases/9.2.0) [Compare Source](https://renovatebot.com/gh/postcss/autoprefixer/compare/9.1.5...9.2.0) Autoprefixer 9.2 brings many new improvements for `-ms-` prefixes for Grid Layout. #### New Ways to Enable/Disable Grid Layout In previous versions, you had needed to pass `grid: true` to enable prefixes for Grid Layout. But not all users have access to Autoprefixer options. CodePen, Create Reat App or Angular CLI doesn’t allow you to do it. In Autoprefixer 9.2 [@fanich37](https://renovatebot.com/gh/fanich37) added special control comments: ```css /* autoprefixer grid: on */ .grid { display: grid; grid-gap: 33px; grid-template: "head head head" 1fr "nav main main" minmax(100px, 1fr) "nav foot foot" 2fr / 1fr 100px 1fr; } .non-ie .grid { /* autoprefixer grid: off */ … } ``` Autoprefixer doesn’t support automatically grids. In 9.2 it will ignore whole `@supports` content if it contains automatically Grid properties: ```css @supports (grid-auto-rows: 100px) { /* Autoprefixer will not show Grid warnings and will not add prefixes here */ } ``` #### Smarter `grid-area` Autoprefixer supports `grid-template` even if it was not in IE Grid spec. But in 9.2 [@bogdan0083](https://renovatebot.com/gh/bogdan0083) really improve it according to [@Dan503](https://renovatebot.com/gh/Dan503) idea. Now Autoprefixer supports even overriding `grid-template`. ```css /* autoprefixer grid: on */ .grid { display: grid; grid-template: "nav main" minmax(100px, 1fr) "nav foot" 2fr / 100px 1fr; } .grid.no-menu { grid-template: "main" minmax(100px, 1fr) "foot" 2fr } ``` #### Other Changes - Improve Grid warnings (by [@Dan503](https://renovatebot.com/gh/Dan503) and [@bogdan0083](https://renovatebot.com/gh/bogdan0083)) - Improve docs (by [@JoshuaHall](https://renovatebot.com/gh/JoshuaHall), [@Drarok](https://renovatebot.com/gh/Drarok), [@revelt](https://renovatebot.com/gh/revelt), and [@janczer](https://renovatebot.com/gh/janczer)).Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.