aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2021-09-29Revert Navs activation use `for ... of`gs-scrollspy-wth-intersection_observerGeoSot1-20/+36
2021-09-29add documentationGeoSot1-21/+9
2021-09-29align tests | remove console infoGeoSot1-11/+11
2021-09-29revamp scrollspy to use IntersectionObserverGeoSot1-131/+100
2021-09-15Fix Collapse regression of handling toggling between sibling chilldren (#34951)GeoSot1-2/+3
2021-09-15Minor refactoring (#34980)XhmikosR2-23/+18
Rename variables and remove a temporary one
2021-09-15Rename `e` to `event` (#34979)XhmikosR1-1/+1
2021-09-08Remove remaining "master" branch references (#34932)Julien Déramond3-3/+3
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR23-24/+24
* Prepare v5.1.1. * Dist
2021-08-31Fix tooltip `data-bs-original-title` issue (#34842)GeoSot1-8/+17
2021-08-30Update eslint-plugin-unicorn to v35.0.0XhmikosR1-1/+0
2021-08-30Collapse on toggle, should not hide descendant tabpanels (#34835)GeoSot1-1/+1
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 ↵GeoSot1-0/+7
(#34701)
2021-08-10carousel: move common checks to a function (#34621)XhmikosR1-2/+7
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR23-24/+24
2021-08-03Regression on tooltip template creation process. (#34628)GeoSot2-8/+5
* 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)XhmikosR3-4/+4
* 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 elementGeoSot1-15/+13
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)GeoSot5-46/+45
* use a streamlined way to trigger component dismiss * add documentation Co-authored-by: XhmikosR <[email protected]>
2021-07-28Fix `Manipulator.offset()` (#33603)alpadev1-2/+2
* 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 Berliner4-38/+148
(#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 ↵GeoSot1-11/+1
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
2021-07-22Use `getOrCreateInstance` on `_initializeOnDelegatedTarget`GeoSot1-9/+1
2021-07-22`_getDelegateConfig()`: add a comment and remove an unneeded config checkGeoSot1-5/+6
2021-07-22use a class private getter to decouple same methods usageGeoSot2-15/+9
2021-07-21Remove whitespace at beginning of util/index.js (#34545)Ryan Berliner1-1/+0
2021-07-20Fix `Util.reflow` function and add documentation (#34543)GeoSot1-1/+12
* add documentation to reflow function * refactor to void as it should be Co-authored-by: XhmikosR <[email protected]>
2021-07-19modal: change `data-dismiss` so that it can be outside of a modal using ↵GeoSot1-2/+8
`bs-target` (#33403) * change data-dismiss, so can be outside modal, using a bs-target * Update site/content/docs/5.0/components/modal.md Co-authored-by: Gaël Poupard <[email protected]>
2021-07-14util.js: remove `Selector.findOne()` dependency (#34441)GeoSot1-2/+1
Co-authored-by: XhmikosR <[email protected]>