aboutsummaryrefslogtreecommitdiff
path: root/js/src/dropdown.js
AgeCommit message (Collapse)AuthorFilesLines
2020-11-29Remove setData from construtors (#32264)Rohit Sharma1-1/+0
2020-11-29Move `VERSION` to BaseComponent (#32254)Rohit Sharma1-5/+0
2020-11-29add dispose in base componentJohann-S1-2/+1
2020-11-29create a base componentJohann-S1-6/+8
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR1-3/+3
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-14Add `bs` in data attributesRohit Sharma1-1/+1
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR1-2/+2
2020-11-03dropdown.js: simplify code (#32055)XhmikosR1-4/+3
2020-11-01Streamline jQuery comment. (#32016)XhmikosR1-1/+1
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha1-11/+14
* 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 <[email protected]>
2020-10-05Remove `Manipulator.toggleClass` (#31842)XhmikosR1-4/+4
It's only used in one place so it makes more sense to remove it for the time being.
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR1-2/+2
2020-07-12Add parentheses around multiple spread conditionsXhmikosR1-1/+1
2020-07-12Unbreak lines.XhmikosR1-4/+2
2020-06-17Unbreak short linesXhmikosR1-5/+1
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-2/+2
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens1-3/+3
Co-authored-by: XhmikosR <[email protected]>
2020-04-17Fix crash when pressing ArrowUp the first timeTanguy Krotoff1-1/+4
2020-04-17Replace event.which with event.key and event.buttonTanguy Krotoff1-17/+17
2020-03-25fix: remove make array util function (#30430)Johann-S1-6/+6
2020-03-23Use next dropdown menu instead of first of the parentMartijn Cuppens1-20/+17
2020-03-18Switch to strings constants.XhmikosR1-85/+77
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-09Improvement: harmonize usage of constants (#30285)Sparks1-1/+2
2019-10-17Skip hidden dropdowns while focusing (#29523)Jeremy Jackson1-0/+2
2019-10-03return to the original file structure to avoid breaking modularityJohann-S1-0/+545
2019-07-23rewrite dropdown unit testsJohann-S1-559/+0
2019-06-19Closing dropdown with ESC correctly sets focus to toggle (#28928)Patrick H. Lauke1-1/+1
Just firing the focus event isn't enough ... need to actually call the proper `focus()` method for it to actually do it...
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR1-2/+2
2019-03-11Remove more unused properties.XhmikosR1-1/+0
2019-03-11Comply to the new rules.XhmikosR1-71/+76
2019-02-26move util in a util folder with the sanitizerJohann-S1-12/+18
2019-02-20use our selector engine instead of native apiJohann-S1-4/+4
2019-02-20Use `Util.makeArray()`.XhmikosR1-1/+1
2019-02-20Remove unneeded ESLint suppression.XhmikosR1-1/+0
2019-02-20Refactor util plugin and some testsJohann-S1-2/+1
2019-02-20chore(update): bump to 4.1.3Johann-S1-1/+1
2019-02-20fix(plugins): save instance in constructorJohann-S1-0/+1
2019-02-20fix(unit-test): dropdown, collapse and carouselJohann-S1-1/+1
2019-02-20fix(manipulator): increase coverage for manipulatorJohann-S1-1/+1
2019-02-20fix(data): do not use data object in our unit testsJohann-S1-0/+4
2019-02-20remove old references to jquery and some fixesJohann-S1-1/+1
2019-02-20Dropdown without jQueryJohann-S1-97/+98
2019-02-13Release v4.3.1. (#28252)v4.3.1XhmikosR1-2/+2
2019-02-11Release v4.3.0 (#28228)v4.3.0Mark Otto1-2/+2
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
2019-02-05Move dropdown offset function logic into private function. (#28138)Jason Golieb1-6/+13
2018-12-21Bump to v4.2.1 (#27892)v4.2.1Mark Otto1-2/+2
2018-12-21Prep for v4.2.0 releaseMark Otto1-2/+2
- 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-06Remove nonsensical boolean check (#27787)Patrick H. Lauke1-2/+1
...as it always evaluates to true
2018-11-14some cleaning and changes for readabilityJohann-S1-23/+25