XhmikosR
31c8721913
Normalize all links. ( #24109 )
...
* 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-26 15:24:14 +03:00
Johann-S
9b8356ba52
Collapse - Allow to pass jQuery object or DOM element to the parent option
2017-09-25 13:23:13 +02:00
Patrick H. Lauke
fd56ea370c
Accessibility fixes to dynamic tabs (aria-selected
, remove dynamic tabs 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-24 12:00:54 +02:00
Troy Morehouse
6c70c70f63
fix(scrollspy): Spying on nested navs fails to activate for .nav-link's 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-17 09:30:37 +02:00
Mark Otto
75d435f76e
dist
2017-09-12 22:24:15 -07:00
vsn4ik
d5890cb82f
Remove not necessary condition in tooltip.js
2017-09-11 22:44:42 +03:00
Johann-S
96659a3cad
Merge branch 'v4-dev' into collapse-js-with-text-truncate
2017-09-11 10:54:35 +02:00
Mark Otto
d8a5147c38
dist
2017-09-09 16:59:37 -07:00
Patrick Yeo
4527652177
Collapse.js preventDefault if [data-toggle="collapse"]
is an anchor tag
2017-09-08 14:53:15 -07:00
Johann-S
b822b5a17f
Remove placement attribute from our Dropdown plugin
2017-09-07 13:51:25 +02:00
Mark Otto
df47558ef6
dist
2017-09-05 21:05:12 -07:00
Johann-S
e04e42d08c
Merge branch 'v4-dev' into fix-jumping-modal-on-resize
2017-09-03 12:56:04 +02:00
Johann-S
37e105333d
Merge branch 'v4-dev' into fix-unwanted-padding-on-modal
2017-09-02 09:04:04 +02:00
Johann-S
a4667be152
Regroup our jQuery check in the same IIFE
2017-08-31 20:54:15 +03:00
Johann-S
9936bf5944
Create a bundled release of Bootstrap with Popper.js inside
2017-08-31 18:43:04 +02:00
David Bailey
cbaf7a7b79
Fix failing test
...
_adjustDialog should be called when the modal is first displayed to prevent it jumping position when the viewport is resized
2017-08-29 15:42:58 +01:00
David Bailey
ce41d3fd15
Add failing test
2017-08-29 15:36:37 +01:00
David Bailey
2622a015f2
Fix unit tests in PhantomJS
...
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-29 12:01:41 +01:00
David Bailey
3f2a8db471
Use getBoundingClientRect instead of jQuery
2017-08-28 18:55:45 +01:00
David Bailey
2725acc9e5
Use jQuery outerWidth instead of offsetWidth
2017-08-28 18:44:56 +01:00
David Bailey
a4fff7c383
Fix unwanted body padding when a modal opens
...
Prevents the test from failing
2017-08-28 18:35:47 +01:00
David Bailey
487513ff03
Add failing test
...
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-28 16:21:04 +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
Johann-S
2d87895089
Update path to our docs assets for visual tests
2017-06-04 11:08:31 +02:00
Mark Otto
620257456e
build
2017-05-31 21:25:47 -07:00
Mark Otto
332d882cdb
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-31 20:46:29 -07:00
Johann-S
5f493cfc74
Remove the use of x-arrow attribute for Tooltips/Popovers arrows
2017-05-31 09:54:58 +02:00
Mark Otto
2fd192968d
Merge branch 'v4-dev' into v4-docs-streamlined
2017-05-30 23:31:40 -07:00
CDAGaming
ccd86bdc96
Update Dependencies (REUPLOAD) ( #22594 )
...
* 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 <cstack2011@yahoo.com>
* Update Gem Bundler Dependency
Signed-off-by: CDAGaming <cstack2011@yahoo.com>
* Update Gemfile.lock Dependency
Signed-off-by: CDAGaming <cstack2011@yahoo.com>
* Update QUnit
Signed-off-by: CDAGaming <cstack2011@yahoo.com>
* Update Uglify-JS to v3.0.13
Signed-off-by: CDAGaming <cstack2011@yahoo.com>
2017-05-30 21:11:56 -07:00
Mark Otto
73a550c7f8
update paths
2017-05-29 23:32:28 -07:00
Geremia Taglialatela
db44e4b311
Update nav and navbar HTML markup
...
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-27 15:21:49 -07:00
Mark Otto
4282d892f3
build
2017-05-26 20:20:10 -07:00
Johann-S
4c3b6c5ceb
Placement auto for popovers
2017-05-24 14:57:40 +02:00
Johann-S
2c72af88ee
Placement auto for tooltips
2017-05-24 14:57:40 +02:00
Johann-S
aa36439e17
Use Popper.js to manage arrow position
2017-05-23 15:19:54 +02:00
Johann-S
70f4a30def
Better management of dropdown/dropup with alignment
2017-05-22 16:14:10 +02:00
Johann-S
b36d8ae6cb
Use popper to align dropdown menu instead of using css with important
2017-05-17 22:03:11 +02:00
Johann-S
3719ed4cb6
build
2017-05-16 10:09:48 +02:00
Johann-S
c78cbb275b
Change fallbackPlacement to flip by default for Tooltips/Popovers
2017-05-14 11:41:19 +02:00
Johann-S
cc455c16c3
Fix bad position for Tooltips with animation at true
2017-05-14 11:41:19 +02:00
Johann-S
0cdf176f7a
Use _jQueryInterface for Dropdown to call toggle method
2017-05-14 11:41:19 +02:00
Johann-S
0ae9d28ba3
Add fallbackPlacement option for Tooltip and Popover
2017-05-14 11:41:19 +02:00
Johann-S
ab7dc8ae2a
Fix dropdown in scrollspy visual test (add Popper.js)
2017-05-14 11:41:19 +02:00
Johann-S
4f882a840c
Allow to disable flip behaviour on Dropdown + documentation
2017-05-14 11:41:19 +02:00
Johann-S
e5a0471b0b
Add an update method to allow to update position for Tooltip/Popover/Dropdown manually
2017-05-14 11:41:19 +02:00
Johann-S
fc8b85b626
Fix some css for the arrow of Popover/Tooltip + update documentation
2017-05-14 11:41:19 +02:00
Johann-S
18e4e851e2
Better placement for Dropdown + Handle flip of Tooltip/Popover
2017-05-14 11:41:19 +02:00
Johann-S
d5fabf8de5
Remove totaly Tether from documentation + dependencies
2017-05-14 11:41:19 +02:00
Johann-S
53ee455bc7
Handle dropup for Dropdown
2017-05-14 11:41:19 +02:00
Johann-S
69de65180f
Fix unit tests + Update Popper to 1.6.0
2017-05-14 11:41:19 +02:00
Johann-S
c21a2b0d92
Remove constraints option and check every options
2017-05-14 11:41:19 +02:00
Johann-S
54a8ab4011
Begin to use Popper for Dropdown
2017-05-14 11:41:19 +02:00