aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2021-10-05Enable `unicorn/prefer-prototype-methods` ruleXhmikosR4-5/+5
2021-10-05Release v5.1.2 (#35114)XhmikosR59-429/+425
2021-10-04rollup: specify `generatedCode: 'es2015'` (#35070)XhmikosR1-1/+2
This will make use of `const` and modern features (which we are already using in our code) in the generated rollup code.
2021-09-29sanitizer: add `sms` in the `SAFE_URL_PATTERN` (#35074)XhmikosR1-3/+3
2021-09-15Fix Collapse regression of handling toggling between sibling chilldren (#34951)GeoSot2-2/+60
2021-09-15Minor refactoring (#34980)XhmikosR2-23/+18
Rename variables and remove a temporary one
2021-09-15Rename `e` to `event` (#34979)XhmikosR7-58/+58
2021-09-13tests: fix lint warning (#34950)GeoSot1-3/+2
2021-09-08Remove remaining "master" branch references (#34932)Julien Déramond3-3/+3
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR59-117/+139
* Prepare v5.1.1. * Dist
2021-09-07Typo fixes (#34914)XhmikosR1-1/+1
2021-09-06BrowserStack: add Firefox 60 and Chrome 60 (#34912)XhmikosR1-1/+15
These are the minimum supported versions, so this patch makes sure everything works there too.
2021-08-31Fix tooltip `data-bs-original-title` issue (#34842)GeoSot1-8/+17
2021-08-30tests: add Offcanvas too in jquery.spec.js (#34841)XhmikosR1-0/+2
2021-08-30Add GitHub SHA in BrowserStack build ID. (#34077)XhmikosR1-1/+1
2021-08-30Move a few ESLint rules where they are needed.XhmikosR1-0/+5
2021-08-30Update eslint-plugin-unicorn to v35.0.0XhmikosR1-1/+0
2021-08-30Collapse on toggle, should not hide descendant tabpanels (#34835)GeoSot2-1/+51
2021-08-23visual tests: minor fixes (#34802)XhmikosR4-7/+5
2021-08-20alert.js: Add missing newline (#34785)Sébastien ALFAIATE1-0/+1
2021-08-10Fix modal when is triggered by `bs-toggle`, to hide other open instances ↵GeoSot2-0/+30
(#34701)
2021-08-10carousel: move common checks to a function (#34621)XhmikosR1-2/+7
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR59-561/+1008
2021-08-03Regression on tooltip template creation process. (#34628)GeoSot4-11/+39
* Regression on tooltip template creation process. * check if template content does not exist, or given argument is empty * call `setContent()` once.
2021-07-30tooltip: move repeated strings to constants (#34619)XhmikosR1-2/+5
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR12-25/+25
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
2021-07-29transfer `interface` inside `jQueryInterface`GeoSot1-18/+14
2021-07-29simplify initialization on `data-toggle` clickGeoSot1-6/+1
2021-07-29keep parent only as elementGeoSot2-19/+15
2021-07-29remove duplicated `Selector.find`GeoSot1-4/+1
2021-07-29Simplify check for childrenGeoSot1-8/+2
2021-07-29initialize variable properlyGeoSot1-16/+10
2021-07-29Refactor internal function to use it in more cases.GeoSot1-25/+13
Also, remove a few redundant checks since we already check for it in `_addAriaAndCollapsedClass()`.
2021-07-29Add a helper function to check for showingGeoSot1-12/+12
Also, remove the `isTransitioning()` helper.
2021-07-29Remove redundant check on `data-toggle` click.GeoSot1-12/+2
Previously, it was assumed that the trigger element would have its own separate config than the collapse element itself.
2021-07-29streamline `_getConfig` & interfaceGeoSot1-11/+4
2021-07-28Use a streamlined way to trigger component dismiss (#34170)GeoSot7-50/+153
* use a streamlined way to trigger component dismiss * add documentation Co-authored-by: XhmikosR <[email protected]>
2021-07-28Fix `Manipulator.offset()` (#33603)alpadev2-2/+56
* test: add more test cases for Manipulator.offset() * fix: Manipulator.offset() is using obsolete properties to get scroll position Co-authored-by: XhmikosR <[email protected]> Co-authored-by: GeoSot <[email protected]>
2021-07-27Add shift-tab keyboard support for dialogs (modal & Offcanvas components) ↵Ryan Berliner8-68/+496
(#33865) * consolidate dialog focus trap logic * add shift-tab support to focustrap * remove redundant null check of trap element Co-authored-by: GeoSot <[email protected]> * remove area support forom focusableChildren * fix no expectations warning in focustrap tests Co-authored-by: GeoSot <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-07-22Toasts: Change showing timings and classes to keep toast `display:none` by ↵GeoSot1-6/+7
default (#33610)
2021-07-22make `dataApiKeydownHandler` to handle specific instance, avoiding extra ↵GeoSot1-5/+5
manipulations
2021-07-22extract createPopper methodGeoSot1-23/+27
2021-07-22handle click event in one place, remove undocumented click listener on ↵GeoSot2-35/+3
element in case of not having the proper markup
2021-07-22use classList `add` instead of `toggle` on showGeoSot1-2/+2
2021-07-22simplify toggleGeoSot1-12/+1
2021-07-22Merge `dropdownInterface` to `jQueryInterface`GeoSot1-10/+8
2021-07-22Add `isShown` method and reuse itGeoSot1-6/+10
2021-07-22Use on private method to set content & cleanup templateGeoSot2-29/+14
2021-07-22popover: Move common code in tooltip's `getTipElement()`GeoSot2-6/+4
2021-07-22use one private method to resolve string or functionGeoSot2-14/+9