aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
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 ↵GeoSot2-19/+10
static popper with no styles attached
2021-12-01Dropdown: Remove static method used onceGeoSot1-5/+1
2021-12-01Dropdown tests: Use a function to improve readability (#35448)GeoSot1-32/+13
2021-12-01Fix popover arrow & tooltip template after the `setContent` addition (#35441)GeoSot3-11/+48
2021-12-01Tooltip: remove leftover method (#35440)GeoSot2-46/+0
Remove a leftover after #32692 Co-authored-by: XhmikosR <[email protected]>
2021-12-01tests/unit/util/scrollbar.spec.js: rename functionXhmikosR1-6/+6
`parseInt` is a global one.
2021-12-01tests: fix a few typosXhmikosR3-15/+15
2021-12-01tests: remove extra spaces, unneeded arrays and add missing newlinesXhmikosR18-157/+145
2021-12-01tests: tweak Jasmine's matchers usageXhmikosR24-437/+438
Use: * toBeNull * toEqual * toBeTrue * toBeFalse * toHaveSize * toHaveClass
2021-12-01tests/browsers.js: remove unneeded exportXhmikosR2-10/+3
2021-11-29Alert: add a couple more tests (#35419)GeoSot1-0/+28
Co-authored-by: XhmikosR <[email protected]>
2021-11-29BaseComponent: add a couple more tests (#35410)GeoSot1-0/+18
Co-authored-by: XhmikosR <[email protected]>
2021-11-25Clean tooltip component unneeded functionality (#32692)GeoSot3-67/+13
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-25Add test for modal-contentGeoSot1-0/+32
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)GeoSot6-116/+563
Co-authored-by: XhmikosR <[email protected]>
2021-11-09Update devDependencies (#35322)XhmikosR1-27/+12
* cspell ^5.12.4 → ^5.12.6 * eslint ^8.1.0 → ^8.2.0 * eslint-plugin-unicorn ^37.0.1 → ^38.0.1 * hugo-bin ^0.76.1 → ^0.77.2 * karma ^6.3.7 → ^6.3.8 * linkinator ^2.14.4 → ^2.14.5 * postcss-cli ^9.0.1 → ^9.0.2 * rtlcss ^3.4.0 → ^3.5.0
2021-10-13tests: try to fix a few random failures (#35184)GeoSot3-5/+6
* Change `Swipe` dispose spy on EventHandler * Modal hide spy on backdrop hide
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)GeoSot2-1/+20
2021-10-11Extract Carousel's swipe functionality to a separate Class (#32999)GeoSot4-78/+416
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'XhmikosR59-104/+104
2021-10-09Bump version to 5.1.3.XhmikosR59-104/+104
2021-10-08tests: minor cleanup (#35138)XhmikosR18-57/+19
* tests: minor cleanup * tests: use the util noop function
2021-10-08scrollspy.js: chain functions (#35139)XhmikosR1-17/+18
2021-10-07Sanitizer: fix logic and add a test. (#35133)XhmikosR2-1/+26
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-05Use `for...of` in visual tests tooGeoSot4-35/+34
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` ruleXhmikosR20-107/+123
2021-10-05Enable `unicorn/no-for-loop` ruleXhmikosR5-19/+15