aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-03-13Variable transition durations (#25662)Martijn Cuppens3-0/+88
2018-03-06Add a bit of documentation on how to run the code coverage (#25783)Johann-S1-5/+9
2018-03-05add code coverageJohann-S1-5/+22
2018-02-19Fix carousel transition duration (#25218)Martijn Cuppens1-2/+13
2018-02-11Dropdown - Allow to disable Popper.js style (#24092)Johann-S2-3/+45
* Dropdown - Allow to disable Popper.js style * Update dropdown.js * Update dropdown.html * copy changes
2018-01-21Remove escaping selector and add a warning to inform folks to escape their ↵Johann-S1-13/+1
selectors (#25390)
2018-01-21Update dropdown.js to allow referenceElement (#25219)719media1-0/+26
2018-01-11Comply to the new rules.XhmikosR11-1401/+1577
2018-01-11Clean up and tweak ESLint rules.XhmikosR2-17/+3
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
2018-01-03Multiple accordion support (#25161)Martijn Cuppens1-0/+75
2017-12-31Allow nested structure for accordions (#25121)Martijn Cuppens1-10/+48
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-12dropdown: add boundary config option (#24976)Troy Morehouse1-0/+44
2017-11-29Update README.md (#24912)Johann-S1-1/+1
2017-11-26tab.js: do not remove fade class if there's no initial active paneAlessandro Chitolina1-0/+33
2017-11-23Allow us to run our unit test on differents jquery versionJohann-S4-6/+75
2017-11-15Correct spelling mistakes. (#24778)Edward Betts1-1/+1
2017-11-09Use native pseudo-selectors instead of jQuery selectors (#24713)Vasilii Artemchuk2-37/+37
2017-11-08Update devDependencies.XhmikosR2-12/+25
2017-11-07Fix test failure with jQuery 1.9.1 (#24706)XhmikosR1-1/+1
2017-11-07Escape ID in Util.getSelectorFromElement (#24700)Johann-S1-1/+14
2017-11-07Popover - call `content` once if it's a function. (#24690)Johann-S1-0/+21
2017-10-31Remove invalid example of `title` attribute in an SVG and related vnu error ↵patrickhlauke1-3/+0
suppression
2017-10-29Add dropright and dropleft (right and left placements for our dropdown) (#23860)Johann-S1-0/+48
* Add dropright (right placement for our dropdown) * Add dropleft * moves drop left arrow to the left
2017-10-27Fix unit tests.Johann-S1-141/+184
2017-10-27Dropdown handle keydown on input and textarea.Pierre-Denis Vanduynslager1-5/+141
2017-10-25Add unit tests for util.jsJohann-S2-0/+58
2017-10-24Change Rollup config to wrap our dist files with jQuery instead of $Johann-S2-20/+0
2017-10-23Add `Util.jQuery` which will detect jQuery instead of relying on global `$` ↵Johann-S2-0/+20
(#24513)
2017-10-22Tighten htmllint's rules. (#24471)XhmikosR11-13/+12
2017-10-10Modal plugin set _isTransitioning after the trigger of hide eventJohann-S1-0/+22
2017-10-07Update js/tests/README.md (#24281)Vasilii Artemchuk1-4/+4
2017-10-04Remove global jQuery in eslint because we import jQuery (#24246)Johann-S1-1/+2
2017-10-04Update modal.jsXhmikosR1-1/+4
2017-10-04Unit test for modal bug fixlucascono1-0/+13
Unit test for pull request #24240
2017-10-03Switch to lowercase `doctype`. (#24217)XhmikosR11-11/+11
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-01js/tests/visual/tab.html: fix HTML validation errors. (#24183)XhmikosR1-4/+4
2017-09-28Lint docs js too and use `strict consistently. (#24160)XhmikosR1-3/+0
2017-09-26Normalize all links. (#24109)XhmikosR2-4/+4
* use a trailing slash when possible * use https when possible * remove a few redirected links * consistently use `https://popper.js.org/` * fix `iconUrl` in nuget files * change Jekyll Windows guide to the official one
2017-09-25Collapse - Allow to pass jQuery object or DOM element to the parent optionJohann-S1-0/+44
2017-09-24Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs ↵Patrick H. Lauke1-13/+13
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/+41
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-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S2-1/+28
2017-09-02Merge branch 'v4-dev' into fix-unwanted-padding-on-modalJohann-S1-0/+1
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S1-0/+1
2017-08-29Add failing testDavid Bailey1-0/+14
2017-08-29Fix unit tests in PhantomJSDavid Bailey1-3/+10
Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test. One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
2017-08-28Add failing testDavid Bailey1-0/+19
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-25Add unit test for xss in data target attributemeeque1-0/+36
2017-08-25Fix XSS in data-targetJohann-S1-0/+4
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey1-0/+42
* 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