aboutsummaryrefslogtreecommitdiff
path: root/js/tests
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25Collapse - preventDefault only on <a> elements not inside the collapsibleJohann-S2-1/+26
element
2017-08-24Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover ↵Johann-S2-0/+45
was disabled
2017-08-23Tweak ESLint rules.XhmikosR10-21/+21
2017-08-17Add a unit test to check if the carousel do not cycle when its parent isn't ↵Johann-S1-0/+39
visible
2017-08-17Unit test to check if our carousel do not cycle when we cannot see itJohann-S1-0/+37
2017-08-11Improve previous selector for nested tabsJohann-S1-7/+8
2017-08-11Add unit test for nested tabsJohann-S1-0/+38
2017-07-16Update dependencies.Bardi Harborow2-90/+212
2017-07-04Dropdown - Disable applyStyle modifier instead of removing inline style ↵Johann-S1-0/+29
applied by Popper.js
2017-06-25update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-lightMark Otto1-1/+1
2017-06-25update navbars to rename .navbar-inverse to .navbar-dark, update all navbar ↵Mark Otto3-3/+3
examples and variables
2017-06-15Rename popover classesMark Otto1-14/+14
Part of an update to align the naming schemes across our components. - Renames .popover-title to .popover-header - Renames .popover-content to .popover-body Refs: #22092
2017-06-15Rename .card-block to .card-body to match nomenclature of modalsMark Otto2-6/+6
2017-06-14Collapse supports multi-target thanks to @vanduynslagerp (#22713)Johann-S1-4/+89
2017-06-14Fix unit tests with no assertionJohann-S1-11/+23
2017-06-14Upgrade QUnit to 2.3.3Johann-S2-241/+326
2017-06-04Update path to our docs assets for visual testsJohann-S9-14/+15
2017-05-30Merge branch 'v4-dev' into v4-docs-streamlinedMark Otto2-10/+10
2017-05-30Update Dependencies (REUPLOAD) (#22594)CDAGaming2-10/+10
* Update Dependencies (REUPLOAD) Uglify-JS: 2.8.22 > 3.0.3 QUnitJS: 2.3.1 > 2.3.2 PostCSS-CLI: 3.1.1 > 4.0.0 Clean-CSS-CLI: 4.0.12 > 4.1.0 Babel-Eslint: 7.2.2 > 7.2.3 AutoPrefixer: 6.7.7 > 7.0.1 * Updates More Dependencies Autoprefixer: v7.0.1 > v7.1.1 Clean-CSS-CLI: v4.1.0 > v4.1.3 Node-Sass: v4.5.2 > v4.5.3 PostCSS-FlexBugs-Fixes: v2.1.1 > v3.0.0 Uglify-JS: v3.0.3 > v3.0.11 Signed-off-by: CDAGaming <[email protected]> * Update Gem Bundler Dependency Signed-off-by: CDAGaming <[email protected]> * Update Gemfile.lock Dependency Signed-off-by: CDAGaming <[email protected]> * Update QUnit Signed-off-by: CDAGaming <[email protected]> * Update Uglify-JS to v3.0.13 Signed-off-by: CDAGaming <[email protected]>
2017-05-29update pathsMark Otto1-13/+13
2017-05-27Update nav and navbar HTML markupGeremia Taglialatela2-32/+32
According to the docs, you just need to apply the `navbar-nav` to an `<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to override all the css properties set by `nav`. Also, `nav-item` class should be used only for `<li>` tags, or in conjunction with `<a>` tags to entirely avoid the list-based approach. This commit removes the redundant `nav` class from `navbar-nav` `<ul>` tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly adds `nav-item` class to `<li>` tags where missing. Refs: * https://v4-alpha.getbootstrap.com/components/navs/ * https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-24Placement auto for popoversJohann-S1-0/+4
2017-05-24Placement auto for tooltipsJohann-S1-0/+3
2017-05-22Better management of dropdown/dropup with alignmentJohann-S1-10/+28
2017-05-17Use popper to align dropdown menu instead of using css with importantJohann-S1-11/+37
2017-05-14Fix dropdown in scrollspy visual test (add Popper.js)Johann-S1-0/+1
2017-05-14Better placement for Dropdown + Handle flip of Tooltip/PopoverJohann-S1-1/+1
2017-05-14Handle dropup for DropdownJohann-S2-2/+20
2017-05-14Fix unit tests + Update Popper to 1.6.0Johann-S4-87/+58
2017-05-14Begin to use Popper for DropdownJohann-S1-0/+1
2017-05-14Fix arrow for tooltip and popoverJohann-S2-56/+30
2017-05-14Add attachment classesJohann-S2-2/+2
2017-05-14Begin to add arrow to Popover and TooltipJohann-S1-1/+1
2017-05-14Use Popper for tooltip and popoverJohann-S2-2/+2
2017-04-26Fix Toggle buttons don't honor [disabled] or .disabledAnna1-0/+17
2017-04-25Detach accordion from card without requiring 'data-children'Pierre Vanduynslager1-9/+67
2017-04-21Arguably more professional pictures of Rick RossZach Leatherman1-3/+3
2017-04-21More minor build tweaks and docs updates.Bardi Harborow2-4/+4
2017-04-20Build system overhaul.Bardi Harborow1-72/+0
2017-04-17Fix carousel "hover" behavior on touch-enabled devicesPatrick H. Lauke1-23/+0
* Add carousel mouse listeners even if touch events enabled - touch events are enabled not just on "mobile", just also on touch-enabled desktop/laptop devices; additionally, it's possible to pair a mouse with traditionally touch-only devices (e.g. Android phones/tablets); currently, in these situations the carousel WON'T pause even when using a mouse * Restart cycle after touchend as `mouseenter` is fired as part of the touch compatibility events, the previous change results in carousels which cycle until the user tapped/interacted with them. after that they stop cycling (as `mouseleave` is not sent to the carousel after user scrolled/tapped away). this fix resets the cycling after `touchend` - essentially returning to the previous behavior, where on touch the carousel essentially never pauses, but now with the previous fix it at least pauses correctly for mouse users on touch-enabled devices. includes documentation for this new behavior.
2017-04-12Merge branch 'v4-dev' into dropdown-keyboardPierre Vanduynslager1-1/+1
2017-04-11Remove inappropriate role="listbox" from carouselsPatrick H. Lauke1-1/+1
2017-04-10Merge branch 'v4-dev' into dropdown-keyboardPierre Vanduynslager2-16/+34
2017-04-10Fix collapse.js aria-expanded behaviorPatrick H. Lauke1-16/+16
* Remove aria-expanded from collapse.js target element aria-expanded="true"/aria-expanded="false" only applies to the trigger, not the element that is being expanded/collapsed. * Tweak collapse.js accessibility section ...to make it clearer that the aria-expanded attribute always just goes on the control. * Fix collapse.js unit tests - reword some of the text to make it clear we're checking behavior of trigger/control - move incorrect aria-expanded out of the <div>s and to the actual trigger/control <a>s - fix incorrect test assertion text output false -> true
2017-04-10Only change aria-pressed if it's not an input-based radio or checkbox groupPatrick H. Lauke1-0/+18
* Only change aria-pressed if it's not an input-based radio or checkbox group aria-pressed="true"/aria-pressed="false" is really only useful for making on/off toggles out of, say, `<button>` elements. the attribute is useless (and potentially confusing/conflicting) on, say, `<label>` elements for an existing `<input type="radio">` or similar. * Add unit test for buttons.js and radio/checkbox inputs in button groups
2017-04-08Merge branch 'v4-dev' into dropdown-keyboardPierre Vanduynslager16-347/+1155
2017-04-03Fix #22332: Adjust tests for hidden scrollbarIlias1-3/+15
2017-04-02Fix #18373: properly adjust padding-right of body and fixed elements when ↵Ilias1-28/+95
opening or closing modal
2017-04-02Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, ↵Pierre Vanduynslager4-60/+209
.nav-item, <li> etc...)
2017-03-31Popover + Tooltip - fix error when content or title is a numberJohann-S2-0/+34