XhmikosR
384eccbfaf
Prepare v5.0.0-alpha3 ( #32122 )
2020-11-11 19:07:37 +02:00
XhmikosR
421e2482e2
Streamline jQuery comment. ( #32016 )
2020-11-01 15:49:51 +02:00
Sascha
c21506d499
Fix TypeError when Bootstrap is included in head
( #32024 )
...
* extend jquery after domContentLoaded event is fired
* add unittest for util onDOMContentLoaded
* wait for trigger jquery event after domContentLoaded
* remove domcontentready from eventHandler
* move istanbul ignore statements to correct line
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-01 15:32:36 +02:00
XhmikosR
b083c9639f
Prepare v5.0.0-alpha2. ( #31748 )
2020-09-29 18:33:00 +03:00
Hiws
43b4252a34
fix tooltip hide method when already hidden ( #31115 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-24 14:55:38 +03:00
XhmikosR
6d86b140f9
Add parentheses around multiple spread conditions
2020-07-12 15:52:25 +03:00
XhmikosR
0eb120eea0
tooltip.js: remove variable used once.
2020-07-12 15:52:25 +03:00
XhmikosR
f15af45c6e
Unbreak lines.
2020-07-12 15:52:25 +03:00
Patrick H. Lauke
edbcc401c2
Change whitelist to allowlist ( #31066 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-19 11:31:37 +03:00
Tanguy Krotoff
d80a9fc553
Fix tooltip when hovering a children element (delegateTarget) ( #30928 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-18 10:02:44 +03:00
XhmikosR
94a5d87e15
Unbreak short lines
2020-06-17 16:58:56 +03:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
XhmikosR
38ec7c4df7
Bump version to 5.0.0-alpha1 ( #29925 )
...
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-13 22:36:00 +03:00
Martijn Cuppens
c8d68fbec7
Drop closest from SelectorEngine ( #30653 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-28 22:17:23 +03:00
Tanguy Krotoff
d7f0f1aac9
Replace event.delegateTarget with event.target
...
No need for fixEvent() anymore
2020-04-17 18:22:15 +03:00
XhmikosR
9a5033d413
Pass multiple classes to classList.add
/ classList.remove
( #30537 )
...
This is supported by our currently supported browsers.
2020-04-09 20:56:43 +03:00
XhmikosR
ed94976ea8
Use textContent
instead of innerText
. ( #30462 )
...
It's supported by all of our supported browsers.
2020-03-29 09:53:57 +03:00
Johann-S
26d86fce2a
fix: remove make array util function ( #30430 )
2020-03-25 16:35:02 +02:00
XhmikosR
38333feda5
Switch to strings constants.
...
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly.
While at it, remove a few unused properties.
File Before After Diff
--------------------------------------------------------
bootstrap.bundle.min.js 23.61 kB 22.61 kB -1.00 kB (-4.23 %)
bootstrap.min.js 17.04 kB 16.08 kB -0.96 kB (-5.63 %)
2020-03-18 12:58:54 +02:00
Sparks
c47547cd09
Improvement: harmonize usage of constants ( #30285 )
2020-03-09 17:26:29 +02:00
XhmikosR
9c2b9ac74d
Use regex.test() when we want to check for a Boolean. ( #29969 )
2020-01-07 22:07:51 +02:00
Johann-S
3d12b541c4
return to the original file structure to avoid breaking modularity
2019-10-03 09:55:57 +02:00
Johann-S
85b70cef3c
rewrite tooltip unit tests
2019-07-23 14:23:50 +02:00
david-lallement
0829decce0
tooltip dispose:removing only own event handler ( #28896 )
2019-06-13 10:42:54 +02:00
Johann-S
c805aec770
fix popover arrow by selecting the first element child
2019-05-14 15:28:43 +02:00
XhmikosR
438e01b61c
Rename eventHandler
and selectorEngine
files.
2019-05-08 17:26:37 +03:00
XhmikosR
dd0239d169
Remove more unused properties.
2019-03-11 17:01:28 +02:00
XhmikosR
46c037410b
Comply to the new rules.
2019-03-11 17:01:28 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
Peter Blazejewicz
cbd333185e
Use consistent arrow class ( #28105 )
2019-02-20 22:05:45 +02:00
Johann-S
a2f1d79045
Refactor util plugin and some tests
2019-02-20 22:05:45 +02:00
Johann-S
c44db783bf
chore(update): bump to 4.1.3
2019-02-20 22:05:45 +02:00
Johann-S
467dd113c5
fix(plugins): save instance in constructor
2019-02-20 22:05:45 +02:00
Johann-S
64591b3722
fix(manipulator): increase coverage for manipulator
2019-02-20 22:05:45 +02:00
Johann-S
2b78078779
fix(data): do not use data object in our unit tests
2019-02-20 22:05:45 +02:00
Johann-S
99c3119c82
Return a new function with Util.noop
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
cc6e130fc1
tooltip without jquery
2019-02-20 22:05:45 +02:00
Johann-S
fb465c4745
Remove jQuery from Util.js
...
s
2019-02-20 22:05:45 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. ( #28252 )
2019-02-13 18:01:40 +02:00
Johann-S
7bc4d2e0bc
Add sanitize template option for tooltip/popover plugins.
2019-02-13 08:32:15 +02:00
Mark Otto
1ded0d6a4e
Release v4.3.0 ( #28228 )
...
* Prep for v4.3.0
* More updates for v4.3.0.
* rerun to build docs source map
2019-02-11 11:15:34 -08:00
Jason Golieb
8f6cffde97
Move offset function logic to a private function.
2019-02-05 10:24:49 +02:00
Jason Golieb
88a34aacbe
Add support for tooltip offset option to be a function.
2019-02-05 10:24:49 +02:00
Mark Otto
9e4e94747b
Bump to v4.2.1 ( #27892 )
2018-12-21 10:55:28 -08:00
Mark Otto
eda851ee76
Prep for v4.2.0 release
...
- Move 4.1 docs to 4.2
- Update versions everywhere to 4.1.3 with release script
- Manually bump the shorthand version in package.json
- Add 4.2 to the versions docs page
- Update some redirects
- Fix tests asset URLs
- Bump Nuget and more
2018-12-21 09:03:29 -08:00
Johann-S
b16127fc10
Allow Tooltips/Popovers to work in shadow DOM
2018-12-05 16:02:59 +01:00
Johann-S
37f74c7070
fix regression about using element for tooltip container option
2018-12-05 10:57:02 +01:00
Johann-S
9201a80510
some cleaning and changes for readability
2018-11-14 10:54:50 +01:00
Johann-S
f7a4b39767
handle detached tooltip when we try to hide a modal
2018-11-02 13:39:58 +01:00
XhmikosR
0a3755b30a
Fix typo in the Popper.js checks. ( #27488 )
2018-10-21 11:51:20 +03:00
Johann-S
7c7a1706c3
remove useless iife
2018-09-26 15:03:38 +02:00
XhmikosR
acd19de6a9
Use ES6 arrow function.
2018-08-12 22:22:12 +03:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Mark Otto
c4ccfbe04e
Ship v4.1.2
2018-07-12 09:27:14 -07:00
Johann-S
e57a2f244b
fix(tooltip): get tip on placement change
2018-06-25 16:54:14 +02:00
Johann-S
a79b8aa16a
refactor(plugins): query elements without jquery
2018-06-03 11:40:08 +02:00
Johann-S
2d90d369bb
fix(tooltip): xss in container option
2018-06-01 09:10:25 +02:00
Mark Otto
779ad9f174
Bump version to v4.1.1
2018-04-30 09:04:33 -07:00
Johann-S
ba10b63c9d
fix issue related to Object.keys and Dropdown issue
2018-04-13 18:59:30 +02:00
Mark Otto
8f7bd41993
Ship v4.1.0 ( #26218 )
...
* update docs path from docs/4.0/ to docs/4.1/
* bump version to 4.1.0
* Update redirects to work for 4.1 docs move
* Update docs version switcher to include latest and link to 4.0 docs
* re-run dist
* Update package-lock.json
* Update docs-navbar.html
2018-04-09 09:00:23 -07:00
Johann-S
bedc96e48b
Use transitionEnd in QUnit since we moved away from PhantomJS
2018-03-20 15:56:51 +01:00
Martijn Cuppens
1fadad1c33
Variable transition durations ( #25662 )
2018-03-13 09:59:20 +01:00
Martijn Cuppens
8cfbf6933b
Consistent usage of $(document.body) instead of $('body') ( #25671 )
2018-02-21 09:01:02 +01:00
Mark Otto
572d00ac7e
Bump version to 4.0.0
2018-01-18 10:24:51 -08:00
XhmikosR
80d0943b95
Comply to the new rules.
2018-01-11 18:48:46 +02:00
Mark Otto
ced70da441
Update version to 4.0.0-beta.3
2017-12-28 09:50:04 -08:00
Troy Morehouse
6f1e746d70
tooltip+popover: add boundary config option ( #24979 )
2017-12-12 11:36:54 +02:00
Vasilii Artemchuk
2cafb9f127
Simplify spread ( #24774 )
2017-11-15 09:44:17 +01:00
Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 ( #24665 )
2017-11-13 11:25:36 +01:00
Johann-S
2232b6b4d1
Throw error about Popper.js only when it's needed because some of our plugins don't use it ( #24573 )
2017-10-29 15:51:04 -07:00
Johann-S
62fbb23ee6
Change Rollup config to wrap our dist files with jQuery instead of $
2017-10-24 12:39:25 +02:00
Johann-S
1487c3a994
Add Util.jQuery
which will detect jQuery instead of relying on global $
( #24513 )
2017-10-23 10:35:27 +03:00
Mark Otto
dbf5405cfd
fix version number
2017-10-19 12:23:29 -07:00
Mark Otto
cf00548f4e
new version number
2017-10-19 12:23:29 -07:00
Johann-S
b29b1e1558
Use imported jQuery object
2017-10-04 09:55:32 +02:00
vsn4ik
d5890cb82f
Remove not necessary condition in tooltip.js
2017-09-11 22:44:42 +03:00
Johann-S
9936bf5944
Create a bundled release of Bootstrap with Popper.js inside
2017-08-31 18:43:04 +02: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
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07:00
Johann-S
5f493cfc74
Remove the use of x-arrow attribute for Tooltips/Popovers arrows
2017-05-31 09:54:58 +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
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
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