Martijn Cuppens
3dd0bde664
Fix carousel transition duration ( #25218 )
2018-02-19 10:10:25 +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
Johann-S
9a0bba9afa
Object spread : less jQuery more ES6 ( #24665 )
2017-11-13 11:25:36 +01: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
Johann-S
9936bf5944
Create a bundled release of Bootstrap with Popper.js inside
2017-08-31 18:43:04 +02:00
XhmikosR
ef8c77d8dc
Tweak ESLint rules.
2017-08-23 00:05:38 +03:00
XhmikosR
74d96392d2
Update devDependencies and fix a typo in comment. ( #23534 )
2017-08-18 16:55:59 +03: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
35f80bb12e
bump to beta
2017-08-10 20:56:35 -07:00
Patrick H. Lauke
6ae5fb12e6
Fix carousel "hover" behavior on touch-enabled devices
...
* Add carousel mouse listeners even if touch events enabled
- touch events are enabled not just on "mobile", just also on
touch-enabled desktop/laptop devices; additionally, it's possible to
pair a mouse with traditionally touch-only devices (e.g. Android
phones/tablets); currently, in these situations the carousel WON'T pause
even when using a mouse
* Restart cycle after touchend
as `mouseenter` is fired as part of the touch compatibility events, the
previous change results in carousels which cycle until the user
tapped/interacted with them. after that they stop cycling (as
`mouseleave` is not sent to the carousel after user scrolled/tapped
away).
this fix resets the cycling after `touchend` - essentially returning
to the previous behavior, where on touch the carousel essentially never
pauses, but now with the previous fix it at least pauses correctly for
mouse users on touch-enabled devices.
includes documentation for this new behavior.
2017-04-17 13:26:46 +01:00
Pierre Vanduynslager
48c5efa4c3
Fix JS components console error "Error: <Component> is transitioning"
2017-03-28 23:43:15 +02:00
Johann
c72a315740
Carousel - Add attributes from and to for Slid and Slide events ( #21668 )
...
Carousel - Add attributes from and to for Slid and Slide events
2017-03-22 22:42:13 +01:00
Pierre-Denis Vanduynslager
8fbd4aaa38
Correct reference to Direction.PREV constant. ( #21709 )
2017-01-15 13:46:03 +11:00
Mark Otto
045888fa38
version bump
2017-01-06 08:38:04 -08:00
Johann-S
b0508a975d
Closes : #21412 : Fix unit test for carousel
2016-12-23 22:56:55 +11:00
Matheus Azzi
dab6a41e04
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys
...
Fixes 2 bugs:
1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN.
2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
2016-12-23 17:55:40 +11:00
Mark Otto
1afb6959fa
remove commented out code
2016-12-04 21:05:57 -08:00
Mark Otto
1e3ec89355
Merge branch 'v4-dev' into carousel
2016-12-04 21:05:19 -08:00
Mark Otto
01f81dd552
fix js for previous
2016-12-04 20:27:21 -08:00
Mark Otto
94e2d80af4
pull in js changes from #18830
2016-12-04 19:53:16 -08: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
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
Mark Otto
ce31f54c36
Merge pull request #19058 from Johann-S/carouselInput
...
Carousel - Do not prevent on keydown for input and textarea
2016-11-26 01:14:55 -08:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Bardi Harborow
0974267b8c
Move from $.proxy to es6 arrow functions. ( #21049 )
2016-10-31 20:32:36 -07:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
J2TeaM
4f5a7c96e7
Fix eslint (prefer-template)
2016-09-07 03:17:19 +07:00
J2TeaM
edc43a4ea6
Remove classes at one time
2016-09-07 02:55:48 +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
Chris Rebert
2b16f5c510
Update ESLint to v2.5.3 ( #20043 )
...
Refs #19908 .
[skip sauce]
[skip validator]
2016-06-04 14:28:34 -07:00
Chris Rebert
5a35ad6d74
Use named constants for magic numbers ( #19992 )
...
Mostly KeyboardEvent.which and MouseEvent.which values.
[skip validator]
2016-05-30 23:42:00 -07:00
Johann-S
14ec4fdfc1
Carousel - Do not prevent on keydown for input and textarea
2016-02-01 00:06:07 +01: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
Johann-S
817d997b75
Use Page Visibility API in Carousel; fixes #17706
...
Avoids cycling carousels when the page isn't visible.
Closes #17710
Refs #15566
2015-10-11 15:10:49 -07:00
Johann-S
21a65f181e
Add throw error for undefined method on plugins
2015-10-02 10:01:24 +02: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
ca9c850ebb
add getters for Version and Default where applicable
...
add modal my gawd
2015-05-10 19:45:38 -07:00
fat
1b183e2ff7
carousel -> es6
2015-05-07 22:26:40 -07:00