0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Commit Graph

402 Commits

Author SHA1 Message Date
Johann-S
ddf0dbbd29 Use localhost because Win Edge block loopback access 2017-06-14 11:18:12 +02:00
Bardi Harborow
b4ac48fdec Build system overhaul. 2017-04-20 14:31:22 +10:00
Bardi Harborow
cab6f7d16c More config tweaks. 2017-03-21 21:37:33 +11:00
Bardi Harborow
db23b1f32e Move Jekyll to npm script. 2017-02-25 17:44:26 +11:00
Bardi Harborow
c5a9ebf576 Move htmllint to npm script. 2017-01-23 20:53:17 +11:00
Bardi Harborow
450ef91b7d Move node-sass to npm script and drop Ruby Sass. 2017-01-04 12:28:06 +11:00
Nuno Arruda
c767a00d5d Update copyright years to 2017 2017-01-01 12:56:11 +11:00
Bardi Harborow
869dc64038 Change remaining JS files to comply with ESLint config. 2016-12-31 16:49:15 +11:00
Bardi Harborow
effb2fb4b4 Move uglifyjs to npm script. 2016-12-24 00:34:27 +11:00
Bardi Harborow
6993595341 Move clean-css to npm scripts. 2016-12-23 16:51:36 +11:00
Bardi Harborow
ba86c314a4 Move scss-lint to npm scripts. 2016-12-23 14:26:04 +11:00
Bardi Harborow
855a67b1d6 Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
Mark Otto
eb2e1102be Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)
* remove the $enable-flex variable option

* remove bootstrap-flex.css dist file and it's grunt task

* remove the separate flex css file for docs; it's all the same now

* remove flexbox docs (porting some to the main grid docs in next commit)

* clean up few grid docs bits to simplify copy, start to mention flexbox

* port relevant flexbox-grid.md content to grid.md

- clean up mixins
- update how it works section
- bring over sizing and alignment sections

* remove the $enable-flex from the options.md page

* update lead paragraph to mention flexbox

* update migration to mention loss of ie9 support

* remove mention of flexbox dist file

* clarify IE support

* making a note

* remove flexbox variant mentions from component docs

- updates docs for media object, navs, list group, and cards to consolidate docs
- no more need to callout flexbox variants since it's now the default

* remove $enable-flex if/else from sass files

* remove flex dist files

* update scss lint property order to account for flex properties

* linting

* change to numberless classes for autosizing, wrap in highlighting div

* bump gruntfile and postcss to ie10

* redo intro sections

* rearrange

* phew, redo hella grid docs

- rearrange all the things
- consolidate some bits

* remove reference to flexbox mode

* more border action for demo

* Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-12-21 20:26:17 -08:00
Bardi Harborow
5a19d48705 Travis build infrastructure refresh. (#21108) 2016-12-04 16:40:27 -08:00
Stephanie Purvis
2da3d1c862 Tweak jQuery-not-found error message to mention required ordering (#19024) 2016-11-26 18:46:28 -08:00
Bardi Harborow
d57d5a606b Update dependencies, including Babel to v6 and zeroUnits fix. 2016-10-09 12:15:17 +11:00
Bardi Harborow
2e69dfa8c1 Fix broken/redirected links, moving to HTTPS where possible. (#20557) 2016-10-03 09:55:59 -07:00
Mark Otto
54822bd549 Comment that out for now since it's causing errors 2016-10-02 19:28:52 -07:00
Mark Otto
06d95cbba7 Ports changes from #20258 to v4 (#20828) 2016-10-02 18:42:39 -07:00
Mark Otto
cad238120e Update gruntfile to compile the Sass extras (flex, grid, and reboot) as part of the dist-css task (#20682) 2016-09-11 22:29:45 -07:00
Mark Otto
8e9a9a5960 Enable flexbox grid CSS on our docs page
- Creates new flexbox grid Sass file in our docs assets
- Updates the Gruntfile to compile said new Sass file and minify the output
- Update notice on flexbox docs page for how it works
- Only enable compiled flexbox grid CSS in hosted docs site, not in dev (for easier and specific debugging of all flexbox features)
2016-07-26 21:09:39 -07:00
Chris Rebert
0cf5204a48 Add HTMLHint to the build; fixes #20297 (#20301)
[skip sauce]
2016-07-14 16:22:56 -07:00
XhmikosR
7f6fd5be76 Update devDependencies.
Only grunt-saucelabs is left in order to update grunt to v1.x.
2016-06-29 09:00:07 +03:00
Chris Rebert
ed3ba47425 Support jQuery v3 in Bootstrap v4 (#20191)
* bower.json, package.json: Extend jQuery version ranges to include v3
* NuGet: Bump jQuery to v3.0.0.1
* Docs+Examples: Update jQuery to v3.0.0
* Use jQuery v3.0.0 for JS unit tests
* Update jqueryVersionCheck to allow jQuery v3.x.x
2016-06-28 22:19:46 -07:00
Chris Rebert
e95e9fed09 Allow PRs to be previewed at http://preview.twbsapps.com (#20179) 2016-06-27 14:19:10 -07:00
Chris Rebert
ead5ed6d73 Fix docs asset file paths in /grunt/configBridge.json (#20178)
Previously, when running the docs locally, the site, rooted at:
    http://localhost:9001/
would reference docs assets using relative URLs such as:
    /../assets/js/vendor/anchor.min.js
which is equivalent to:
    http://localhost:9001/../assets/js/vendor/anchor.min.js
which is nonsense, since the root directory has no parent directory.
Apparently browsers silently ignore this extra '..', hence why this wasn't noticed until now.
But if you adjust Jekyll's `baseurl` setting, this mistake causes incorrect URLs to get generated.

This commit corrects the problem by removing the extra '../' from the paths.

These paths are also referenced in the Gruntfile, where the fix actually allows us to simplify the code.
Previously, in the Gruntfile, we were doing, e.g.:
    path.join('./docs/assets', '../assets/js/vendor/anchor.min.js')
which calculates to:
    ./docs/assets/../assets/js/vendor/anchor.min.js
which can be simplified to:
    ./docs/assets/js/vendor/anchor.min.js
So we can remove the '/assets' suffix from the left argument
and the '../' prefix from the right argument
and still obtain the same result.
2016-06-26 16:42:13 -07:00
Chris Rebert
a358fc9dc1 Replace grunt-postcss with postcss-cli (#20140)
Refs #19990
Continues the degruntification process.

Also removes mq4-hover-shim for now,
since it doesn't yet implement the standard PostCSS plugin interface.
2016-06-20 16:18:21 -07:00
Chris Rebert
ce2e944aa6 Strip out UMD & CJS in favor of ES6 modules (#20072) 2016-06-10 09:28:03 -07:00
Chris Rebert
36f2261b6f Remove unused exec:npmUpdate Grunt task (#20074)
[skip sauce]
[skip validator]
2016-06-04 21:55:28 -07:00
Chris Rebert
0c4abb69e3 Kill the grunt-jscs middleman; use JSCS directly instead (#20069)
Refs #19990

[skip sauce]
[skip validator]
2016-06-04 17:46:36 -07:00
Chris Rebert
ef948ece79 Integrate postcss-flexbugs-fixes into build; fixes #18569 2016-06-04 13:00:37 -07:00
Chris Rebert
f77d8c91a9 Killed the grunt-eslint middleman; Long live ESLint.
Refs #19908

[skip sauce]
[skip validator]
2016-05-30 22:16:32 -07:00
Chris Rebert
a90b36918f Add "The Bootstrap Authors" to copyright notices (#19936)
❤️❤️❤️ https://github.com/twbs/bootstrap/graphs/contributors
2016-05-20 09:04:31 -07:00
XhmikosR
ed0c12fd71 Nuke grunt-line-remover.
Use concat's process function instead.
2016-04-02 10:03:04 +03:00
Chris Rebert
768dac2e87 Use vanilla npm shrinkwrap instead of uber/npm-shrinkwrap; fixes #18559 2016-03-23 23:20:38 -07:00
XhmikosR
ae4d774fa5 Remove the now unused glob. 2016-03-15 21:09:10 +02:00
XhmikosR
c6c2958385 Update grunt-html to v6.0.0.
Also remove the workaround for the old validator version.

[skip sauce]
2016-02-19 11:26:54 +02:00
vsn4ik
f29f0ffd22 Remove unused .csscomb.json 2016-02-10 00:34:47 +03:00
Mark Otto
f25f9bceb1 Remove csscomb (soon replace it with something else) because scsslint has most of it covered already 2016-02-06 18:08:54 -08:00
Chris Rebert
71443c5034 HTML validation: Ignore spurious errors about script[integrity]
Workaround for https://github.com/jzaefferer/grunt-html/issues/86
2016-01-10 23:55:10 -08:00
Chris Rebert
3d5b340217 Add comprehensive .form-control example(/testcase) to docs
Put all the textual input types right next to each other for easy visual comparison.
Refs #17308, #18763

[skip sauce]
2016-01-06 15:57:19 -08:00
Chris Rebert
c06cb8e320 Ignore HTML validator warning about <input type="datetime-local">
Erratum from #18778
[skip sauce]
2016-01-06 14:47:07 -08:00
Chris Rebert
02c47cb0e9 Grunt: Extract lint-docs-css task
[skip sauce]
2016-01-04 00:22:04 -08:00
Mark Otto
a95f55fc38 dont scsslint the main file because of the built-in copyright banner 2016-01-03 18:12:26 -08:00
Mark Otto
4198d61bb5 enable scsslinting for docs scss 2016-01-03 18:09:09 -08:00
Chris Rebert
e9192f6de0 Update copyright years to 2016
[ci skip]
2016-01-01 12:31:38 -08:00
Chris Rebert
b0ab6bbf05 Un-nest Autoprefixer settings in module object
[skip sauce]
[skip validator]
2015-12-24 21:32:54 -07:00
Bass Jobsen
4445c4f0f3 Move Autoprefixer settings out of Gruntfile.js and into a separate file
Refs #18584
Closes #18659

[skip sauce]
[skip validator]
2015-12-24 19:49:26 -07:00
Chris Rebert
771cb5a0a1 v4's Gruntfile doesn't currently use htmlmin
[ci skip]
2015-12-08 18:26:43 -08:00
Mark Otto
bd5d25da44 fixes #18281 2015-12-07 21:51:04 -08:00