Unverified Commit b083c963 authored by XhmikosR's avatar XhmikosR Committed by GitHub
Browse files

Prepare v5.0.0-alpha2. (#31748)

parent d862a9f2
1 merge request!31948Examples/Floating-labels: fix bad behavior with autofill
Showing with 312 additions and 148 deletions
+312 -148
......@@ -46,11 +46,11 @@ Our default branch is for development of our upcoming Bootstrap 5 release. Head
Several quick start options are available:
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v5.0.0-alpha1.zip)
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v5.0.0-alpha2.zip)
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
- Install with [npm](https://www.npmjs.com/): `npm install bootstrap@next`
- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@next`
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.0.0-alpha1`
- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:5.0.0-alpha2`
- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap` Sass: `Install-Package bootstrap.sass`
Read the [Getting started page](https://v5.getbootstrap.com/docs/5.0/getting-started/introduction/) for information on the framework contents, templates and examples, and more.
......
......@@ -47,8 +47,8 @@ params:
social_image_path: /docs/5.0/assets/brand/bootstrap-social.png
social_logo_path: /docs/5.0/assets/brand/bootstrap-social-logo.png
current_version: "5.0.0-alpha1"
current_ruby_version: "5.0.0.alpha1"
current_version: "5.0.0-alpha2"
current_ruby_version: "5.0.0.alpha2"
docs_version: "5.0"
rfs_version: "9.0.3"
github_org: "https://github.com/twbs"
......@@ -62,17 +62,17 @@ params:
icons: "https://icons.getbootstrap.com/"
download:
source: "https://github.com/twbs/bootstrap/archive/v5.0.0-alpha1.zip"
dist: "https://github.com/twbs/bootstrap/releases/download/v5.0.0-alpha1/bootstrap-5.0.0-alpha1-dist.zip"
dist_examples: "https://github.com/twbs/bootstrap/releases/download/v5.0.0-alpha1/bootstrap-5.0.0-alpha1-examples.zip"
source: "https://github.com/twbs/bootstrap/archive/v5.0.0-alpha2.zip"
dist: "https://github.com/twbs/bootstrap/releases/download/v5.0.0-alpha2/bootstrap-5.0.0-alpha2-dist.zip"
dist_examples: "https://github.com/twbs/bootstrap/releases/download/v5.0.0-alpha2/bootstrap-5.0.0-alpha2-examples.zip"
cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css"
css_hash: "sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I"
js: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js"
js_hash: "sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/"
js_bundle: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.bundle.min.js"
js_bundle_hash: "sha384-DBjhmceckmzwrnMMrjI7BvG2FmRuxQVaTfFYHgfnrdfqMhxKt445b7j3KBQLolRl"
css: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/css/bootstrap.min.css"
css_hash: "sha384-DhY6onE6f3zzKbjUPRc2hOzGAdEf4/Dz+WJwBvEYL/lkkIsI3ihufq9hk9K4lVoK"
js: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/js/bootstrap.min.js"
js_hash: "sha384-5h4UG+6GOuV9qXh6HqOLwZMY4mnLPraeTrjT5v07o347pj6IkfuoASuGBhfDsp3d"
js_bundle: "https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/js/bootstrap.bundle.min.js"
js_bundle_hash: "sha384-BOsAfwzjNJHrJ8cZidOg56tcQWfp6y72vEJ8xQ9w6Quywb24iOsW913URv1IS4GD"
popper: "https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
popper_hash: "sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
/*!
* Bootstrap Grid v5.0.0-alpha1 (https://getbootstrap.com/)
* Bootstrap Grid v5.0.0-alpha2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
......@@ -11,9 +11,10 @@
.container-lg,
.container-xl,
.container-xxl {
--bs-gutter-x: 1.5rem;
width: 100%;
padding-right: 1rem;
padding-left: 1rem;
padding-right: calc(var(--bs-gutter-x) / 2);
padding-left: calc(var(--bs-gutter-x) / 2);
margin-right: auto;
margin-left: auto;
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
/*!
* Bootstrap Reboot v5.0.0-alpha1 (https://getbootstrap.com/)
* Bootstrap Reboot v5.0.0-alpha2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
/*!
* Bootstrap Reboot v5.0.0-alpha1 (https://getbootstrap.com/)
* Bootstrap Reboot v5.0.0-alpha2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
/*!
* Bootstrap Utilities v5.0.0-alpha1 (https://getbootstrap.com/)
* Bootstrap Utilities v5.0.0-alpha2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors
* Copyright 2011-2020 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
......@@ -121,6 +121,58 @@
position: sticky !important;
}
.top-0 {
top: 0 !important;
}
.top-50 {
top: 50% !important;
}
.top-100 {
top: 100% !important;
}
.bottom-0 {
bottom: 0 !important;
}
.bottom-50 {
bottom: 50% !important;
}
.bottom-100 {
bottom: 100% !important;
}
.left-0 {
left: 0 !important;
}
.left-50 {
left: 50% !important;
}
.left-100 {
left: 100% !important;
}
.right-0 {
right: 0 !important;
}
.right-50 {
right: 50% !important;
}
.right-100 {
right: 100% !important;
}
.translate-middle {
transform: translateX(-50%) translateY(-50%) !important;
}
.border {
border: 1px solid #dee2e6 !important;
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
/*!
* Bootstrap v5.0.0-alpha1 (https://getbootstrap.com/)
* Bootstrap v5.0.0-alpha2 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
......@@ -51,7 +51,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): util/index.js
* Bootstrap (v5.0.0-alpha2): util/index.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -226,7 +226,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): dom/data.js
* Bootstrap (v5.0.0-alpha2): dom/data.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -365,7 +365,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): dom/event-handler.js
* Bootstrap (v5.0.0-alpha2): dom/event-handler.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -653,7 +653,7 @@
*/
var NAME = 'alert';
var VERSION = '5.0.0-alpha1';
var VERSION = '5.0.0-alpha2';
var DATA_KEY = 'bs.alert';
var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
......@@ -809,7 +809,7 @@
*/
var NAME$1 = 'button';
var VERSION$1 = '5.0.0-alpha1';
var VERSION$1 = '5.0.0-alpha2';
var DATA_KEY$1 = 'bs.button';
var EVENT_KEY$1 = "." + DATA_KEY$1;
var DATA_API_KEY$1 = '.data-api';
......@@ -911,7 +911,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): dom/manipulator.js
* Bootstrap (v5.0.0-alpha2): dom/manipulator.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -991,7 +991,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): dom/selector-engine.js
* Bootstrap (v5.0.0-alpha2): dom/selector-engine.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -1080,7 +1080,7 @@
*/
var NAME$2 = 'carousel';
var VERSION$2 = '5.0.0-alpha1';
var VERSION$2 = '5.0.0-alpha2';
var DATA_KEY$2 = 'bs.carousel';
var EVENT_KEY$2 = "." + DATA_KEY$2;
var DATA_API_KEY$2 = '.data-api';
......@@ -1677,7 +1677,7 @@
*/
var NAME$3 = 'collapse';
var VERSION$3 = '5.0.0-alpha1';
var VERSION$3 = '5.0.0-alpha2';
var DATA_KEY$3 = 'bs.collapse';
var EVENT_KEY$3 = "." + DATA_KEY$3;
var DATA_API_KEY$3 = '.data-api';
......@@ -4691,7 +4691,7 @@
*/
var NAME$4 = 'dropdown';
var VERSION$4 = '5.0.0-alpha1';
var VERSION$4 = '5.0.0-alpha2';
var DATA_KEY$4 = 'bs.dropdown';
var EVENT_KEY$4 = "." + DATA_KEY$4;
var DATA_API_KEY$4 = '.data-api';
......@@ -5197,7 +5197,7 @@
*/
var NAME$5 = 'modal';
var VERSION$5 = '5.0.0-alpha1';
var VERSION$5 = '5.0.0-alpha2';
var DATA_KEY$5 = 'bs.modal';
var EVENT_KEY$5 = "." + DATA_KEY$5;
var DATA_API_KEY$5 = '.data-api';
......@@ -5821,7 +5821,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): util/sanitizer.js
* Bootstrap (v5.0.0-alpha2): util/sanitizer.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......@@ -5953,7 +5953,7 @@
*/
var NAME$6 = 'tooltip';
var VERSION$6 = '5.0.0-alpha1';
var VERSION$6 = '5.0.0-alpha2';
var DATA_KEY$6 = 'bs.tooltip';
var EVENT_KEY$6 = "." + DATA_KEY$6;
var CLASS_PREFIX = 'bs-tooltip';
......@@ -6207,6 +6207,10 @@
_proto.hide = function hide() {
var _this2 = this;
if (!this._popper) {
return;
}
var tip = this.getTipElement();
var complete = function complete() {
......@@ -6702,7 +6706,7 @@
*/
var NAME$7 = 'popover';
var VERSION$7 = '5.0.0-alpha1';
var VERSION$7 = '5.0.0-alpha2';
var DATA_KEY$7 = 'bs.popover';
var EVENT_KEY$7 = "." + DATA_KEY$7;
var CLASS_PREFIX$1 = 'bs-popover';
......@@ -6890,7 +6894,7 @@
*/
var NAME$8 = 'scrollspy';
var VERSION$8 = '5.0.0-alpha1';
var VERSION$8 = '5.0.0-alpha2';
var DATA_KEY$8 = 'bs.scrollspy';
var EVENT_KEY$8 = "." + DATA_KEY$8;
var DATA_API_KEY$6 = '.data-api';
......@@ -7189,7 +7193,7 @@
*/
var NAME$9 = 'tab';
var VERSION$9 = '5.0.0-alpha1';
var VERSION$9 = '5.0.0-alpha2';
var DATA_KEY$9 = 'bs.tab';
var EVENT_KEY$9 = "." + DATA_KEY$9;
var DATA_API_KEY$7 = '.data-api';
......@@ -7416,7 +7420,7 @@
*/
var NAME$a = 'toast';
var VERSION$a = '5.0.0-alpha1';
var VERSION$a = '5.0.0-alpha2';
var DATA_KEY$a = 'bs.toast';
var EVENT_KEY$a = "." + DATA_KEY$a;
var EVENT_CLICK_DISMISS$1 = "click.dismiss" + EVENT_KEY$a;
......@@ -7635,7 +7639,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.0.0-alpha1): index.umd.js
* Bootstrap (v5.0.0-alpha2): index.umd.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
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