Johann-S
c8c2074650
Switch from QUnit to Jasmine.
2019-07-23 14:23:50 +02:00
Kitten King
37703a6fc9
Fix Typos across Bootstrap repository ( #29082 )
2019-07-20 12:53:02 +03:00
Johann-S
18077460aa
updated babel
2019-07-17 15:03:32 +03:00
Patrick H. Lauke
cc49977038
Fix dropdown unit test ( #29037 )
...
swap jQuery's `trigger(...)` with the more verbose native `dispatchEvent(...)`, as the former may not always behave/bubble correctly (observed while trying to write unit tests for keyboard handling of ARIA tab navigation), which may lead to this test passing even though it fails in real usage.
2019-07-14 12:24:27 +03:00
Mark Otto
39c4ca3970
dist v5
2019-07-12 16:56:26 -05:00
Patrick H. Lauke
f2c63ac729
Port new unit test for dropdown from v4 ( #28913 )
...
Add unit test from #28912 to v5
2019-06-25 14:57:41 +03: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
Martijn Cuppens
a827934f13
Documentation tweaks ( #28679 )
...
* Documentation tweaks
* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
XhmikosR
438e01b61c
Rename eventHandler
and selectorEngine
files.
2019-05-08 17:26:37 +03:00
Johann-S
dda31bbee6
improve build plugin script to keep file name
2019-05-08 17:26:37 +03:00
XhmikosR
e7657c8bc0
Remove the unicorn/filename-case
rule suppression.
2019-05-08 17:26:37 +03:00
XhmikosR
091aa1e9fd
v5 dist ( #28657 )
2019-04-18 14:47:52 +03:00
Johann-S
14f53d9baa
fix unit tests for chrome mobile
2019-04-15 13:48:27 +02:00
XhmikosR
afc63ec887
Fix xo error: use for...of
.
2019-04-10 15:18:57 +03:00
XhmikosR
105687ac4a
Update eslint config for the new xo rules.
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
XhmikosR
efb9a7749f
karma.conf.js: switch to CI === true
. ( #28588 )
2019-04-01 17:26:43 +03: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
ad0f5f153c
fix remove files in our visual tests
2019-03-18 01:11:05 +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
XhmikosR
ac67e04ce0
Dist.
2019-03-11 17:59:08 +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
5bcd6a29cd
Disable a few rules for now.
2019-03-11 17:01:28 +02:00
XhmikosR
46c037410b
Comply to the new rules.
2019-03-11 17:01:28 +02:00
XhmikosR
44e6abcba5
Switch to eslint-config-xo and eslint-plugin-unicorn.
2019-03-11 17:01:28 +02:00
XhmikosR
19aee321a0
Dist ( #28392 )
2019-03-01 18:31:34 +02:00
XhmikosR
d5f9107abb
Remove the now unneeded shrink-to-fit
directive. ( #28314 )
2019-02-27 17:47:41 +02:00
XhmikosR
9cbd041f6b
tests: add tests for plugins version. ( #28366 )
2019-02-27 13:20:25 +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
XhmikosR
7933ee3282
karma.conf.js: minor simplification.
2019-02-26 13:04:04 +02:00
Johann-S
497518db1a
remove tests for old jQuery 1.9.x compatibility
2019-02-26 13:04:04 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
XhmikosR
5ad2121819
Remove DOMContentLoaded. ( #28337 )
...
There's no reason for us to wait here.
2019-02-24 15:42:18 +02:00
XhmikosR
423e4a3811
tests/visual/modal.html: fix close button placement.
2019-02-20 22:05:45 +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
c096e0e0da
bump to 4.2.1
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
5dcca44fcf
fix(visual-test): remove jquery in them
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
a1cc9a6e33
fix(util): increase util coverage
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
9313446274
fix(event-handler): remove the use of our event handler in unit test
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
Johann-S
330a29734f
fix chores karma
2019-02-20 22:05:45 +02:00
Johann-S
2ff8ed5cbf
Fix new unit test in popover
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
bcbea02886
fix unit test modal
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
Patrick H. Lauke
4b00aa6c4e
Remove incorrect aria-haspopup from dropdown toggles ( #28299 )
...
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup )
in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.
in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.
but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +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
b54ddfda83
fix modal test to be sure we call getTransitionDurationFromElement
2019-02-06 15:01:13 +01: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
842da1ddc3
use absolute path to output lcov file for coveralls ( #28075 )
2019-01-17 11:06:43 +01:00
XhmikosR
3aeda9942d
tests: use jQuery from node_modules. ( #28059 )
2019-01-15 18:01:40 +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
Mark Otto
1488a83b13
latest changes
2019-01-04 08:29:45 -08: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
XhmikosR
07b4b5907b
Revert "Remove now unnecessary shrink-to-fit viewport directive ( #27818 )" ( #27855 )
...
This reverts commit af484dc12c
.
2018-12-16 16:39:48 +02:00
Mark Otto
ee72e7838d
dist
2018-12-16 01:33:05 +02:00
Patrick H. Lauke
af484dc12c
Remove now unnecessary shrink-to-fit viewport directive ( #27818 )
...
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards
See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-15 01:05:49 +00:00
Johann-S
af60644d2f
integration test to be sure bootstrap can be bundled
2018-12-14 02:08:18 +02:00
XhmikosR
a074cb66d7
Make use of the package.json version_short
property more.
2018-12-14 00:34:38 +02: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
Johann-S
fa03289d13
avoid console call in our unit tests ( #27790 )
2018-12-06 10:51:35 +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
Johann-S
32ab52ba2e
Add test to make sure we enforce focus on modal ( #27723 )
2018-11-25 18:20:55 +02:00
XhmikosR
5c336d0247
Dist
2018-11-25 11:46:37 +02:00
ysds
0140552322
Fix body scrolling issue when modal open ( #27698 )
2018-11-23 13:41:42 +01:00
XhmikosR
2b9af5e38c
Remove holder.js.
2018-11-20 21:31:28 +02: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
XhmikosR
fceee8d093
Dist
2018-11-13 08:47:32 +02:00
Laussel LOïc
dc07e8dca8
Update toast documentation following pull #27155
...
Also remove close button everywhere just let it when autohide is set to false
2018-11-13 08:47:32 +02: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
2f81ab007c
Fix toast documentation page.
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
Johann-S
cebdfb9090
fix dispose modal unit test
2018-10-30 16:59:24 +01:00
Andrew Luca
bd2851938a
test(Modal): check if modal is disposed
2018-10-30 16:28:32 +01:00
Andrew Luca
65dc8c9070
refactor(Modal): add _isTransitioning
default value
...
Having variables initialised from start `_isTransitioning` is better.
Would be better to add an eslint rule to check for undeclared variables use.
Reordered enter checks for `show` and `hide` by priority.
2018-10-30 16:28:32 +01:00
XhmikosR
02df7cd0d2
Fix util tests on IE 10 ( #27556 )
2018-10-30 15:29:04 +02:00
Martijn Cuppens
5aed968750
Prevent the background to be shown when transitioning
2018-10-30 08:57:02 +02:00
Johann-S
2868f07240
update our coverage required for branches and functions
2018-10-29 14:49:29 +01:00
Johann-S
91f8077ed5
add unit tests for our carousel
2018-10-29 14:49:29 +01:00
Johann-S
2c2d04aba5
add unit test to test tabs can be removed without throwing error
2018-10-29 14:01:03 +01:00
dercodercom
a282c22fc7
Update tab.js
...
I'm using Tab.js with remove function and get an error "TypeError: container is undefined [more info]", with this check the error is fixed.
2018-10-29 14:01:03 +01:00
Martijn Cuppens
45610a0f39
fix tab fade out ( #27533 )
2018-10-29 09:54:45 +01:00
Johann-S
ffc8d507c7
calculate modal transition duration based on modal-dialog element
2018-10-28 23:59:17 +02:00
Andrew Luca
1f1308ba22
test(Modal): reuse _getScrollbarWidth in tests
2018-10-21 17:45:02 +02:00
XhmikosR
0a3755b30a
Fix typo in the Popper.js checks. ( #27488 )
2018-10-21 11:51:20 +03:00
Johann-S
b1dc6b324c
avoid drag img
2018-10-20 15:32:09 +03:00
patrickhlauke
8883ccb205
Set touch-action to "none"
...
Firefox currently seems extremely fickle - with `pan-y` if fires pointercancel as soon as a touch strays even a pixel or so vertically.
While `touch-action: pan-y` would be ideal (allowing users to scroll the page even when their finger started the scroll on the carousel), this prevents a swipe that isn't perfectly/only horizontal to be recognised by Firefox.
2018-10-20 15:32:09 +03:00
patrickhlauke
9164f77269
Refactor (and correct) start/move/end functions
...
in particular, no need to use originEvent, and preventDefault() only needed for touch events
2018-10-20 15:32:09 +03:00
patrickhlauke
39ae077837
Remove unnecessary pointer event listeners
...
these may also be the cause of weird behavior in Chrome/Surface, where scrolling vertically triggers slide advance
2018-10-20 15:32:09 +03:00
patrickhlauke
6be7293a85
Abandon swipe altogether if more than one touch detected
2018-10-20 15:32:09 +03:00
patrickhlauke
7b8f01d839
Use correct touch-action values
...
- my fault, my original advice of using `touch-action: pan-x` is exactly the value we *don't* want to have the browser handle...
2018-10-20 15:32:09 +03:00
Johann-S
735c374e9c
use pointer events if available
2018-10-20 15:32:09 +03:00
Johann-S
c08652cfe8
swipe left/right without hammerjs
2018-10-20 15:32:09 +03:00
Johann-S
caefd70463
Add touch support in our carousel with HammerJS.
2018-10-20 15:32:09 +03:00
galczo5
6cbcd03efb
Add show
and hide
methods to dropdown ( #27370 )
2018-10-20 14:27:51 +03:00
XhmikosR
ea575bc1a7
js/tests/visual: fix popper script.
...
Broken after 787441d
.
2018-10-14 08:17:40 +03:00
XhmikosR
339311ddb5
Fix invalid selectors in tests and examples.
2018-10-14 08:17:40 +03:00
Johann-S
7c7a1706c3
remove useless iife
2018-09-26 15:03:38 +02:00
Mark Otto
f6244654a6
dist
2018-09-18 21:35:40 -07:00
Christopher Morrissey
ea0faadde5
feature(carousel): carousel-item interval ( #26667 )
...
adds the ability to assign data-interval to an individual carousel-item
2018-09-18 15:55:48 +03:00
XhmikosR
787441d4bf
docs: use the bundle dist file.
2018-09-18 12:50:18 +03:00
Mark Otto
b68ea572da
dist
2018-09-17 12:34:34 -07:00
XhmikosR
0b97d1b0c4
Use https in more places and fix a few redirects.
2018-09-14 18:27:55 +03:00
Johann-S
a689120fd2
throw error when folks try to use a bad selector
2018-09-13 22:13:36 +02:00
Johann-S
9efed82522
refactor karma config in one file
2018-09-13 21:59:37 +02:00
Johann-S
c543f360c9
do not use coverage files on browserstack
2018-09-13 21:59:37 +02:00
Johann-S
6e2a823a44
collapse children with no data-parent
2018-09-10 21:10:00 +02:00
Johann-S
a3e45d8ced
add information about valid selectors ( #27137 )
2018-08-31 21:00:29 +02:00
Johann-S
54d86e6249
move away from sauce labs to browserstack
2018-08-30 22:17:15 +02:00
Mark Otto
c0fd91788e
dist
2018-08-18 20:22:08 -07:00
XhmikosR
acd19de6a9
Use ES6 arrow function.
2018-08-12 22:22:12 +03:00
Johann-S
eab9da5beb
fix(util): use querySelector for ids
2018-08-12 17:01:01 +02:00
Johann-S
6b92321f6a
fix(util): use getElementById when it's possible
2018-08-07 18:49:02 +02:00
jarstelfox
198091d635
Fix dispose causing popover title to change
...
see: https://github.com/twbs/bootstrap/issues/26847
in v4, destroy was replaced by dispose
2018-08-02 13:51:08 +02:00
Mark Otto
3b55873438
Ship v4.1.3
2018-07-24 08:54:34 -07:00
Mark Otto
72447ad497
dist
2018-07-23 17:51:14 -07:00
Johann-S
d18045210c
fix(tests): visual plugins tests
2018-07-23 17:29:53 -07:00
Mark Otto
c4ccfbe04e
Ship v4.1.2
2018-07-12 09:27:14 -07:00
Mark Otto
0e920ce3f4
Reorganize docs for easier deploys
...
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07:00
Mark Otto
9e126b26a8
dist
2018-07-11 21:42:55 -07:00
Johann-S
283ab30164
fix(modal): fix unit test and resetting style
2018-07-11 11:05:38 +02:00
Catalin Zalog
cb82394fc8
fix(modal): removes .navbar-toggler margin
2018-07-11 11:05:38 +02:00
Johann-S
e57a2f244b
fix(tooltip): get tip on placement change
2018-06-25 16:54:14 +02:00
jakubhonisek
49e094619b
feat(dropdown): add original click event
2018-06-25 15:29:34 +02:00
Mark Otto
eadeab9d1c
dist
2018-06-21 22:55:23 -07:00
Johann-S
a79b8aa16a
refactor(plugins): query elements without jquery
2018-06-03 11:40:08 +02:00
Johann-S
b1eb3fccfa
refactor(plugins): improve how we query elements
2018-06-01 10:30:11 +02:00
Johann-S
cc61edfa8a
fix(scrollspy): xss in target option
2018-06-01 09:10:25 +02:00
Johann-S
149096016f
fix(collapse): xss in parent option
2018-06-01 09:10:25 +02:00
Johann-S
2d90d369bb
fix(tooltip): xss in container option
2018-06-01 09:10:25 +02:00
Johann-S
f2aab5ea99
fix(tooltip): remove useless unit test
2018-05-22 17:26:21 +03:00
Johann-S
0338b61eb6
chore(deps): update qunit and karma-qunit
2018-05-22 17:26:21 +03:00
Mark Otto
779ad9f174
Bump version to v4.1.1
2018-04-30 09:04:33 -07:00
Mark Otto
496311bf97
dist
2018-04-29 22:22:04 -07:00
XhmikosR
5fd67a6f86
Bump version to 4.1.0 for remaining files.
2018-04-16 09:37:58 +03:00
Johann-S
ba10b63c9d
fix issue related to Object.keys and Dropdown issue
2018-04-13 18:59:30 +02:00
Swardu
c3caf7ee4e
Docs/examples: change links to Sass documentation and example.com to https
2018-04-12 11:56:33 +01:00
MietekN
418fd76ba9
modal use global scope for default
2018-04-12 11:21:10 +02:00
Johann-S
0871d69ec9
v4 improve coverage ( #25945 )
...
* Improve code coverage for our Button plugin
* improve coverage for our Alert plugin
* test tooltip update method
* test update and dispose for dropdown
* increase code coverage requirements
2018-04-10 09:28:29 +02:00
XhmikosR
875ed0b975
Clean up globals.
...
Also, add a missing license header in build/workbox.js.
2018-04-09 22:44:22 +03: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
XhmikosR
95cdfa2a65
Use https when possible.
2018-04-02 19:19:09 +03:00
Mark Otto
b744ba2c08
dist
2018-03-31 13:59:37 -07:00
Johann-S
fd57d371f8
fix bundle and run test against it
2018-03-29 21:21:31 -07:00
vsn4ik
68db42c9f8
Fix skip element disabled via attribute when using keyboard navigation
2018-03-26 09:37:25 +02:00
XhmikosR
2cd700313d
Remove the local jquery-1.9.1.min.js.
2018-03-21 12:15:47 +02:00
XhmikosR
f5e16ceccc
tests: load 3rd-party libs from the local node_modules folder.
...
This reduces duplication and the chances to forget to update something.
2018-03-21 12:15:47 +02:00
XhmikosR
e0ab096bac
Update all devDependencies.
...
Kept back karma-qunit and qunitjs because tests fail.
2018-03-21 12:15:47 +02:00
XhmikosR
1615a76f83
Use sinon from cdnjs.
2018-03-21 12:15:47 +02:00
XhmikosR
7d3ca1b2ea
tests: use QUnit from the jQuery CDN.
2018-03-21 12:15:47 +02:00
Johann-S
9191fa73df
throw error when coverage is under our thresholds
2018-03-21 07:04:24 +01:00
Johann-S
bedc96e48b
Use transitionEnd in QUnit since we moved away from PhantomJS
2018-03-20 15:56:51 +01:00
Johann-S
4d5c5923fa
Add Sinon to do better unit test
2018-03-13 15:37:11 +01:00
Johann-S
2c41b0aea6
fix get the transition duration parent
2018-03-13 12:57:44 +01:00
Martijn Cuppens
1fadad1c33
Variable transition durations ( #25662 )
2018-03-13 09:59:20 +01:00
Johann-S
fb60a4a986
Add a bit of documentation on how to run the code coverage ( #25783 )
2018-03-06 07:35:28 +02:00
Johann-S
e43f97304e
add code coverage
2018-03-05 10:04:54 +01:00
Mark Otto
a651d7337b
dist
2018-03-03 14:10:49 -08:00
Ed Morley
b33316dba3
Fix leftover reference to v4.0.0-alpha.6
...
Running `./build/change-version.js v4.0.0-alpha.6 v4.0.0` fixed this,
so the version change script works fine. I'm presuming instead this
change was just omitted from 35f80bb12e
, and then wouldn't have
been caught by subsequent runs of `change-version`, since it only
ever replaces the exact old version string specified.
2018-03-03 21:07:35 +01:00
Martijn Cuppens
29f178d891
Remove unused variable ( #25670 )
...
This variable is not used anywhere.
Leftover from #18373 .
2018-02-25 11:22:50 +02:00
Mark Otto
f3cec5e7f9
dist
2018-02-24 12:44:44 -08:00
Martijn Cuppens
8cfbf6933b
Consistent usage of $(document.body) instead of $('body') ( #25671 )
2018-02-21 09:01:02 +01:00