aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
AgeCommit message (Collapse)AuthorFilesLines
2024-07-19Fix `this` reference for JavaScript functions (#38725)Nathan Sarang-Walters1-2/+2
2024-03-06Fix various redirectsXhmikosR1-1/+1
2024-02-06Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)dependabot[bot]1-1/+3
* Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 Bumps [eslint-config-xo](https://github.com/xojs/eslint-config-xo) from 0.43.1 to 0.44.0. - [Release notes](https://github.com/xojs/eslint-config-xo/releases) - [Commits](https://github.com/xojs/eslint-config-xo/compare/v0.43.1...v0.44.0) --- updated-dependencies: - dependency-name: eslint-config-xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update .eslintrc.json * Update .eslintrc.json * autofix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-6/+6
* Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint
2023-03-25Fix tooltip body placement with variation placementskyletsang1-1/+1
2023-03-22Remove version comment from JavaScript src files (#38294)GeoSot1-1/+1
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR1-1/+1
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-11-22Merge branch 'main' into prepare-523XhmikosR1-14/+12
2022-11-21Bump version to 5.2.3XhmikosR1-1/+1
2022-11-21fix tooltip/popper disposal inconsistencies (#37235)GeoSot1-16/+8
2022-11-13Use `Object.entries` in more places (#37482)XhmikosR1-3/+3
2022-10-26Use explicit imports in our javascript source files (#36854)GeoSot1-6/+6
2022-10-07Boost `execute` function, being able to handle arguments (#36652)GeoSot1-6/+4
2022-10-06fix tooltip/popper disposal inconsistencies (#37235)GeoSot1-16/+8
2022-10-03Release v5.2.2 (#37236)XhmikosR1-1/+1
* Bump version to v5.2.2 * Dist
2022-09-14fix: add trick to support tooltip selector usage on dynamic created tooltips ↵GeoSot1-31/+18
that utilize `title` attribute (#36914)
2022-09-07Release v5.2.1 (#37098)XhmikosR1-1/+1
* Bump version to v5.2.1. * Dist
2022-09-07Fix tooltip manual toggling (#37086)GeoSot1-6/+5
partial regression of SHA: 9b9372e8ddd60413f3d9a582bd5481586d119d8d
2022-07-27Re-set tooltip title, on disposal (#36751)GeoSot1-0/+4
fix(reg): Re-set tooltip title, on disposal
2022-07-19Release v5.2.0 (#36768)XhmikosR1-1/+1
* Bump version to 5.2.0 * Dist * Update masthead.html
2022-07-11Fix on #35679 (#36668)Louis-Maxime Piton1-2/+0
* Fix * .
2022-07-06Handle non-empty whitespace `textContent` in Tooltip trigger (#36588)Nathan Walters1-1/+1
2022-06-27Force tooltip and popover to recreate content every time it opens (#35679)GeoSot1-14/+14
2022-06-01Re-ordering js default objectslouismaxime.piton1-25/+25
2022-05-13Prepare v5.2.0-beta1Mark Otto1-1/+1
2022-02-25src/tooltip.js OptimizationДилян Палаузов1-3/+1
Util.findShadowRoot() returns either null or an object. It cannot return falsy, which allows this optimization.
2022-02-19Make event name helper and use it on tooltip & popover to reduce dist sizes ↵GeoSot1-37/+22
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover
2022-01-30More tooltip refactoring (#35546)GeoSot1-15/+25
* Tooltip.js: move `shown` check to method * Tooltip.js: move Popper's creation to method * Tooltip.js: merge checks before `hide` * Tooltip.js: minor refactoring on `toggle` method
2022-01-29Rename variablesXhmikosR1-6/+6
2021-12-21Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527)GeoSot1-1/+10
Regression of #32692 Co-authored-by: XhmikosR <[email protected]>
2021-12-15Tooltip: remove extraneous call to _getConfig() (#35540)GeoSot1-2/+1
BaseClass already initializes the config Co-authored-by: XhmikosR <[email protected]>
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot1-8/+11
Co-authored-by: XhmikosR <[email protected]>
2021-12-07Tooltip: remove title attribute before show & add tests (#35456)GeoSot1-3/+11
2021-12-01Tooltip/Popover: add underscore prefix to protected functionsGeoSot1-10/+10
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 jQueryInterfaceGeoSot1-5/+7
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)GeoSot1-56/+7
2021-11-25tooltip.js: use array.includes instead of for iteration (#35127)GeoSot1-7/+1
2021-11-25Add a template factory helper to handle all template cases (#34519)GeoSot1-82/+47
Co-authored-by: XhmikosR <[email protected]>
2021-10-13JS: minor refactoring (#35183)XhmikosR1-50/+38
* 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-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.