]> git.ipfire.org Git - thirdparty/bootstrap.git/log
thirdparty/bootstrap.git
4 years agoAdd color-scheme mixin
Mark Otto [Tue, 12 Jan 2021 05:02:26 +0000 (21:02 -0800)] 
Add color-scheme mixin

4 years agodocs: update clipboard.js to v2.0.8 (#33583)
XhmikosR [Fri, 9 Apr 2021 04:53:01 +0000 (07:53 +0300)] 
docs: update clipboard.js to v2.0.8 (#33583)

4 years agofooter: fix `rel=noopener` attribute (#33571)
XhmikosR [Fri, 9 Apr 2021 04:43:04 +0000 (07:43 +0300)] 
footer: fix `rel=noopener` attribute (#33571)

There's no need to use `rel=noopener` without `target=_blank`, but otherwise, it should be used since it's a potential security issue.

4 years agoRemove unnecessary `data-bs-backdrop="static"` (#33578)
Rohit Sharma [Thu, 8 Apr 2021 05:20:21 +0000 (10:50 +0530)] 
Remove unnecessary `data-bs-backdrop="static"` (#33578)

Since the value for the `backdrop` option is available in the configuration object.

4 years agoFix wrong carousel transformation, direction to order (#33499)
GeoSot [Wed, 7 Apr 2021 05:29:31 +0000 (08:29 +0300)] 
Fix wrong carousel transformation, direction to order (#33499)

4 years agoImprove responsiveness of Features examples
Mark Otto [Wed, 7 Apr 2021 04:25:37 +0000 (21:25 -0700)] 
Improve responsiveness of Features examples

4 years agoFixed wrong method name _getInstance
Danny Trunk [Tue, 6 Apr 2021 18:48:45 +0000 (20:48 +0200)] 
Fixed wrong method name _getInstance

There is no _getInstance method, but there is a getInstance method

4 years agoRevert "Update look and feel of examples and copy buttons"
Mark Otto [Wed, 7 Apr 2021 03:59:31 +0000 (20:59 -0700)] 
Revert "Update look and feel of examples and copy buttons"

This reverts commit cdf56e0eefd797d4b0f26021d24958fc315a5f2c.

4 years agoRemove noopener from target _blank links
Mark Otto [Wed, 7 Apr 2021 02:37:58 +0000 (19:37 -0700)] 
Remove noopener from target _blank links

4 years agoAdd equal column mixin (#32155)
CFX [Tue, 6 Apr 2021 18:45:28 +0000 (14:45 -0400)] 
Add equal column mixin (#32155)

4 years agoOmit getting data-attributes from toggle element
GeoSot [Fri, 5 Mar 2021 20:06:18 +0000 (22:06 +0200)] 
Omit getting data-attributes from toggle element

4 years agoSimplify Modal config
GeoSot [Wed, 3 Mar 2021 00:17:48 +0000 (02:17 +0200)] 
Simplify Modal config

4 years agoSimplify ScrollSpy config (#33250)
GeoSot [Tue, 6 Apr 2021 15:28:10 +0000 (18:28 +0300)] 
Simplify ScrollSpy config (#33250)

4 years agoBump @popperjs/core from 2.9.1 to 2.9.2 (#33558)
dependabot[bot] [Tue, 6 Apr 2021 14:56:00 +0000 (17:56 +0300)] 
Bump @popperjs/core from 2.9.1 to 2.9.2 (#33558)

* Bump @popperjs/core from 2.9.1 to 2.9.2

Bumps [@popperjs/core](https://github.com/popperjs/popper-core) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/popperjs/popper-core/releases)
- [Commits](https://github.com/popperjs/popper-core/compare/v2.9.1...v2.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
* Update SRI

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump postcss from 8.2.8 to 8.2.9 (#33557)
dependabot[bot] [Tue, 6 Apr 2021 11:03:06 +0000 (14:03 +0300)] 
Bump postcss from 8.2.8 to 8.2.9 (#33557)

Bumps [postcss](https://github.com/postcss/postcss) from 8.2.8 to 8.2.9.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoUpdate look and feel of examples and copy buttons
Mark Otto [Fri, 19 Mar 2021 05:16:11 +0000 (22:16 -0700)] 
Update look and feel of examples and copy buttons

4 years agoSpinner alignment changes
Mark Otto [Sun, 4 Apr 2021 18:44:30 +0000 (11:44 -0700)] 
Spinner alignment changes

4 years agoAdd offcanvas-top modifier (#33549)
Mark Otto [Sun, 4 Apr 2021 18:11:33 +0000 (11:11 -0700)] 
Add offcanvas-top modifier (#33549)

4 years agoVertically align offcanvas header components
Mark Otto [Sun, 4 Apr 2021 17:51:45 +0000 (10:51 -0700)] 
Vertically align offcanvas header components

Fixes #33460

4 years agoUpdate parcel.md
Yuriy Gorbunov [Sat, 3 Apr 2021 17:08:07 +0000 (01:08 +0800)] 
Update parcel.md

4 years agoFix validation feedback icon in select multiple
Geremia Taglialatela [Fri, 19 Mar 2021 20:52:58 +0000 (21:52 +0100)] 
Fix validation feedback icon in select multiple

Validation feedback for `<select multiple>` should look like
`<textarea>`.

The previous implementation was placing the validation icon in the
middle of the select field together with the single select arrow, that
is not supposed to be part of this kind of inputs

4 years agoAdd missing things in `hide` method of dropdown (#33451)
Rohit Sharma [Thu, 1 Apr 2021 18:51:55 +0000 (00:21 +0530)] 
Add missing things in `hide` method of dropdown (#33451)

* Update `aria-expanded` attribute in `hide` method

* Remove empty mouseover listeners added for iOS

4 years agoFix dropdown escape propagation (#33479)
alpadev [Thu, 1 Apr 2021 18:44:04 +0000 (20:44 +0200)] 
Fix dropdown escape propagation (#33479)

4 years agoAdd new docs footer (#33453)
Mark Otto [Wed, 31 Mar 2021 06:08:04 +0000 (23:08 -0700)] 
Add new docs footer (#33453)

* Replace site footer with mega footer to link to various projects and community resources

* Fix broken HTML

4 years agoMake .nav-link color consistent when using buttons (#33478)
Kyle Tsang [Wed, 31 Mar 2021 06:07:00 +0000 (23:07 -0700)] 
Make .nav-link color consistent when using buttons (#33478)

* Make .nav-link color consistent when using buttons

* Set $nav-link-hover-color to $link-hover-color as default

4 years agoClarify docs accordion example (#33522)
Mark Otto [Wed, 31 Mar 2021 06:01:01 +0000 (23:01 -0700)] 
Clarify docs accordion example (#33522)

4 years agoThe spacing margin side identifiers 's' and 'e' may be intuitive for many but explici...
John [Tue, 30 Mar 2021 22:56:30 +0000 (15:56 -0700)] 
The spacing margin side identifiers 's' and 'e' may be intuitive for many but explicitly helping users associate the abbreviations to 'start' and 'end' should help people migrate from version 4 with less friction

4 years agoRegenerate package-lock.json (#33518)
XhmikosR [Tue, 30 Mar 2021 13:50:01 +0000 (16:50 +0300)] 
Regenerate package-lock.json (#33518)

4 years agoBump eslint from 7.22.0 to 7.23.0 (#33517)
dependabot[bot] [Tue, 30 Mar 2021 13:30:44 +0000 (16:30 +0300)] 
Bump eslint from 7.22.0 to 7.23.0 (#33517)

Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rollup from 2.42.3 to 2.44.0 (#33514)
dependabot[bot] [Tue, 30 Mar 2021 13:30:11 +0000 (16:30 +0300)] 
Bump rollup from 2.42.3 to 2.44.0 (#33514)

Bumps [rollup](https://github.com/rollup/rollup) from 2.42.3 to 2.44.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.42.3...v2.44.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump karma from 6.2.0 to 6.3.2 (#33516)
dependabot[bot] [Tue, 30 Mar 2021 13:29:52 +0000 (16:29 +0300)] 
Bump karma from 6.2.0 to 6.3.2 (#33516)

Bumps [karma](https://github.com/karma-runner/karma) from 6.2.0 to 6.3.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.2.0...v6.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1 (#33515)
dependabot[bot] [Tue, 30 Mar 2021 13:29:06 +0000 (16:29 +0300)] 
Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1 (#33515)

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.2.0...node-resolve-v11.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @rollup/plugin-commonjs from 17.1.0 to 18.0.0 (#33513)
dependabot[bot] [Tue, 30 Mar 2021 13:09:56 +0000 (16:09 +0300)] 
Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0 (#33513)

Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 17.1.0 to 18.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v17.1.0...commonjs-v18.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @rollup/plugin-replace from 2.4.1 to 2.4.2 (#33512)
dependabot[bot] [Tue, 30 Mar 2021 13:05:21 +0000 (16:05 +0300)] 
Bump @rollup/plugin-replace from 2.4.1 to 2.4.2 (#33512)

Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.1...replace-v2.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/cli from 7.13.10 to 7.13.14 (#33511)
dependabot[bot] [Tue, 30 Mar 2021 13:03:52 +0000 (13:03 +0000)] 
Bump @babel/cli from 7.13.10 to 7.13.14 (#33511)

4 years agoBump @babel/core from 7.13.10 to 7.13.14 (#33510)
dependabot[bot] [Tue, 30 Mar 2021 12:48:41 +0000 (15:48 +0300)] 
Bump @babel/core from 7.13.10 to 7.13.14 (#33510)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.13.14.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.14/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoUse template literals instead of concatenation (#33497)
Rohit Sharma [Tue, 30 Mar 2021 05:57:05 +0000 (11:27 +0530)] 
Use template literals instead of concatenation (#33497)

4 years agoUse our `isDisabled` util on dropdown (#33456)
GeoSot [Tue, 30 Mar 2021 04:42:23 +0000 (07:42 +0300)] 
Use our `isDisabled` util on dropdown (#33456)

4 years agoMake offcanvas example fully static (#33446)
Mark Otto [Tue, 23 Mar 2021 17:06:11 +0000 (10:06 -0700)] 
Make offcanvas example fully static (#33446)

4 years agoRelease v5.0.0-beta3 (#33439) v5.0.0-beta3
XhmikosR [Tue, 23 Mar 2021 16:26:54 +0000 (18:26 +0200)] 
Release v5.0.0-beta3 (#33439)

4 years agooffcanvas-navbar: add missing redirect (#33443)
XhmikosR [Tue, 23 Mar 2021 16:18:54 +0000 (18:18 +0200)] 
offcanvas-navbar: add missing redirect (#33443)

4 years agoAllow data-toggle="dropdown" and form click events to bubble
Casey Holzer [Wed, 6 Jan 2021 01:07:43 +0000 (03:07 +0200)] 
Allow data-toggle="dropdown" and form click events to bubble

* remove stopPropagation from button click event

* test for delegated click events

* ensure button children can open menu

* test to ensure clicking button opens the menu

* check current element and parents

* allow dropdown form click events to bubble

4 years agoBump eslint-plugin-unicorn from 28.0.2 to 29.0.0 (#33435)
dependabot[bot] [Tue, 23 Mar 2021 13:27:46 +0000 (15:27 +0200)] 
Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0 (#33435)

* Bump eslint-plugin-unicorn from 28.0.2 to 29.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.2 to 29.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.2...v29.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
* Fix lint failure

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @babel/preset-env from 7.13.10 to 7.13.12 (#33438)
dependabot[bot] [Tue, 23 Mar 2021 13:18:36 +0000 (13:18 +0000)] 
Bump @babel/preset-env from 7.13.10 to 7.13.12 (#33438)

4 years agoBump hugo-bin from 0.69.0 to 0.70.0 (#33436)
dependabot[bot] [Tue, 23 Mar 2021 13:08:42 +0000 (15:08 +0200)] 
Bump hugo-bin from 0.69.0 to 0.70.0 (#33436)

Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.69.0...v0.70.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump globby from 11.0.2 to 11.0.3 (#33434)
dependabot[bot] [Tue, 23 Mar 2021 13:03:45 +0000 (15:03 +0200)] 
Bump globby from 11.0.2 to 11.0.3 (#33434)

Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.2 to 11.0.3.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.2...v11.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump rollup from 2.41.3 to 2.42.3 (#33432)
dependabot[bot] [Tue, 23 Mar 2021 12:59:23 +0000 (14:59 +0200)] 
Bump rollup from 2.41.3 to 2.42.3 (#33432)

Bumps [rollup](https://github.com/rollup/rollup) from 2.41.3 to 2.42.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.41.3...v2.42.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump clean-css-cli from 5.2.1 to 5.2.2 (#33433)
dependabot[bot] [Tue, 23 Mar 2021 12:53:26 +0000 (14:53 +0200)] 
Bump clean-css-cli from 5.2.1 to 5.2.2 (#33433)

Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.1...v5.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoAdd link to new Parcel guide in starter template (#33430)
Mark Otto [Tue, 23 Mar 2021 06:27:15 +0000 (23:27 -0700)] 
Add link to new Parcel guide in starter template (#33430)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoAllow offcanvas to be initialized in open state (#33382)
GeoSot [Tue, 23 Mar 2021 06:22:59 +0000 (08:22 +0200)] 
Allow offcanvas to be initialized in open state (#33382)

* Update docs to use new .show behavior and clarify some copy for first example

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years ago.browserslistrc: remove Android and make Safari/iOS 12 the minimum (#33399)
XhmikosR [Mon, 22 Mar 2021 21:02:10 +0000 (23:02 +0200)] 
.browserslistrc: remove Android and make Safari/iOS 12 the minimum (#33399)

4 years agoUpdate examples (#33214)
Mark Otto [Mon, 22 Mar 2021 20:59:14 +0000 (13:59 -0700)] 
Update examples (#33214)

* Add updated Jumbotron example made from utilities

* Update starter template example with new design and links

* Update some existing examples and their screenshots

* Add four new snippet-based examples

* Update layout to improve things a bit

* WIP

* Add d-block to images

* Fix horizontal scroll

* move d-block to the anchor

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoFix flush accordion styles
Mark Otto [Mon, 22 Mar 2021 20:01:08 +0000 (13:01 -0700)] 
Fix flush accordion styles

4 years agoREADME.md: use shields.io for the tests badge too (#33401)
XhmikosR [Thu, 18 Mar 2021 19:17:45 +0000 (21:17 +0200)] 
README.md: use shields.io for the tests badge too (#33401)

4 years ago.browserslistrc: remove the Edge workaround. (#33397)
XhmikosR [Thu, 18 Mar 2021 15:46:55 +0000 (17:46 +0200)] 
.browserslistrc: remove the Edge workaround. (#33397)

It seems that Legacy Edge has been moved to dead, so this is no loner needed.

4 years agoBrowserStack: test on iPhone 12 (#33398)
XhmikosR [Thu, 18 Mar 2021 15:45:12 +0000 (17:45 +0200)] 
BrowserStack: test on iPhone 12 (#33398)

4 years agoUtilities to Utilities API (Borders doc page) (#33380)
Semih Raif Gürel [Wed, 17 Mar 2021 19:55:13 +0000 (22:55 +0300)] 
Utilities to Utilities API (Borders doc page) (#33380)

4 years agoUpdate unit tests for Popper V2 (#32662)
Rohit Sharma [Wed, 17 Mar 2021 19:25:57 +0000 (00:55 +0530)] 
Update unit tests for Popper V2 (#32662)

4 years agoDynamic tab should not show when triggered on `disabled` element (#33257)
Patrick H. Lauke [Wed, 17 Mar 2021 08:52:40 +0000 (08:52 +0000)] 
Dynamic tab should not show when triggered on `disabled` element (#33257)

* show() should bail if the trigger has `disabled` attribute

* use 'isDisabled' helper

Co-authored-by: GeoSot <geo.sotis@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoFix carousel RTL and refactor code, fix rtl swipe issues (#32913)
GeoSot [Wed, 17 Mar 2021 05:58:43 +0000 (07:58 +0200)] 
Fix carousel RTL and refactor code, fix rtl swipe issues (#32913)

* move common code to reusable functions

* add/re-factor tests, directionToOrder func

* add _orderToDirection tests

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoUse more safe check for 'isDisabled' helper (#33385)
GeoSot [Wed, 17 Mar 2021 05:44:15 +0000 (07:44 +0200)] 
Use more safe check for 'isDisabled' helper (#33385)

4 years agoRevamp accordion borders to fix pixel jumping (#33149)
Mark Otto [Wed, 17 Mar 2021 05:16:03 +0000 (22:16 -0700)] 
Revamp accordion borders to fix pixel jumping (#33149)

- Pushes the borders to the .accordion-item
- Simplifies the .accordion-flush
- Recreates the .accordion-button border-bottom with an inset box-shadow
- Updates background-color to solid to match other components like list group and prevent stacked translucent borders
- Use negative margin to overlap the consecutive items

4 years agoAdd example: toggle modal dialogs (#33301)
Anton [Wed, 17 Mar 2021 05:15:06 +0000 (08:15 +0300)] 
Add example: toggle modal dialogs (#33301)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
4 years agoUpdates customize Sass docs to reflect proper placement of default variables overrides
Mark Otto [Tue, 16 Mar 2021 22:25:38 +0000 (15:25 -0700)] 
Updates customize Sass docs to reflect proper placement of default variables overrides

4 years agoAccept data-bs-body option in the configuration object as well (#33248)
GeoSot [Tue, 16 Mar 2021 16:35:03 +0000 (18:35 +0200)] 
Accept data-bs-body option in the configuration object as well (#33248)

* Accept data-bs-body option in the configuration object as well

Tweak jqueryInterface, add some more tests

* Fix Markdown table formatting and tweak the wording on backdrop

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump karma from 6.1.2 to 6.2.0 (#33374)
dependabot[bot] [Tue, 16 Mar 2021 10:55:16 +0000 (12:55 +0200)] 
Bump karma from 6.1.2 to 6.2.0 (#33374)

Bumps [karma](https://github.com/karma-runner/karma) from 6.1.2 to 6.2.0.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.2...v6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump rollup from 2.41.0 to 2.41.3 (#33377)
dependabot[bot] [Tue, 16 Mar 2021 10:50:46 +0000 (12:50 +0200)] 
Bump rollup from 2.41.0 to 2.41.3 (#33377)

Bumps [rollup](https://github.com/rollup/rollup) from 2.41.0 to 2.41.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.41.0...v2.41.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump eslint from 7.21.0 to 7.22.0 (#33376)
dependabot[bot] [Tue, 16 Mar 2021 10:47:05 +0000 (12:47 +0200)] 
Bump eslint from 7.21.0 to 7.22.0 (#33376)

Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump postcss from 8.2.7 to 8.2.8 (#33375)
dependabot[bot] [Tue, 16 Mar 2021 10:43:35 +0000 (12:43 +0200)] 
Bump postcss from 8.2.7 to 8.2.8 (#33375)

Bumps [postcss](https://github.com/postcss/postcss) from 8.2.7 to 8.2.8.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.7...8.2.8)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump karma-rollup-preprocessor from 7.0.6 to 7.0.7 (#33373)
dependabot[bot] [Tue, 16 Mar 2021 10:35:45 +0000 (12:35 +0200)] 
Bump karma-rollup-preprocessor from 7.0.6 to 7.0.7 (#33373)

Bumps [karma-rollup-preprocessor](https://github.com/jlmakes/karma-rollup-preprocessor) from 7.0.6 to 7.0.7.
- [Release notes](https://github.com/jlmakes/karma-rollup-preprocessor/releases)
- [Changelog](https://github.com/jlmakes/karma-rollup-preprocessor/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jlmakes/karma-rollup-preprocessor/compare/7.0.6...7.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoUpdate modal's `show` method to accept `relatedTarget` as an argument (#33300)
Anton [Tue, 16 Mar 2021 05:49:52 +0000 (08:49 +0300)] 
Update modal's `show` method to accept `relatedTarget` as an argument (#33300)

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoonly trigger tooltip inserted event on true dom insert
Ryan Berliner [Sun, 7 Mar 2021 15:09:17 +0000 (17:09 +0200)] 
only trigger tooltip inserted event on true dom insert

4 years agoreuse existing popper on show during tooltip fadeout
Ryan Berliner [Sun, 7 Mar 2021 13:28:41 +0000 (08:28 -0500)] 
reuse existing popper on show during tooltip fadeout

4 years agoprevent quick interactions from misplacing tooltips
Ryan Berliner [Sat, 6 Mar 2021 21:57:23 +0000 (23:57 +0200)] 
prevent quick interactions from misplacing tooltips

4 years agoprevent tooltip from being deleted on quick re-activations
Ryan Berliner [Sat, 6 Mar 2021 01:35:28 +0000 (03:35 +0200)] 
prevent tooltip from being deleted on quick re-activations

4 years agoChange the name of the `Offcanvas` constructor (#33261)
Rohit Sharma [Tue, 16 Mar 2021 05:21:04 +0000 (10:51 +0530)] 
Change the name of the `Offcanvas` constructor (#33261)

4 years agoImprove change-version.js (#33148)
XhmikosR [Thu, 11 Mar 2021 09:37:52 +0000 (11:37 +0200)] 
Improve change-version.js (#33148)

* switch to async/await
* remove shelljs
* switch to globby; supports .gitignore out of the box
* don't write any files to the disk if they are indentical
* add two more cmd switches: --dry and --verbose
* strip leading "v" from version arguments so that we don't end up with duplicate `v`s

4 years agoAdd migration guide entry
Mark Otto [Thu, 11 Mar 2021 05:51:34 +0000 (21:51 -0800)] 
Add migration guide entry

4 years agoChange from element selector to the opt-in class
Mark Otto [Thu, 11 Mar 2021 05:49:47 +0000 (21:49 -0800)] 
Change from element selector to the opt-in class

4 years agoAdd ol.list-group with psuedo-element numbers
Mark Otto [Fri, 12 Feb 2021 18:51:18 +0000 (10:51 -0800)] 
Add ol.list-group with psuedo-element numbers

4 years agoFixes some copy around inline forms
Mark Otto [Thu, 11 Mar 2021 05:06:54 +0000 (21:06 -0800)] 
Fixes some copy around inline forms

4 years agoMention .no-gutters removal in migration guide (#33332)
Kyle Tsang [Thu, 11 Mar 2021 03:28:15 +0000 (19:28 -0800)] 
Mention .no-gutters removal in migration guide (#33332)

* Mention .no-gutters removal in migration guide

* Update site/content/docs/5.0/migration.md

Co-authored-by: Mark Otto <otto@github.com>
4 years agoRemoving duplicate text-decoration style for abbr[title] #33197 (#33325)
gopal-jayaraman [Thu, 11 Mar 2021 03:06:18 +0000 (08:36 +0530)] 
Removing duplicate text-decoration style for abbr[title] #33197 (#33325)

Removing duplicate text-decoration style for abbr[title] #33197

4 years agoGrammatically update the doc (#33267)
Mohamed Khoualed [Thu, 11 Mar 2021 03:05:03 +0000 (04:05 +0100)] 
Grammatically update the doc (#33267)

* Grammatically update the doc

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
4 years agoFix Flex utilities to add vertical space in example
Garrett Johnson [Tue, 9 Mar 2021 15:41:39 +0000 (08:41 -0700)] 
Fix Flex utilities to add vertical space in example

The `justify-content-around` example is missing a `mb-3` class because it is not the last example.

4 years agoUpdate the "Nonblocking files" section in the docs
Martin Choutka [Tue, 2 Mar 2021 22:57:30 +0000 (23:57 +0100)] 
Update the "Nonblocking files" section in the docs

Added few paragraphs about optimizing FCP times, deferring non-critical JS and CSS, may update in the future again

4 years ago@rollup/plugin-replace: specify `preventAssignment: true` (#33329)
XhmikosR [Wed, 10 Mar 2021 16:47:42 +0000 (18:47 +0200)] 
@rollup/plugin-replace: specify `preventAssignment: true` (#33329)

This is to fix a warning since the option will be set to true in the next major version of the plugin

4 years agoDelete the unused build/ship.sh (#33326)
XhmikosR [Wed, 10 Mar 2021 16:47:20 +0000 (18:47 +0200)] 
Delete the unused build/ship.sh (#33326)

4 years agoBump @babel/preset-env from 7.13.9 to 7.13.10 (#33315)
dependabot[bot] [Wed, 10 Mar 2021 07:52:38 +0000 (09:52 +0200)] 
Bump @babel/preset-env from 7.13.9 to 7.13.10 (#33315)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/cli from 7.13.0 to 7.13.10 (#33314)
dependabot[bot] [Wed, 10 Mar 2021 07:43:37 +0000 (09:43 +0200)] 
Bump @babel/cli from 7.13.0 to 7.13.10 (#33314)

Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.0 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rollup from 2.40.0 to 2.41.0 (#33312)
dependabot[bot] [Wed, 10 Mar 2021 05:59:47 +0000 (07:59 +0200)] 
Bump rollup from 2.40.0 to 2.41.0 (#33312)

Bumps [rollup](https://github.com/rollup/rollup) from 2.40.0 to 2.41.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.40.0...v2.41.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump @babel/core from 7.13.8 to 7.13.10 (#33311)
dependabot[bot] [Wed, 10 Mar 2021 05:43:43 +0000 (07:43 +0200)] 
Bump @babel/core from 7.13.8 to 7.13.10 (#33311)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agoBump karma from 6.1.1 to 6.1.2 (#33313)
dependabot[bot] [Tue, 9 Mar 2021 12:05:05 +0000 (14:05 +0200)] 
Bump karma from 6.1.1 to 6.1.2 (#33313)

Bumps [karma](https://github.com/karma-runner/karma) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoUpdate devDependencies (#33307)
XhmikosR [Mon, 8 Mar 2021 17:00:06 +0000 (19:00 +0200)] 
Update devDependencies (#33307)

* @popperjs/core    ^2.9.0  →    ^2.9.1
* autoprefixer     ^10.2.4  →   ^10.2.5
* clean-css-cli     ^5.2.0  →    ^5.2.1
* postcss           ^8.2.6  →    ^8.2.7
* stylelint       ^13.11.0  →  ^13.12.0

4 years agoBump jquery from 3.5.1 to 3.6.0 (#33242)
dependabot[bot] [Mon, 8 Mar 2021 16:46:39 +0000 (18:46 +0200)] 
Bump jquery from 3.5.1 to 3.6.0 (#33242)

Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
4 years agomodal: move common code to a new `isAnimated` method (#33056)
GeoSot [Mon, 8 Mar 2021 16:35:59 +0000 (18:35 +0200)] 
modal: move common code to a new `isAnimated` method (#33056)

4 years agoOffcanvas as component (#29017)
GeoSot [Tue, 2 Mar 2021 17:10:10 +0000 (19:10 +0200)] 
Offcanvas as component (#29017)

* Add a new offcanvas component

* offcanvas.js: switch to string constants and `event.key`

* Remove unneeded code

* Sass optimizations

* Fixes

Make sure the element is hidden and not offscreen when inactive
fix close icon negative margins
Add content in right & bottom examples
Re-fix bottom offcanvas height not to cover all viewport

* Wording tweaks

* update tests and offcanvas class

* separate scrollbar functionality and use it in offcanvas

* Update .bundlewatch.config.json

* fix focus

* update btn-close / fix focus on close

* add aria-modal and role
return focus on trigger when offcanvas is closed
change body scrolling timings

* move common code to reusable functions

* add aria-labelledby

* Replace lorem ipsum text

* fix focus when offcanvas is closed

* updates

* revert modal, add tests for scrollbar

* show backdrop by default

* Update offcanvas.md

* Update offcanvas CSS to better match modals

- Add background-clip for borders
- Move from outline to border (less clever, more consistent)
- Add scss-docs in vars

* Revamp offcanvas docs

- Add static example to show and explain the components
- Split live examples and rename them
- Simplify example content
- Expand docs notes elsewhere
- Add sass docs

* Add .offcanvas-title instead of .modal-title

* Rename offcanvas example to offcanvas-navbar to reflect it's purpose

* labelledby references title and not header

* Add default shadow to offcanvas

* enable offcanvas-body to fill all the remaining wrapper area

* Be more descriptive, on Accessibility area

* remove redundant classes

* ensure in case of an already open offcanvas, not to open another one

* bring back backdrop|scroll combinations

* bring back toggling class

* refactor scrollbar method, plus tests

* add check if element is not full-width, according to #30621

* revert all in modal

* use documentElement innerWidth

* Rename classes to -start and -end

Also copyedit some docs wording

* omit some things on scrollbar

* PASS BrowserStack tests

-- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling.

* Rename '_handleClosing' to '_addEventListeners'

* change pipe usage to comma

* change Data.getData to Data.get

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
4 years agoDropdown — Drop `flip` option (#33198)
Rohit Sharma [Tue, 2 Mar 2021 15:27:13 +0000 (20:57 +0530)] 
Dropdown — Drop `flip` option (#33198)

4 years agoRename _gh_pages to _site. (#33129)
XhmikosR [Tue, 2 Mar 2021 15:05:26 +0000 (17:05 +0200)] 
Rename _gh_pages to _site. (#33129)

4 years agorefactor: use a Map instead of an Object in dom/data (#32180)
alpadev [Tue, 2 Mar 2021 14:55:44 +0000 (15:55 +0100)] 
refactor: use a Map instead of an Object in dom/data (#32180)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>