Skip to content

Commit 13cce1d

Browse files
committed
Merge branch 'v4-dev' into modal_input_autofocus_keyboard_focus
* v4-dev: (56 commits) Remove unnecessary brackets for consistency (twbs#27966) Fix Typo on docs (twbs#27962) Add a few more redirects. Remove wrapping paragraph in readme (twbs#27948) Configurable display utility classes (twbs#27917) Fix custom select font sizes (twbs#27929) Match input font size for `.input-group-text` (twbs#27941) reboot: Fix comment (twbs#27937) Fix form-feedback-icon-invalid color (twbs#27935) toasts: mention that positioning is manual. (twbs#27931) stretched-link.md: fix typo (twbs#27918) Add Open Collective to header (twbs#27916) Add horizontal card example (twbs#27906) getSelectorFromElement return null on bad selectors (twbs#27912) versions: sort from newer to older. (twbs#27898) Fix 4:3 embed (twbs#27910) Simplify card group css (twbs#27901) Blacklist border-radius property (use mixin instead) (twbs#27900) move to 4.2 bootstrap-stack.svg: remove unneeded space. ...
2 parents d21014d + c71b291 commit 13cce1d

File tree

320 files changed

+801
-577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+801
-577
lines changed

.stylelintrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,14 @@
261261
"fill",
262262
"stroke"
263263
],
264-
"property-blacklist": ["transition"],
264+
"property-blacklist": [
265+
"border-radius",
266+
"border-top-left-radius",
267+
"border-top-right-radius",
268+
"border-bottom-right-radius",
269+
"border-bottom-left-radius",
270+
"transition"
271+
],
265272
"property-no-vendor-prefix": true,
266273
"rule-empty-line-before": null,
267274
"scss/at-function-named-arguments": "never",

Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ GEM
44
addressable (2.5.2)
55
public_suffix (>= 2.0.2, < 4.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.3)
7+
concurrent-ruby (1.1.4)
88
em-websocket (0.5.1)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
@@ -46,17 +46,17 @@ GEM
4646
rb-inotify (~> 0.9, >= 0.9.7)
4747
ruby_dep (~> 1.2)
4848
mercenary (0.3.6)
49-
mini_portile2 (2.3.0)
50-
nokogiri (1.8.5)
51-
mini_portile2 (~> 2.3.0)
52-
nokogiri (1.8.5-x64-mingw32)
53-
mini_portile2 (~> 2.3.0)
49+
mini_portile2 (2.4.0)
50+
nokogiri (1.9.0)
51+
mini_portile2 (~> 2.4.0)
52+
nokogiri (1.9.0-x64-mingw32)
53+
mini_portile2 (~> 2.4.0)
5454
pathutil (0.16.2)
5555
forwardable-extended (~> 2.6)
5656
public_suffix (3.0.3)
5757
rb-fsevent (0.10.3)
58-
rb-inotify (0.9.10)
59-
ffi (>= 0.5.0, < 2)
58+
rb-inotify (0.10.0)
59+
ffi (~> 1.0)
6060
rouge (3.3.0)
6161
ruby_dep (1.5.0)
6262
safe_yaml (1.0.4)
@@ -79,4 +79,4 @@ DEPENDENCIES
7979
wdm (~> 0.1.1)
8080

8181
BUNDLED WITH
82-
1.17.1
82+
1.17.2

README.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
<p align="center">
22
<a href="https://getbootstrap.com/">
3-
<img src="https://getbootstrap.com/docs/4.1/assets/brand/bootstrap-solid.svg" alt="Bootstrap logo" width=72 height=72>
3+
<img src="https://getbootstrap.com/docs/4.2/assets/brand/bootstrap-solid.svg" alt="Bootstrap logo" width="72" height="72">
44
</a>
5+
</p>
6+
7+
<h3 align="center">Bootstrap</h3>
58

6-
<h3 align="center">Bootstrap</h3>
7-
8-
<p align="center">
9-
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
10-
<br>
11-
<a href="https://getbootstrap.com/docs/4.1/"><strong>Explore Bootstrap docs »</strong></a>
12-
<br>
13-
<br>
14-
<a href="https://github.com/twbs/bootstrap/issues/new?template=bug.md">Report bug</a>
15-
·
16-
<a href="https://github.com/twbs/bootstrap/issues/new?template=feature.md&labels=feature">Request feature</a>
17-
·
18-
<a href="https://themes.getbootstrap.com/">Themes</a>
19-
·
20-
<a href="https://blog.getbootstrap.com/">Blog</a>
21-
</p>
9+
<p align="center">
10+
Sleek, intuitive, and powerful front-end framework for faster and easier web development.
11+
<br>
12+
<a href="https://getbootstrap.com/docs/4.2/"><strong>Explore Bootstrap docs »</strong></a>
13+
<br>
14+
<br>
15+
<a href="https://github.com/twbs/bootstrap/issues/new?template=bug.md">Report bug</a>
16+
·
17+
<a href="https://github.com/twbs/bootstrap/issues/new?template=feature.md&labels=feature">Request feature</a>
18+
·
19+
<a href="https://themes.getbootstrap.com/">Themes</a>
20+
·
21+
<a href="https://blog.getbootstrap.com/">Blog</a>
2222
</p>
2323

