Commit a5ea8674 authored by Chris Rebert's avatar Chris Rebert
Browse files

Merge pull request #19109 from twbs/fix-18569

Integrate postcss-flexbugs-fixes into build
Refs #18569.
parents 10ce3660 de0740b5
16 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!26437merge,!26197V4 dev xmr,!20778V4 dev,!20539Allow multiple modals,!20493V4 dev display,!20636Fix docs for heading sizes,!22547Finished a new translation for bootstrap,!22143Fix selectable disabled toggle radio buttons,!22598test,!21067dfsa,!25326Adjust examples,!23995Add back cursor: pointer for .btn-link,!23178Spinner,!17021v4
Showing with 10 additions and 3 deletions
+10 -3
...@@ -212,6 +212,7 @@ module.exports = function (grunt) { ...@@ -212,6 +212,7 @@ module.exports = function (grunt) {
map: true, map: true,
processors: [ processors: [
mq4HoverShim.postprocessorFor({ hoverSelectorPrefix: '.bs-true-hover ' }), mq4HoverShim.postprocessorFor({ hoverSelectorPrefix: '.bs-true-hover ' }),
require('postcss-flexbugs-fixes')(),
autoprefixer autoprefixer
] ]
}, },
......
...@@ -21,7 +21,7 @@ Download just the compiled and minified CSS and JavaScript. Doesn't include any ...@@ -21,7 +21,7 @@ Download just the compiled and minified CSS and JavaScript. Doesn't include any
<div class="col-sm-6"> <div class="col-sm-6">
{% markdown %} {% markdown %}
### Source files ### Source files
Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).** Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a> <a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
{% endmarkdown %} {% endmarkdown %}
...@@ -30,7 +30,7 @@ Download everything: source Sass, JavaScript, and documentation files. **Require ...@@ -30,7 +30,7 @@ Download everything: source Sass, JavaScript, and documentation files. **Require
## Package managers ## Package managers
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions. Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes)** for a setup that matches our official compiled versions.
{% callout warning %} {% callout warning %}
**Heads up!** Not all package managers have the v4 alpha published yet, but we should have them up shortly! **Heads up!** Not all package managers have the v4 alpha published yet, but we should have them up shortly!
......
...@@ -19,7 +19,7 @@ Flexbox support is available for a number of Bootstrap's components: ...@@ -19,7 +19,7 @@ Flexbox support is available for a number of Bootstrap's components:
- Input groups, which move from `display: table;` to `display: flex;`. - Input groups, which move from `display: table;` to `display: flex;`.
- The media component moves from `display: table;` and a number of hacky styles to a simple `display: flex;`. - The media component moves from `display: table;` and a number of hacky styles to a simple `display: flex;`.
Vendor prefixes are provided in our compiled CSS with Autoprefixer via Grunt. Vendor prefixes are provided in our compiled CSS with [Autoprefixer](https://github.com/postcss/autoprefixer) via Grunt. Some bugs in IE10-11's Flexbox implementation are worked around via [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes).
## Why flexbox? ## Why flexbox?
......
...@@ -2641,6 +2641,11 @@ ...@@ -2641,6 +2641,11 @@
"from": "postcss@>=5.0.19 <6.0.0", "from": "postcss@>=5.0.19 <6.0.0",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-5.0.21.tgz" "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.0.21.tgz"
}, },
"postcss-flexbugs-fixes": {
"version": "2.0.0",
"from": "postcss-flexbugs-fixes@>=2.0.0 <3.0.0",
"resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-2.0.0.tgz"
},
"postcss-value-parser": { "postcss-value-parser": {
"version": "3.3.0", "version": "3.3.0",
"from": "postcss-value-parser@>=3.2.3 <4.0.0", "from": "postcss-value-parser@>=3.2.3 <4.0.0",
......
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
"is-travis": "^1.0.0", "is-travis": "^1.0.0",
"load-grunt-tasks": "^3.4.0", "load-grunt-tasks": "^3.4.0",
"mq4-hover-shim": "^0.3.0", "mq4-hover-shim": "^0.3.0",
"postcss-flexbugs-fixes": "^2.0.0",
"shelljs": "^0.6.0", "shelljs": "^0.6.0",
"time-grunt": "^1.2.1" "time-grunt": "^1.2.1"
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment