XhmikosR
59692ce862
karma: stop excluding polyfill.js from istanbul ( #30740 )
2020-11-01 15:52:24 +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
Mitchell Bryson
3a5f9f5cf0
Check for data-interval on the first slide of carousel ( #31818 )
...
* check for data-interval on the first slide of carousel
* add updateInterval method for elements of a carousel
* add test for carousel interval being set during cycle
* update activeElement as soon as slide has finished (before transition end)
* only updateInterval before using it
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-01 14:36:50 +02:00
XhmikosR
e6f8428b28
polyfill.js minor tweaks ( #32011 )
...
* rename function to `supportsScopeQuery`
* use a ternary in `findOne` function return value
2020-11-01 07:38:55 +02:00
XhmikosR
0c1651ee9d
Remove Manipulator.toggleClass
( #31842 )
...
It's only used in one place so it makes more sense to remove it for the time being.
2020-10-05 18:07:49 +03: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
b345746bb6
Join template literals
2020-07-12 15:52:25 +03:00
XhmikosR
6d86b140f9
Add parentheses around multiple spread conditions
2020-07-12 15:52:25 +03:00
XhmikosR
a67231ae1c
Move function
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
b97fcd3289
scrollspy.js: minor refactoring
2020-07-12 15:52:25 +03:00
XhmikosR
f15af45c6e
Unbreak lines.
2020-07-12 15:52:25 +03:00
Rohit Sharma
91c11d6465
toasts: make default duration 5s ( #31109 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-12 15:43:26 +03:00
Rohit Sharma
f6348f6c89
Clear timeout before showing the toast ( #31155 )
...
* clear timeout before showing the toast
* Add unit test
* Remove the check for timeout
* Check for clearTimeout to have been called
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-07-11 11:51:04 -07:00
Shohei Yoshida
fb4efb49ea
Prevent overflowing static backdrop modal animation ( #30326 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-25 11:35:53 +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
12b754800c
collapse.js: return early.
2020-06-17 16:58:56 +03:00
XhmikosR
8debdf6ce6
Remove a couple of variables used once
2020-06-17 16:58:56 +03:00
XhmikosR
94a5d87e15
Unbreak short lines
2020-06-17 16:58:56 +03:00
Johann-S
088c727a31
data: reword storage key in dom
2020-06-17 15:45:36 +02:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
Martijn Cuppens
1a0a0858ef
Remove checkbox/radio toggle from button plugin in favor of a CSS only solution
2020-06-15 19:04:19 -07:00
Rohit Sharma
5faf41eb48
Add role="dialog" in modals via JavaScript ( #30936 )
2020-06-04 10:35:09 +03:00
XhmikosR
7966167cf6
Replace double tilde with Math.floor
( #30691 )
...
Nowadays, browser engines have improved a lot and `Math.floor` is the same, if not faster.
Also, clarity is better than micro-optimizations in this case.
2020-05-14 09:46:42 +03:00
XhmikosR
b07b342086
Partially Revert "Use regex.test() when we want to check for a Boolean. ( #29969 )" ( #30770 )
...
This partially reverts commit 9c2b9ac74d
.
2020-05-13 22:49:41 +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
Giovanni Mendoza
3e7566f2c3
Avoid bad scrollbar replacement into width values
2020-05-12 07:51:09 +03:00
XhmikosR
737b6925ab
Revert "Avoid bad scrollbar replacement into width values ( #30690 )"
...
This reverts commit 85c4788ded
.
2020-05-06 21:25:59 +02:00
Johann-S
f91788548c
enforce element check on scrollspy target ( #30747 )
2020-05-06 07:30:43 +03:00
XhmikosR
727e09b641
scrollspy.js: remove temporary variable ( #30724 )
2020-05-04 19:43:50 +03:00
Johann-S
85c4788ded
Avoid bad scrollbar replacement into width values ( #30690 )
2020-04-29 22:28:20 +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
7787f642b9
Fix crash when pressing ArrowUp the first time
2020-04-17 18:22:15 +03:00
Tanguy Krotoff
d7f0f1aac9
Replace event.delegateTarget with event.target
...
No need for fixEvent() anymore
2020-04-17 18:22:15 +03:00
Tanguy Krotoff
dcd99aa7d1
Replace event.which with event.key and event.button
2020-04-17 18:22:15 +03:00
XhmikosR
8547ab149a
collapse: don't rely on implicit conversion ( #30566 )
...
`config` can be an `Object` and we only need to test for `hide` or `show` if it's a `String`
2020-04-17 15:09:51 +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
ysds
dfa017adc3
Always modal scroll top to 0
2020-04-01 10:05:43 +03:00
XhmikosR
e1f5d819c7
Remove MSPointerEvent
and ms-touch-action
in tests ( #30463 )
2020-03-29 09:59:54 +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
Martijn Cuppens
2e150e722a
Use next dropdown menu instead of first of the parent
2020-03-23 15:35:07 +01:00
Johann-S
47aef7b2c6
Remove IE compatibility JS code
2020-03-18 20:59:27 +02:00
Johann-S
aff115219e
fix: ensure totype
always returns stringified null/undefined when null/undefined is passed ( #30383 )
2020-03-18 13:10:55 +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
Martijn Cuppens
7d8c7c4ba8
prev()
function fails when non-element nodes are present (#30117 )
...
The `prev()` function doesn't take nodes other than elements into account. Also we could simplify things a lot using the `previousElementSibling` property. This property isn't fully supported in IE, it only works for elements, but since the `element` variable is an element, we can safely use it here.
I've also added an additional test.
I don't think we had this issue in v4, since we relied on jQuery back then.
Ref. https://developer.mozilla.org/en-US/docs/Web/API/NonDocumentTypeChildNode/nextElementSibling
2020-03-09 17:21:04 +02:00
Giovanni Mendoza
954a0b1e6a
Close modal with keyboard=true & backdrop=static ( #29986 )
...
* Close modal with keyboard=true & backdrop=static
2020-01-10 11:06:12 +02:00
XhmikosR
5638499aba
sanitizer.js: Add srcset in the allowed attributes ( #29968 )
2020-01-07 22:46:28 +02:00
XhmikosR
5d1da6377d
Fix the new lint errors.
2020-01-07 22:25:50 +02:00
XhmikosR
9c2b9ac74d
Use regex.test() when we want to check for a Boolean. ( #29969 )
2020-01-07 22:07:51 +02:00
Steffen Roßkamp
c62efc3ef6
Update normalizeDataKey to match the spec ( #29609 )
2019-10-31 07:58:09 +02:00
Higor Araújo dos Anjos
46912797b2
Added animation when modal backdrop is static ( #29516 )
2019-10-25 21:12:09 +03:00
Jeremy Jackson
c1ee395f80
Skip hidden dropdowns while focusing ( #29523 )
2019-10-17 18:01:44 +03:00
XhmikosR
622c914a3a
Update devDependencies. ( #29447 )
2019-10-07 09:31:12 +03:00
Johann-S
3d12b541c4
return to the original file structure to avoid breaking modularity
2019-10-03 09:55:57 +02:00
XhmikosR
6cb4ebc048
ESLint: specify --report-unused-disable-directives
( #29350 )
2019-09-02 12:44:19 +03:00
Johann-S
a5cbb5e71a
dropdown show method should do the same as toggle
2019-08-25 15:54:22 +02:00
Markus Hatvan
4d101491da
Remaining JS linting TODO ( #29289 )
...
* Enable and fix all occurrences with no-mixed-operators rule
* Take care of the max-depth warning in button.js
Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-08-22 22:17:34 +03:00
Johann-S
6885d65578
dropdown - destroy old popper.js references
2019-08-22 20:30:16 +02:00
Johann-S
a9c35b3ca8
Remove useless check for null object with spread operator
2019-08-18 17:19:36 +03:00
XhmikosR
9cee3c2808
Minor wording tweaks
2019-08-18 17:19:36 +03:00
Johann-S
f03c10a189
allow to pass popper.js configuration for tooltip/popover and dropdown
2019-08-18 17:19:36 +03:00
Johann-S
8b2b490f9b
add a way to disable jQuery detection
2019-08-02 16:50:05 +02:00
XhmikosR
eecd75db00
Fix typos. ( #29178 )
2019-07-31 16:14:21 +03:00
Johann-S
dcba526775
remove underscore for static methods
2019-07-29 11:34:12 +02:00
Johann-S
2ea71a9e78
allow dynamic modal body for scrollable modals
2019-07-28 12:11:10 +02:00
Johann-S
fc02932946
use get selector from element only when needed
2019-07-24 11:27:35 +02:00
Johann-S
e48e498bf4
fix arrow popover ( #29115 )
2019-07-24 10:53:58 +03:00
Shohei Yoshida
ebb1eea520
Force reflow for fade-in animation ( #29113 )
2019-07-23 17:21:23 +03:00
Johann-S
233f3fb1ce
rewrite tab unit tests
2019-07-23 14:23:50 +02:00
Johann-S
e1b5d8471a
use qunit css for our fixture
2019-07-23 14:23:50 +02:00
Johann-S
b7b56cb10a
rewrite scrollspy unit tests
2019-07-23 14:23:50 +02:00
Johann-S
85b70cef3c
rewrite tooltip unit tests
2019-07-23 14:23:50 +02:00
Johann-S
c9e650a56f
rewrite popover unit tests
2019-07-23 14:23:50 +02:00
Johann-S
1ac07a66ce
rewrite modal unit tests
2019-07-23 14:23:50 +02:00
Anton Bershanskiy
e916a9bc03
rewrite toast unit tests
2019-07-23 14:23:50 +02:00
Johann-S
6a59c58480
rewrite dropdown unit tests
2019-07-23 14:23:50 +02:00
Johann-S
0ed1618c06
rewrite collapse unit tests
2019-07-23 14:23:50 +02:00
Johann-S
62730d9afd
rewrite carousel unit tests
2019-07-23 14:23:50 +02:00
Johann-S
747f0f4c7b
test jquery interface for our alert plugin
2019-07-23 14:23:50 +02:00
Johann-S
891a187059
rewrite button unit tests
2019-07-23 14:23:50 +02:00
Johann-S
c834895fa0
rewrite unit tests for selector engine
2019-07-23 14:23:50 +02:00
Anton Bershanskiy
fe6ba2384a
rewrite manipulator unit tests
2019-07-23 14:23:50 +02:00
Johann-S
c8c2074650
Switch from QUnit to Jasmine.
2019-07-23 14:23:50 +02:00
Patrick H. Lauke
f0f75379f6
Closing dropdown with ESC correctly sets focus to toggle ( #28928 )
...
Just firing the focus event isn't enough ... need to actually call the proper `focus()` method for it to actually do it...
2019-06-19 12:23:41 +03:00
david-lallement
0829decce0
tooltip dispose:removing only own event handler ( #28896 )
2019-06-13 10:42:54 +02:00
XhmikosR
8a79cf894d
event-handler.js: use a plain for loop. ( #28853 )
2019-06-03 13:08:17 +02:00
Johann-S
d5752a18ab
toast should allow prevent default for hide and show events
2019-05-16 13:24:29 +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
afc63ec887
Fix xo error: use for...of
.
2019-04-10 15:18:57 +03:00
ysds
f4877dbf03
Remove _close() and marge with _hide()
2019-04-09 13:59:41 +02:00
ysds
91ebb4b3b2
Call hide() after delay
time
2019-04-09 13:59:41 +02:00
Johann-S
1752addadf
Reset carousel touch delta x to prevent click transformation in swipe ( #28558 )
2019-03-27 14:37:04 +02:00
Johann-S
08679ac0b5
Add back support for IE 11
2019-03-18 01:11:05 +02:00
XhmikosR
6aa475c82e
Use one-line imports when possible. ( #28467 )
2019-03-13 14:55:53 +02:00
Johann-S
2fd50f98a5
build bootstrap in esm
2019-03-11 17:59:08 +02:00
XhmikosR
3ffe3a5d82
collapse.js: minor refactoring.
2019-03-11 17:01:28 +02:00
XhmikosR
1393678f0b
Remove obsolete comments.
2019-03-11 17:01:28 +02:00
XhmikosR
dd0239d169
Remove more unused properties.
2019-03-11 17:01:28 +02:00
Johann-S
dce47b5451
scrollspy.js: remove unused properties
2019-03-11 17:01:28 +02:00
XhmikosR
5ac1a12625
Remove assignment from return.
2019-03-11 17:01:28 +02:00
XhmikosR
46c037410b
Comply to the new rules.
2019-03-11 17:01:28 +02:00
XhmikosR
f7b55da450
dom/manipulator.js: minor simplification. ( #28358 )
...
Combine two checks since we return the same value for both.
2019-02-26 13:13:01 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
Johann-S
fee11fd7ae
use our selector engine instead of native api
2019-02-20 22:05:45 +02:00
XhmikosR
68e6de42ec
Use Util.makeArray()
.
2019-02-20 22:05:45 +02:00
Johann-S
e58b47cf74
improve event handler
2019-02-20 22:05:45 +02:00
XhmikosR
30861cbc6d
Simplify checks.
2019-02-20 22:05:45 +02:00
XhmikosR
4b7c058a25
Remove unneeded ESLint suppression.
2019-02-20 22:05:45 +02:00
Johann-S
08227506f2
use only dataset to get data attributes
2019-02-20 22:05:45 +02:00
Johann-S
764bab2941
remove polyfills which override browsers default
2019-02-20 22:05:45 +02:00
XhmikosR
f0c6b24bd7
4.3.1.
2019-02-20 22:05:45 +02:00
Joshua Wilson
fdbb5db919
minor jQuery.hasclass removal ( #28158 )
2019-02-20 22:05:45 +02:00
Peter Blazejewicz
cbd333185e
Use consistent arrow class ( #28105 )
2019-02-20 22:05:45 +02:00
Emil Müller
049a500d18
Fixed Util.jQuery: window.$ is not reliable. Both Firefox and Chrome implements $ natively.
2019-02-20 22:05:45 +02:00
Johann-S
661db08eeb
rewrite toast plugin without jquery
2019-02-20 22:05:45 +02:00
Johann-S
57d50b2134
Improve manipulator coverage
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
6cfc78f2d9
Remove IE support and button bsChecked hack
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
0b726de94e
fix(carousel): on load page create a carousel
2019-02-20 22:05:45 +02:00
Johann-S
6b0808354d
fix(unit-test): dropdown, collapse and carousel
2019-02-20 22:05:45 +02:00
Johann-S
8010c010e9
fix(event-handler): use Object.key for passing values in an event
2019-02-20 22:05:45 +02:00
Johann-S
096413a994
fix(selector-engine): increase coverage for selector engine
2019-02-20 22:05:45 +02:00
Johann-S
4510e7e61d
fix(util): remove extend
2019-02-20 22:05:45 +02:00
Johann-S
b4a3b00ac8
fix(event-handler): remove polyfill and move it to index
2019-02-20 22:05:45 +02:00
Johann-S
fe580a8e5a
fix(polyfill): disable coverage for our polyfills
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
4d6e41dea6
refactor(polyfill): a file for polyfills
2019-02-20 22:05:45 +02:00
Johann-S
0b719e065c
fix(data): increase coverage for data
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
7eddee286e
remove old references to jquery and some fixes
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
0263d1742c
rewritten scrollspy without jquery
2019-02-20 22:05:45 +02:00
Johann-S
9744886519
upgrade to v4 stable
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
7f08061eca
rewritten tab without jquery
2019-02-20 22:05:45 +02:00
Johann-S
90261b484c
Dropdown without jQuery
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
ec69de4b7e
allow register the same handler for different delegated selectors in eventHandler
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
Johann-S
b5077a1a81
fix one forgets of using jQuery in Carousel and Tooltip
2019-02-20 22:05:45 +02:00
Johann-S
2929bf9619
fix weird case with jQuery
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
cc6e130fc1
tooltip without jquery
2019-02-20 22:05:45 +02:00
Johann-S
7c1d0a1097
Wrap our objects into IIFE
2019-02-20 22:05:45 +02:00
Johann-S
69e4d4f3ac
Rewrite Collapse without jQuery
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
53ca76ebc0
Workaround for M$ Edge resetting defaultPrevented flag upon dispatchEvent
2019-02-20 22:05:45 +02:00
Alessandro Chitolina
33211eefdf
Rewritten modal without jquery ( #23955 )
...
* Trigger jquery events if available in event handler
* Rewritten modal without jquery
2019-02-20 22:05:45 +02:00
Johann-S
9f9712b98c
Add Manipulator object to add shortcuts for dom manipulations
2019-02-20 22:05:45 +02:00
Johann-S
44f38e4128
Rewrite carousel without jquery
2019-02-20 22:05:45 +02:00
Johann-S
c5595e5b67
Add polyfill for focusin and focusout
2019-02-20 22:05:45 +02:00
XhmikosR
aba87279fd
button without jquery
2019-02-20 22:05:45 +02:00
Johann-S
47242cd0fe
Fix delegation events
2019-02-20 22:05:45 +02:00
Johann-S
7d7873b6f2
Check jQuery version only if jQuery is available
2019-02-20 22:05:45 +02:00
Johann-S
6b5850212e
Second element of find and findOne should be optional, not the first one
2019-02-20 22:05:45 +02:00
Johann-S
b69fa9db95
Fix our data storage
2019-02-20 22:05:45 +02:00
Johann-S
f2f69970eb
Add findOne to our SelectorEngine
2019-02-20 22:05:45 +02:00
Johann-S
79144adb12
Fix detection of nativeEvents + trigger events with arguments
2019-02-20 22:05:45 +02:00
XhmikosR
3e8bc9d9ec
Extend SelectorEngine.find()
to include an element
first arg.
...
If not supplied, it'll just use `document`.
2019-02-20 22:05:45 +02:00
Johann-S
3664d14908
fix declaration of alert jquery plugin only if jquery is available
2019-02-20 22:05:45 +02:00
Johann-S
4aef395e49
Disable ESlint on no-return-assign and temporary for arrow-body-style
2019-02-20 22:05:45 +02:00
Johann-S
2970d14dd9
Remove jQuery from alert.js and add .alert only if jQuery is available
2019-02-20 22:05:45 +02:00
Johann-S
a3398fffd6
Add event delegation + fix EventHandler.one
2019-02-20 22:05:45 +02:00
Johann-S
00ca781171
Add namespaced events
2019-02-20 22:05:45 +02:00
Johann-S
744071040e
Add CustomEvent polyfill and a working preventDefault for IE
2019-02-20 22:05:45 +02:00
Johann-S
d6560bbc81
better polyfill for closest and matches functions
2019-02-20 22:05:45 +02:00
Johann-S
0b16c8c6d9
alert without jquery
2019-02-20 22:05:45 +02:00
Johann-S
8d34bc136b
Move transition end detection to dom/event.js instead of util.js
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
Johann-S
3c49467224
allow to override default toast options ( #28186 )
2019-02-06 15:19:04 +02:00
Johann-S
11880109fc
fix tabs, apply show class only when fade class is present ( #28183 )
2019-02-06 11:12:02 +01:00
Jason Golieb
e44d0475e0
Move dropdown offset function logic into private function. ( #28138 )
2019-02-05 10:31:18 +02: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
Shohei Yoshida
de0bb1e052
Scrollable modal ( #27769 )
2019-01-20 23:28:16 +02:00
Johann-S
d51ee0dcf1
Fix Carousel's touch option to not add touch listeners when set to false ( #28046 )
2019-01-14 18:53:54 +02:00
Johann-S
89a73f100e
carousel should not cycle when there is no data-ride on init ( #27968 )
2019-01-04 18:15:01 +02:00
Johann-S
3bd9fb3649
getSelectorFromElement return null on bad selectors ( #27912 )
2018-12-23 14:30:35 +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
1f4d7903db
fix fade animation for toast
2018-12-10 10:38:11 +01:00
Mike Vastola
fc15c4c4ce
Change button checkbox/radios to ignore hidden input fields ( #27802 )
2018-12-10 10:40:08 +02:00
Patrick H. Lauke
c70b043a76
Remove nonsensical boolean check ( #27787 )
...
...as it always evaluates to true
2018-12-06 13:30:12 +02:00
Patrick H. Lauke
6c00dd08bc
Add aria-modal to modals ( #27780 )
...
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden
2018-12-05 20:58:09 +02: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
ysds
0140552322
Fix body scrolling issue when modal open ( #27698 )
2018-11-23 13:41:42 +01:00
Tieson Trowbridge
ab183384ee
Allows both OL and UL lists for tab buttons
2018-11-20 09:58:04 +01:00
Johann-S
9201a80510
some cleaning and changes for readability
2018-11-14 10:54:50 +01:00
Johann-S
557d5ac74d
Remove the show delay for our toast plugin
2018-11-13 08:47:32 +02:00
Laussel Loïc
4cac833447
Implement data-dismiss="toast"
to allow user to interact itself with the component ( #27155 )
2018-11-13 08:47:32 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
patrickhlauke
c46a0c7e88
Replace touch-action: none with pan-y, remove preventDefault from touch event handling
2018-11-04 14:40:19 +02:00
Johann-S
f7a4b39767
handle detached tooltip when we try to hide a modal
2018-11-02 13:39:58 +01:00