2424

@@ -41,14 +41,14 @@
4141

4242
Several quick start options are available:
4343

44-
- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.1.3.zip)
44+
- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.2.1.zip)
4545
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
4646
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap`
47-
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.1.3`
48-
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.1.3`
47+
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.2.1`
48+
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.2.1`
4949
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass`
5050

51-
Read the [Getting started page](https://getbootstrap.com/docs/4.1/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
51+
Read the [Getting started page](https://getbootstrap.com/docs/4.2/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
5252

5353

5454
## Status
@@ -113,11 +113,11 @@ Have a bug or a feature request? Please first read the [issue guidelines](https:
113113

114114
Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](https://jekyllrb.com/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
115115

116-
Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/docs/4.1/assets/js/src/search.js` file.
116+
Documentation search is powered by [Algolia's DocSearch](https://community.algolia.com/docsearch/). Working on our search? Be sure to set `debug: true` in `site/docs/4.2/assets/js/src/search.js` file.
117117

118118
### Running documentation locally
119119

120-
1. Run through the [tooling setup](https://getbootstrap.com/docs/4.1/getting-started/build-tools/#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`.
120+
1. Run through the [tooling setup](https://getbootstrap.com/docs/4.2/getting-started/build-tools/#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`.
121121
2. Run `npm install` to install Node.js dependencies.
122122
3. Run `npm start` to compile CSS and JavaScript files, generate our docs, and watch for changes.
123123
4. Open `http://localhost:9001` in your browser, and voilà.
@@ -128,7 +128,9 @@ Learn more about using Jekyll by reading its [documentation](https://jekyllrb.co
128128

129129
- For v2.3.2: <https://getbootstrap.com/2.3.2/>
130130
- For v3.3.x: <https://getbootstrap.com/docs/3.3/>
131+
- For v3.4.0: <https://getbootstrap.com/docs/3.4/>
131132
- For v4.0.x: <https://getbootstrap.com/docs/4.0/>
133+
- For v4.1.x: <https://getbootstrap.com/docs/4.1/>
132134

133135
[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
134136

_config.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ baseurl: ""
1717
url: "https://getbootstrap.com"
1818
encoding: UTF-8
1919
exclude:
20-
- docs/4.1/assets/scss/
20+
- docs/4.2/assets/scss/
2121

2222
plugins:
2323
- jekyll-redirect-from
@@ -29,31 +29,32 @@ title: Bootstrap
2929
description: "The most popular HTML, CSS, and JS library in the world."
3030
twitter: getbootstrap
3131
authors: "Mark Otto, Jacob Thornton, and Bootstrap contributors"
32-
social_image_path: /docs/4.1/assets/brand/bootstrap-social.png
33-
social_logo_path: /docs/4.1/assets/brand/bootstrap-social-logo.png
32+
social_image_path: /docs/4.2/assets/brand/bootstrap-social.png
33+
social_logo_path: /docs/4.2/assets/brand/bootstrap-social-logo.png
3434

3535
# Custom variables
36-
current_version: 4.1.3
37-
current_ruby_version: 4.1.3
38-
docs_version: 4.1
36+
current_version: 4.2.1
37+
current_ruby_version: 4.2.1
38+
docs_version: 4.2
3939
repo: "https://github.com/twbs/bootstrap"
4040
slack: "https://bootstrap-slack.herokuapp.com"
41+
opencollective: "https://opencollective.com/bootstrap"
4142
blog: "https://blog.getbootstrap.com"
4243
expo: "https://expo.getbootstrap.com"
4344
themes: "https://themes.getbootstrap.com"
4445

4546
download:
46-
source: "https://github.com/twbs/bootstrap/archive/v4.1.3.zip"
47-
dist: "https://github.com/twbs/bootstrap/releases/download/v4.1.3/bootstrap-4.1.3-dist.zip"
47+
source: "https://github.com/twbs/bootstrap/archive/v4.2.1.zip"
48+
dist: "https://github.com/twbs/bootstrap/releases/download/v4.2.1/bootstrap-4.2.1-dist.zip"
4849

4950
cdn:
5051
# See https://www.srihash.org for info on how to generate the hashes
51-
css: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
52-
css_hash: "sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
53-
js: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
54-
js_hash: "sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
55-
js_bundle: "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js"
56-
js_bundle_hash: "sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
52+
css: "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
53+
css_hash: "sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"
54+
js: "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
55+
js_hash: "sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
56+
js_bundle: "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.bundle.min.js"
57+
js_bundle_hash: "sha384-zDnhMsjVZfS3hiP7oCBRmfjkQC4fzxVxFhBx8Hkz2aZX8gEvA/jsP3eXRCvzTofP"
5758
jquery: "https://code.jquery.com/jquery-3.3.1.slim.min.js"
5859
jquery_hash: "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
5960
popper: "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"

dist/css/bootstrap-grid.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-grid.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-grid.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-grid.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-reboot.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-reboot.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-reboot.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/bootstrap-reboot.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)