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