Johann-S
cc455c16c3
Fix bad position for Tooltips with animation at true
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
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
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
Johann-S
d8996a7e0a
Fix arrow for tooltip and popover
2017-05-14 11:41:19 +02:00
Johann-S
b40b1bc396
Add attachment classes
2017-05-14 11:41:19 +02:00
Johann-S
81e07ec052
Begin to add arrow to Popover and Tooltip
2017-05-14 11:41:19 +02:00
Johann-S
6cf0fe8780
Use Popper for tooltip and popover
2017-05-14 11:41:19 +02:00
Patrick H. Lauke
fb3303f5dd
Fix for copy/paste error in iOS hack to tooltips
...
(with apologies, this slipped through due to build system problems on my
end)
2017-04-20 14:35:33 +01:00
Patrick H. Lauke
ef099ad05d
Add iOS hack to tooltips
...
Same hack as in https://github.com/twbs/bootstrap/pull/22426 (modulo the selector, which is wrong in that PR and will be updated in a separate PR) to get tooltips to work correctly on iOS. Dynamically adds/removes empty (`noop`) `touchstart` event handlers to all children of `<body>` in order to coax iOS into proper event delegation/bubbling
2017-04-20 13:49:35 +01:00
Johann-S
5142de7e59
Popover + Tooltip - fix error when content or title is a number
2017-03-31 10:03:54 +02:00
Pierre Vanduynslager
48c5efa4c3
Fix JS components console error "Error: <Component> is transitioning"
2017-03-28 23:43:15 +02:00
Johann
904efc043d
Fix different tooltips offset when hovering
2017-03-28 15:55:03 +02:00
Mark Otto
045888fa38
version bump
2017-01-06 08:38:04 -08:00
Max Beatty
aa7f95fd77
update click state when hiding so can be shown again by trigger. fixes #16732
2016-12-27 14:19:12 -08:00
Mark Otto
1f9619a517
Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into tracker1-patch-1
2016-12-21 20:34:29 -08:00
Starsam80
bf39bb3ac3
Rename .active
to .show
2016-12-07 21:20:15 -07:00
Johann
297c47c3fd
[V4] Throw error when a plugin is in transition ( #17823 )
...
* Throw error when a plugin is in transition
* Add unit tests about plugins in transition
2016-12-02 09:52:19 -08:00
Bardi Harborow
535fec93cf
Hide popovers when their containing modal is closed. ( #21227 )
2016-11-29 09:45:14 -08:00
Mark Otto
82875586c1
Merge branch 'v4-js-carousel' of https://github.com/J2TeaM/bootstrap into J2TeaM-v4-js-carousel
2016-11-28 13:39:56 -08:00
andyexeter
0ded703f6b
Implement container option for tooltips and popovers.
2016-11-26 19:13:15 +11:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Johann
a7f1b59959
Making .tooltip('show') throw an error on elements with display:none ( #20940 )
2016-10-31 20:33:53 -07:00
Bardi Harborow
0974267b8c
Move from $.proxy to es6 arrow functions. ( #21049 )
2016-10-31 20:32:36 -07:00
Johann-S
9d129a43d6
Use a single class name for opened/expanded/shown state of widgets
2016-10-25 14:07:41 +02:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
Mark Otto
259fa88e3e
Merge pull request #17614 from Johann-S/patchTooltip
...
[Fix #17611 ][V4] Change destroy to dispose for tooltip in _JQueryInterface
2016-10-10 13:03:28 -07:00
Mark Otto
e7f79b32f2
Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into brnrdog-tooltip-arrow
2016-10-09 19:56:30 -07:00
Bardi Harborow
2e69dfa8c1
Fix broken/redirected links, moving to HTTPS where possible. ( #20557 )
2016-10-03 09:55:59 -07:00
J2TeaM
4f520c7ff3
Merge #20563 and #20567
2016-09-07 10:09:54 +07:00
Mark Otto
5495a4b3d3
versions
2016-09-05 12:41:44 -07:00
Mark Otto
24e992a6ff
bump versions
2016-07-27 09:31:24 -07:00
Michael J. Ryan
681d390a05
Update tooltip.js
...
match project's style check
2016-03-14 13:29:03 -07:00
Michael J. Ryan
1a23279237
Update tooltip.js
...
Don't reference `Tether` via attachment to `window`, with the update one can import bootstrap providing the dependencies in webpack with:
```
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
Tether: 'tether',
});
```
Then inside one's own bootstrap/globals, `import 'bootstrap';` will simply work, and $/jQuery can be used from there.
I had wanted to do this, but also expose jQuery, Tether, etc when in development build in my code, but if I provide `window.Tether`, I can't then expose it to the outside...
2016-03-14 13:18:08 -07:00
Chris Rebert
31d4139a74
Update version numbers using npm script
...
Errata from:
* 8ce5da3026
* 5d3144e8fb
which missed a few numbers.
[skip sauce]
[skip validator]
2015-12-08 18:16:47 -08:00
Mark Otto
5d3144e8fb
manually bump versions because npm script wasn't working for me
2015-12-08 09:36:08 -08:00
Chris Rebert
75c39f9138
Fix version numbers is JS files; fixes #18435
...
[skip sauce]
[skip validator]
2015-12-05 02:19:46 -08:00
Jacob Thornton
ece98f980c
add undefined for now
2015-11-14 20:43:45 -08:00
Jacob Thornton
d600831a15
add explicit error for lack of tether in tooltips - fixes #17273
2015-11-14 20:35:10 -08:00
Jacob Thornton
186c1c6d80
Merge branch 'v4-dev' of https://github.com/lincolndbryant/bootstrap into lincolndbryant-v4-dev
2015-11-14 19:49:48 -08:00
Jon Tewksbury
2d87ec9a64
Add eslint no-undef rule and resolve errors
2015-11-03 15:04:26 -08:00
Johann-S
21a65f181e
Add throw error for undefined method on plugins
2015-10-02 10:01:24 +02:00
Johann-S
6d451ad99d
Change destroy -> dispose
2015-09-16 09:46:55 +02:00
Gleb Mazovetskiy
c7d8e7a077
Accept elements as the tooltip / popover content
...
When a DOM node is passed to an HTML tooltip, the `title` node is only
moved if it is not already in the tooltip. Otherwise, `empty()` is used
instead of `detach()` before appending the `title` to avoid memory
leaks. If a DOM node is passed to a plain text tooltip, its text is
copied via jQuery `.text()`.
Replaces `.detach()` with `.empty()`, as `.detach()` is almost never
useful but instead leaks memory. The difference between `empty` and
`detach` is that the latter keeps all the attached jQuery events/data.
However, since we do not return the previous children, the user would
have to keep these themselves, thus they can `detach()` if necessary.
This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-31 01:06:13 +01:00
Bernardo Gurgel Filho
2ae5fdf9dd
Convert tooltip's arrows to generated CSS content via :before
2015-08-26 17:20:01 -03:00
Jelle Versele
54c4eb950b
fixes #17097 : Go back to using jQuery's text and html methods since innerText is nonstandard and not present in Firefox
...
Closes #17272 by merging a tweaked version of it.
[skip validator]
2015-08-26 01:00:46 -07:00
lbryant
8b15b5a262
_removeTetherClasses is no longer referenced
2015-08-20 01:22:16 -04:00
lbryant
926fb11158
use Tether addTargetClasses: false option instead of manually removing them
2015-08-20 01:03:29 -04:00
Jacob Thornton
18ff57a183
js tests passing + eslint
2015-08-18 19:22:46 -07:00
fat
eaab1def7a
add simple type checker implementation
2015-05-13 14:46:50 -07:00
fat
f8b2569ec8
implement global dispose method
2015-05-13 12:48:34 -07:00
fat
ab1578465a
grunt test-js, grunt dist-js now working
2015-05-12 16:52:54 -07:00
fat
a58febf71a
popover passing as well
2015-05-12 14:35:00 -07:00
fat
3452e8dc83
rewritten tooltip + tether integration and death to our positioner jank
2015-05-11 23:32:37 -07:00