Commit Graph

1399 Commits

Author SHA1 Message Date
David Bailey ce41d3fd15 Add failing test 2017-08-29 15:36:37 +01:00
meeque 9612830701 Add unit test for xss in data target attribute 2017-08-25 23:20:14 +01:00
Johann-S bcad4bcb5f Fix XSS in data-target 2017-08-25 23:20:14 +01:00
David Bailey ba6a6f1369 Fix sticky margin when a modal is opened (#23669)
* 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-25 22:01:41 +01:00
Johann-S 5a90b4aa3e Collapse - preventDefault only on <a> elements not inside the collapsible
element
2017-08-25 09:48:35 +01:00
Johann-S 4571ab0e57 Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover was disabled 2017-08-24 09:33:49 +01:00
Johann-S 6063b0dc65 Enable the `no-return-assign` rule. 2017-08-23 00:05:38 +03:00
XhmikosR ef8c77d8dc Tweak ESLint rules. 2017-08-23 00:05:38 +03:00
Mark Otto 6bea2e24fe dist 2017-08-20 13:36:58 -07:00
Mark Otto 25bbfcdd7c dist 2017-08-20 12:09:33 -07:00
XhmikosR 74d96392d2 Update devDependencies and fix a typo in comment. (#23534) 2017-08-18 16:55:59 +03:00
Johann-S 58994a16c5 Add a unit test to check if the carousel do not cycle when its parent isn't visible 2017-08-17 17:48:14 +01:00
Johann-S d2bd8fb7a9 Unit test to check if our carousel do not cycle when we cannot see it 2017-08-17 17:48:14 +01:00
Johann-S 58b54b6c15 Carousel - do not call next when the carousel or the parent isn't visible 2017-08-17 17:48:14 +01:00
Mark Otto ca7b7cd377 dist 2017-08-14 20:23:45 -07:00
Mark Otto 2be34d5ce9 dist 2017-08-13 12:59:27 -07:00
Johann-S 2eb1e687bd Improve previous selector for nested tabs 2017-08-11 15:04:07 +03:00
Johann-S edf90c1bc4 Add unit test for nested tabs 2017-08-11 15:04:07 +03:00
Johann-S 640c13062c When we show our tabs element use children to be more restrictive 2017-08-11 15:04:07 +03:00
XhmikosR b55fa5579b tabs: make the `active` selector more restrictive again.
When one uses say a carousel inside a tab, the `.active` selector previously matches the carousel ones too leading to broken tabs.

It's not the perfect solution but should the job for now.
2017-08-11 15:04:07 +03:00
Mark Otto 35f80bb12e bump to beta 2017-08-10 20:56:35 -07:00
XhmikosR 88c9a1609c Fix ESLint docs errors. (#23163)
Ignore ESLint error in ie-emulation-modes-warning.js.

Although the error is valid, enough time has been spent on old IE's problems, so just ignore it.
2017-07-28 09:18:47 +03:00
Mark Otto 082c9d92fe dist 2017-07-16 13:11:21 -07:00
Bardi Harborow 028863dd08 Fall back to ESLint v3 indentation behaviour. 2017-07-16 13:51:16 +10:00
Bardi Harborow d35020cee8 Update dependencies. 2017-07-16 13:51:16 +10:00
Mark Otto 2a745e54de npm build 2017-07-04 11:55:16 -07:00
Johann-S 0480a75a5a Dropdown - Disable applyStyle modifier instead of removing inline style applied by Popper.js 2017-07-04 10:37:44 +02:00
Mark Otto 93b2682880 npm build 2017-07-02 10:40:27 -07:00
Mark Otto 337ead4b27 build dist 2017-07-01 22:25:38 -07:00
Mark Otto 7f6479b0d9 build dist 2017-06-30 15:45:27 -07:00
Mark Otto eedbe43ea7 build dist 2017-06-30 13:15:09 -07:00
Mark Otto 56d43eb3e9 Merge branch 'v4-dev' into colors-redux 2017-06-30 08:33:09 -07:00
Mark Otto f83c981d08 build dist 2017-06-30 08:32:49 -07:00
Mark Otto 6055453e41 Merge branch 'v4-dev' into colors-redux 2017-06-29 23:15:48 -07:00
Mark Otto f46f26bbaa build 2017-06-29 21:31:11 -07:00
Mark Otto 52cf0fe648 update instances of .bg-inverse and .bg-faded to .bg-dark and .bg-light 2017-06-25 18:31:23 -07:00
Mark Otto 36e482ed27 update navbars to rename .navbar-inverse to .navbar-dark, update all navbar examples and variables 2017-06-25 18:29:43 -07:00
Mark Otto 16d77b4cb0 build 2017-06-18 18:32:16 -07:00
Mark Otto 72a0093200 build 2017-06-18 00:14:35 -07:00
Johann-S 8170816094 Detect if the dropdown is in a navbar or not when update is called 2017-06-17 13:12:39 -07:00
Catalin Zalog f640ec9662 Some .navbar .dropdown-menu optimisation (#22776) 2017-06-17 13:12:39 -07:00
Johann-S af93db294b Reset Popper.js styles for Dropdowns in navbar 2017-06-17 13:12:39 -07:00
Mark Otto ce98a1da5b build 2017-06-17 10:13:43 -07:00
Johann-S 6ed8a735d0 fix some errors in our js 2017-06-16 10:57:13 +02:00
Mark Otto 9c0e423008 Rename popover classes
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-15 09:05:30 -07:00
Mark Otto 6c8c0aa4cf Rename .card-block to .card-body to match nomenclature of modals 2017-06-15 09:05:16 -07:00
Mark Otto 2e798301ca build 2017-06-14 20:44:32 -07:00
Johann-S f0124769c9 Collapse supports multi-target thanks to @vanduynslagerp (#22713) 2017-06-14 13:21:49 +02:00
Johann-S 4a2b183e48 Fix unit tests with no assertion 2017-06-14 11:18:12 +02:00
Johann-S 1ec68d748b Upgrade QUnit to 2.3.3 2017-06-14 11:18:12 +02:00