aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2018-01-18Bump version to 4.0.0Mark Otto11-21/+21
2018-01-11Comply to the new rules.XhmikosR12-337/+196
2018-01-08Check for window before window.QUnit (#25199)Łukasz1-1/+1
2018-01-03Multiple accordion support (#25161)Martijn Cuppens1-2/+3
2017-12-31Allow nested structure for accordions (#25121)Martijn Cuppens1-1/+5
This commit allows nested structures for accordions. Also a part of the documentation about data-children is removed because this functionality didn't work and it's not applicable anymore. Tests with the collapse accordion are also a bit adjusted to the new situation.
2017-12-31Update devDependencies and gems. (#25083)XhmikosR1-0/+1
2017-12-28Update version to 4.0.0-beta.3v4.0.0-beta.3Mark Otto11-21/+21
2017-12-12tooltip+popover: add boundary config option (#24979)Troy Morehouse1-2/+7
2017-12-12dropdown: add boundary config option (#24976)Troy Morehouse1-3/+15
2017-12-07Use only transitionend event (#24962)Mr_Green1-15/+2
2017-11-26tab.js: do not remove fade class if there's no initial active paneAlessandro Chitolina1-14/+4
2017-11-15Simplify spread (#24774)Vasilii Artemchuk2-16/+10
2017-11-13Object spread : less jQuery more ES6 (#24665)Johann-S7-50/+82
2017-11-07Escape ID in Util.getSelectorFromElement (#24700)Johann-S1-0/+13
2017-11-07Popover - call `content` once if it's a function. (#24690)Johann-S1-4/+6
2017-10-30Do not create a Popper.js instance when we don't need itJohann-S1-21/+18
2017-10-29Throw error about Popper.js only when it's needed because some of our ↵Johann-S2-17/+15
plugins don't use it (#24573)
2017-10-29Add dropright and dropleft (right and left placements for our dropdown) (#23860)Johann-S1-2/+12
* Add dropright (right placement for our dropdown) * Add dropleft * moves drop left arrow to the left
2017-10-27Fix unit tests.Johann-S1-14/+1
2017-10-27Dropdown handle keydown on input and textarea.Pierre-Denis Vanduynslager1-2/+24
2017-10-24Change Rollup config to wrap our dist files with jQuery instead of $Johann-S12-29/+23
2017-10-23Clean up transitionEnd properties. (#24511)XhmikosR1-2/+0
We don't support Opera 12, and Firefox's property was the unprefixed one.
2017-10-23Add `Util.jQuery` which will detect jQuery instead of relying on global `$` ↵Johann-S12-11/+18
(#24513)
2017-10-19fix version numberMark Otto11-21/+21
2017-10-19new version numberMark Otto11-21/+21
2017-10-19Make 1.9.1 the minimum jQuery version again. (#24434)XhmikosR1-4/+8
2017-10-10Modal plugin set _isTransitioning after the trigger of hide eventJohann-S1-6/+6
2017-10-04Fix modal buglucascono1-1/+1
Fix for issue #24117
2017-10-04Use imported jQuery objectJohann-S12-13/+13
2017-10-03Offset option for dropdown can be function (#24222)Roman O1-4/+11
* Offset option can be function (Popper.js) * Fix...add function type for offset option * Remove constants for popper config * Optimize code. Remove foreach loop. * Refactoring. Remove getOffset method
2017-09-25Collapse - Allow to pass jQuery object or DOM element to the parent optionJohann-S2-7/+18
2017-09-24Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs ↵Patrick H. Lauke1-2/+6
with dropdowns) * Use `aria-selected` instead of `aria-expanded` * Change tab.js to use `aria-selected` rather than `aria-expanded` * Add `aria-orientation=vertical` to vertical tab list * Remove dynamic tabs with dropdowns * Fix non-interactive code examples * Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
2017-09-17fix(scrollspy): Spying on nested navs fails to activate for .nav-link's ↵Troy Morehouse1-0/+3
inside nav-item's (#23967) * fix(scrollspy): Handle nested navs when nav-link inside nav-item * [scrolspy] Find only child .nav-link's inside .nav-item * [scrollspyt] Add tests for nested navs with nav-link inside nav-item * fix troy-o's in test
2017-09-11Remove not necessary condition in tooltip.jsvsn4ik1-3/+3
2017-09-08Collapse.js preventDefault if `[data-toggle="collapse"]` is an anchor tagPatrick Yeo1-1/+1
2017-09-07Remove placement attribute from our Dropdown pluginJohann-S1-9/+2
2017-09-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S12-18/+75
2017-09-02Merge branch 'v4-dev' into fix-unwanted-padding-on-modalJohann-S12-17/+73
2017-08-31Regroup our jQuery check in the same IIFEJohann-S1-4/+4
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S12-17/+73
2017-08-29Fix failing testDavid Bailey1-0/+2
_adjustDialog should be called when the modal is first displayed to prevent it jumping position when the viewport is resized
2017-08-28Use getBoundingClientRect instead of jQueryDavid Bailey1-1/+2
2017-08-28Use jQuery outerWidth instead of offsetWidthDavid Bailey1-1/+1
2017-08-28Fix unwanted body padding when a modal opensDavid Bailey1-1/+1
Prevents the test from failing
2017-08-25Fix XSS in data-targetJohann-S1-1/+1
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey1-2/+10
* Adjust margin for sticky elements on modal Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661. * Add unit tests for margin of sticky elements on modal
2017-08-25Collapse - preventDefault only on <a> elements not inside the collapsibleJohann-S1-1/+2
element
2017-08-24Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover ↵Johann-S1-2/+5
was disabled
2017-08-23Enable the `no-return-assign` rule.Johann-S2-2/+4
2017-08-23Tweak ESLint rules.XhmikosR9-13/+14