aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
AgeCommit message (Collapse)AuthorFilesLines
2018-10-30test(Modal): check if modal is disposedAndrew Luca1-0/+33
2018-10-30Fix util tests on IE 10 (#27556)XhmikosR1-2/+2
2018-10-30Prevent the background to be shown when transitioningMartijn Cuppens1-0/+10
2018-10-29add unit tests for our carouselJohann-S1-0/+44
2018-10-29add unit test to test tabs can be removed without throwing errorJohann-S1-0/+45
2018-10-28calculate modal transition duration based on modal-dialog elementJohann-S1-0/+46
2018-10-21test(Modal): reuse _getScrollbarWidth in testsAndrew Luca1-8/+1
2018-10-20avoid drag imgJohann-S1-9/+11
2018-10-20Set touch-action to "none"patrickhlauke1-1/+1
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically. While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20Use correct touch-action valuespatrickhlauke1-1/+1
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20use pointer events if availableJohann-S1-3/+122
2018-10-20swipe left/right without hammerjsJohann-S1-42/+31
2018-10-20Add touch support in our carousel with HammerJS.Johann-S2-1/+130
2018-10-20Add `show` and `hide` methods to dropdown (#27370)galczo51-0/+264
2018-09-18feature(carousel): carousel-item interval (#26667)Christopher Morrissey1-0/+48
adds the ability to assign data-interval to an individual carousel-item
2018-09-13throw error when folks try to use a bad selectorJohann-S4-49/+42
2018-09-10collapse children with no data-parentJohann-S1-0/+34
2018-08-31add information about valid selectors (#27137)Johann-S1-25/+0
2018-08-12fix(util): use querySelector for idsJohann-S1-0/+13
2018-08-07fix(util): use getElementById when it's possibleJohann-S1-0/+12
2018-07-11fix(modal): fix unit test and resetting styleJohann-S1-1/+2
2018-07-11fix(modal): removes .navbar-toggler marginCatalin Zalog1-42/+0
2018-06-25fix(tooltip): get tip on placement changeJohann-S1-0/+23
2018-06-25feat(dropdown): add original click eventjakubhonisek1-0/+68
2018-05-22fix(tooltip): remove useless unit testJohann-S1-40/+0
2018-05-22chore(deps): update qunit and karma-qunitJohann-S11-1/+15
2018-04-13fix issue related to Object.keys and Dropdown issueJohann-S1-21/+21
2018-04-10v4 improve coverage (#25945)Johann-S5-1/+206
* Improve code coverage for our Button plugin * improve coverage for our Alert plugin * test tooltip update method * test update and dispose for dropdown * increase code coverage requirements
2018-04-09Clean up globals.XhmikosR1-4/+4
Also, add a missing license header in build/workbox.js.
2018-03-29fix bundle and run test against itJohann-S2-1/+4
2018-03-26Fix skip element disabled via attribute when using keyboard navigationvsn4ik1-19/+21
2018-03-20Use transitionEnd in QUnit since we moved away from PhantomJSJohann-S5-107/+206
2018-03-13Add Sinon to do better unit testJohann-S1-0/+1
2018-03-13fix get the transition duration parentJohann-S1-14/+5
2018-03-13Variable transition durations (#25662)Martijn Cuppens1-0/+44
2018-02-11Dropdown - Allow to disable Popper.js style (#24092)Johann-S1-0/+30
* 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-11Comply to the new rules.XhmikosR11-1401/+1577
2018-01-11Clean up and tweak ESLint rules.XhmikosR1-0/+33
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-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-S1-0/+2
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-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-27Fix unit tests.Johann-S1-141/+184