aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2019-11-28Release v4.4.1.v4.4.1XhmikosR38-62/+62
2019-11-26Release v4.4.0 (#29735)v4.4.0XhmikosR39-406/+621
2019-11-02backport #29516: added animation when modal backdrop is staticJohann-S2-8/+51
2019-11-02backport #29523: skip hidden dropdowns while focusingJohann-S2-0/+42
2019-08-27Backport #29298Johann-S2-26/+50
dropdown show method should do the same as toggle
2019-08-27Backport #29277Johann-S2-1/+49
dropdown - destroy old popper.js references
2019-08-27Backport #29251Johann-S4-39/+94
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-07-31Backport #29155Johann-S2-2/+24
allow dynamic modal body for scrollable modals
2019-07-31Force reflow for fade-in animation (#29113)Shohei Yoshida1-0/+1
2019-07-31Fix Typos across Bootstrap repository (#29082)Kitten King1-1/+1
2019-07-10Ensure button plugin sets/removes active class correctly on page load (#28952)Patrick H. Lauke3-24/+114
* Ensure correct active class is set on button toggles/checkboxes/radios on page load Sanity check, ensures that the UI visually matches the actual values/states of controls. Also ensures that if any autocomplete/autofill happened, this is visually accounted for by having the correct class set. Includes unit tests (and `autocomplete` has been removed from these as it's no longer necessary) * Remove now unnecessary autocomplete attribute As the attribute was there to force/ensure that the visual presentation matched the state, and this is now taken care of programmatically, there's no need to unnecessarily suppress autocomplete...let them autocomplete if they want to...
2019-06-19Add missing dropdown unit test for closing with ESC (#28929)Patrick H. Lauke1-0/+39
Backport of the unit test from https://github.com/twbs/bootstrap/pull/28928
2019-06-18Don't open dropdown on ESC on trigger element (#28912)Patrick H. Lauke2-0/+29
* Don't open dropdown on ESC on trigger element Closes #28751
2019-06-18tooltip dispose:removing only own event handler (#28896)Johann-S1-6/+8
2019-06-18Fix keyboard handling of button-style checkbox/radio button groups (#28834)Patrick H. Lauke2-44/+161
- adds more defensive checks to make sure no unnecessary toggling happens on disabled buttons; this also fixes an up-to-now undiscovered bug where a toggle button with `.disabled` class would still have its `aria-pressed` toggled - adds a set of explicit tests for the above case of disabled buttons and `aria-pressed` - remove a now irrelevant (or at least very nonsensical) test for `<label>` containing both an actionable and a `hidden` `<input>` - expand the test for disabled checkbox to also explicitly test starting conditions (used mainly in my debugging) - ensure that `$btn[0].click()` is used to click checkboxes in tests, rather than the `click()` on the jquery object which is simply a shorthand for `trigger('click')` and does not actually trigger the browser default behavior - remove the `preventDefault()` from the button handling, which was preventing correct keyboard functionality for checkboxes/radio buttons - add extra logic to the button.js code to handle checkboxes correctly and avoid double-triggering as a result of mouse interactions (which saw the checkboxes being toggled twice, thus returning them to their original state) - add logic that prevents the `checked` property from being added incorrectly for any inputs other than radio buttons and checkboxes - added more tests (including the most basic test for a properly triggered fake checkbox button) - work around Firefox bug #1540995 (which this code was hitting after removing the `preventDefault()`, due to Firefox's incorrect toggling of disabled checkboxes when programmatically (but not manually) activated with a `click()` event
2019-05-30Backport #28777.Johann-S2-2/+84
Toast should allow prevent default for hide and show events
2019-05-09Backport #28679.Martijn Cuppens1-2/+2
* Documentation tweaks * Remove redundant `col-12` classes
2019-04-29fix unit tests for chrome mobileJohann-S2-5/+13
2019-04-29Call hide() after `delay` timeysds1-11/+6
2019-04-29karma.conf.js: switch to `CI === true`. (#28588)XhmikosR1-1/+1
2019-03-27Reset carousel touch delta x to prevent click transformation in swipe (#28558)Johann-S2-2/+6
2019-03-08fix jquery detectionJohann-S3-18/+23
2019-02-13Release v4.3.1. (#28252)v4.3.1XhmikosR39-69/+216
2019-02-13Add sanitize template option for tooltip/popover plugins.Johann-S3-13/+333
2019-02-11Release v4.3.0 (#28228)v4.3.0Mark Otto38-85/+120
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
2019-02-06fix modal test to be sure we call getTransitionDurationFromElementJohann-S1-10/+5
2019-02-06allow to override default toast options (#28186)Johann-S2-0/+24
2019-02-06fix tabs, apply show class only when fade class is present (#28183)Johann-S2-1/+60
2019-02-05Move dropdown offset function logic into private function. (#28138)Jason Golieb2-6/+68
2019-02-05Move offset function logic to a private function.Jason Golieb1-11/+20
2019-02-05Add support for tooltip offset option to be a function.Jason Golieb2-4/+49
2019-01-20Scrollable modal (#27769)Shohei Yoshida2-1/+35
2019-01-17use absolute path to output lcov file for coveralls (#28075)Johann-S1-1/+2
2019-01-15tests: use jQuery from node_modules. (#28059)XhmikosR13-30/+15
2019-01-14Fix Carousel's touch option to not add touch listeners when set to false ↵Johann-S2-3/+18
(#28046)
2019-01-04latest changesMark Otto24-110/+114
2019-01-04carousel should not cycle when there is no data-ride on init (#27968)Johann-S2-1/+48
2018-12-23getSelectorFromElement return null on bad selectors (#27912)Johann-S3-32/+32
2018-12-21Bump to v4.2.1 (#27892)v4.2.1Mark Otto38-61/+61
2018-12-21Prep for v4.2.0 releaseMark Otto50-73/+73
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-16Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" ↵XhmikosR12-12/+12
(#27855) This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.
2018-12-16distMark Otto12-12/+62
2018-12-15Remove now unnecessary shrink-to-fit viewport directive (#27818)Patrick H. Lauke12-12/+12
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-14integration test to be sure bootstrap can be bundledJohann-S3-0/+94
2018-12-14Make use of the package.json `version_short` property more.XhmikosR1-2/+4
2018-12-10fix fade animation for toastJohann-S1-5/+10
2018-12-10Change button checkbox/radios to ignore hidden input fields (#27802)Mike Vastola2-1/+24
2018-12-06Remove nonsensical boolean check (#27787)Patrick H. Lauke1-2/+1
...as it always evaluates to true
2018-12-06avoid console call in our unit tests (#27790)Johann-S3-3/+1
2018-12-05Add aria-modal to modals (#27780)Patrick H. Lauke2-0/+19
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden