aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09ScrollBar.js. Minor refactoring and add test (#35492)GeoSot1-13/+17
2021-12-07Tooltip: remove title attribute before show & add tests (#35456)GeoSot1-3/+11
2021-12-01Tooltip/Popover: add underscore prefix to protected functionsGeoSot2-13/+13
2021-12-01Tooltip: a simple code-block position changeGeoSot1-16/+16
2021-12-01Tooltip: simplify popper checkGeoSot1-1/+1
2021-12-01Tooltip: refactor `_hoverState` to Boolean to achieve better controlGeoSot1-15/+12
2021-12-01Tooltip: merge timeout functionalityGeoSot1-16/+7
2021-12-01Tooltip: Change `_enter` & `_leave` to work without argumentsGeoSot1-46/+40
2021-12-01Tooltip: Remove redundant `config.delay` checkGeoSot1-2/+2
`config.delay` is always an object after initialization
2021-12-01Tooltip: Remove `Data.set` usage for dynamically created tipGeoSot1-2/+0
This is not used any further, so we were just setting it.
2021-12-01Tooltip: merge `isAnimated` checksGeoSot1-5/+7
2021-12-01Tooltip: refactor jQueryInterfaceGeoSot2-10/+14
2021-12-01Dropdown: clearMenus is always an event callbackGeoSot1-18/+16
2021-12-01Dropdown: Clean moreGeoSot1-4/+3
2021-12-01Dropdown: rename varsGeoSot1-6/+8
2021-12-01Dropdown: Remove redundant `Space` checkGeoSot1-14/+4
2021-12-01Dropdown: Deduplicate complex checkGeoSot1-7/+14
2021-12-01Dropdown: Remove redundant check since the `show` method already does itGeoSot1-4/+1
2021-12-01Dropdown: Change constant to the way we use itGeoSot1-2/+2
2021-12-01Dropdown: Merge `display='static'` & `isNavbar` functionality activating ↵GeoSot1-14/+5
static popper with no styles attached
2021-12-01Dropdown: Remove static method used onceGeoSot1-5/+1
2021-12-01Fix popover arrow & tooltip template after the `setContent` addition (#35441)GeoSot1-11/+17
2021-12-01Tooltip: remove leftover method (#35440)GeoSot1-12/+0
Remove a leftover after #32692 Co-authored-by: XhmikosR <[email protected]>
2021-11-25Clean tooltip component unneeded functionality (#32692)GeoSot2-61/+7
2021-11-25tooltip.js: use array.includes instead of for iteration (#35127)GeoSot1-7/+1
2021-11-25Change adjustDialog's if conditions to improve readabilityGeoSot1-4/+6
2021-11-25Respect modal's initial overflowYGeoSot1-7/+5
2021-11-25Remove some uncovered code that seems to be unusedGeoSot1-19/+0
2021-11-25Change check for dynamic modalGeoSot1-2/+2
2021-11-25Tweak methodsGeoSot1-8/+8
Name them to be more descriptive and have agnostic functionality
2021-11-25Some refactoring on modal, to improve readability and generic functionalityGeoSot1-30/+30
2021-11-25Add a template factory helper to handle all template cases (#34519)GeoSot3-86/+214
Co-authored-by: XhmikosR <[email protected]>
2021-10-13Change the way collapse handles its children on openingGeoSot1-21/+9
2021-10-13collapse: extract duplicate code to a functionGeoSot1-7/+10
2021-10-13JS: minor refactoring (#35183)XhmikosR21-377/+254
* add missing comments * shorten block comments * reorder constants * reorder public/private methods * sort exports alphabetically in util/index.js * fix a couple of typos
2021-10-12Swipe: add test to ensure that it ignores `pinch` events (#35161)GeoSot1-1/+1
2021-10-11Extract Carousel's swipe functionality to a separate Class (#32999)GeoSot2-71/+142
2021-10-10tooltip.js: ignore a LGTM error (#35147)XhmikosR1-1/+1
The code on this line is either sanitized or the user chose to not sanitize it.
2021-10-09Merge remote-tracking branch 'remotes/origin/v513'XhmikosR23-24/+24
2021-10-09Bump version to 5.1.3.XhmikosR23-24/+24
2021-10-08scrollspy.js: chain functions (#35139)XhmikosR1-17/+18
2021-10-07Sanitizer: fix logic and add a test. (#35133)XhmikosR1-1/+1
This was broken in 2596c97 inadvertently. Added a test so that we don't hit this in the future.
2021-10-06util/sanitizer.js: use `Array.every()` (#35120)XhmikosR1-9/+2
2021-10-05Enable `unicorn/numeric-separators-style` rule.XhmikosR1-1/+1
This is taken care of by babel via @babel/plugin-proposal-numeric-separator
2021-10-05Fix a `unicorn/no-array-callback-reference` issueXhmikosR1-1/+1
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR14-86/+101
2021-10-05Enable `unicorn/no-for-loop` ruleXhmikosR5-19/+15
2021-10-05Enable `unicorn/prefer-prototype-methods` ruleXhmikosR1-1/+1
2021-10-05Release v5.1.2 (#35114)XhmikosR23-24/+24
2021-09-29sanitizer: add `sms` in the `SAFE_URL_PATTERN` (#35074)XhmikosR1-3/+3