Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-25 | src/tooltip.js Optimization | Дилян Палаузов | |
Util.findShadowRoot() returns either null or an object. It cannot return falsy, which allows this optimization. | |||
2022-02-19 | Make event name helper and use it on tooltip & popover to reduce dist sizes ↵ | GeoSot | |
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover | |||
2022-01-30 | More tooltip refactoring (#35546) | GeoSot | |
* 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-29 | Rename variables | XhmikosR | |
2021-12-21 | Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527) | GeoSot | |
Regression of #32692 Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-12-15 | Tooltip: remove extraneous call to _getConfig() (#35540) | GeoSot | |
BaseClass already initializes the config Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-12-10 | Extract Component config functionality to a separate class (#33872) | GeoSot | |
Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-12-07 | Tooltip: remove title attribute before show & add tests (#35456) | GeoSot | |
2021-12-01 | Tooltip/Popover: add underscore prefix to protected functions | GeoSot | |
2021-12-01 | Tooltip: a simple code-block position change | GeoSot | |
2021-12-01 | Tooltip: simplify popper check | GeoSot | |
2021-12-01 | Tooltip: refactor `_hoverState` to Boolean to achieve better control | GeoSot | |
2021-12-01 | Tooltip: merge timeout functionality | GeoSot | |
2021-12-01 | Tooltip: Change `_enter` & `_leave` to work without arguments | GeoSot | |
2021-12-01 | Tooltip: Remove redundant `config.delay` check | GeoSot | |
`config.delay` is always an object after initialization | |||
2021-12-01 | Tooltip: Remove `Data.set` usage for dynamically created tip | GeoSot | |
This is not used any further, so we were just setting it. | |||
2021-12-01 | Tooltip: merge `isAnimated` checks | GeoSot | |
2021-12-01 | Tooltip: refactor jQueryInterface | GeoSot | |
2021-12-01 | Fix popover arrow & tooltip template after the `setContent` addition (#35441) | GeoSot | |
2021-12-01 | Tooltip: remove leftover method (#35440) | GeoSot | |
Remove a leftover after #32692 Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-11-25 | Clean tooltip component unneeded functionality (#32692) | GeoSot | |
2021-11-25 | tooltip.js: use array.includes instead of for iteration (#35127) | GeoSot | |
2021-11-25 | Add a template factory helper to handle all template cases (#34519) | GeoSot | |
Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-10-13 | JS: minor refactoring (#35183) | XhmikosR | |
* 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-10 | tooltip.js: ignore a LGTM error (#35147) | XhmikosR | |
The code on this line is either sanitized or the user chose to not sanitize it. | |||
2021-10-09 | Merge remote-tracking branch 'remotes/origin/v513' | XhmikosR | |
2021-10-09 | Bump version to 5.1.3.v5.1.3 | XhmikosR | |
2021-10-05 | Enable `unicorn/no-array-for-each` rule | XhmikosR | |
2021-10-05 | Release v5.1.2 (#35114)v5.1.2 | XhmikosR | |
2021-09-07 | Release v5.1.1 (#34869)v5.1.1 | XhmikosR | |
* Prepare v5.1.1. * Dist | |||
2021-08-31 | Fix tooltip `data-bs-original-title` issue (#34842) | GeoSot | |
2021-08-04 | Prepare v5.1.0. (#34674)v5.1.0 | XhmikosR | |
2021-08-03 | Regression on tooltip template creation process. (#34628) | GeoSot | |
* Regression on tooltip template creation process. * check if template content does not exist, or given argument is empty * call `setContent()` once. | |||
2021-07-30 | tooltip: move repeated strings to constants (#34619) | XhmikosR | |
2021-07-30 | Enable a few eslint-config-xo rules (#34620) | XhmikosR | |
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove | |||
2021-07-22 | Use on private method to set content & cleanup template | GeoSot | |
2021-07-22 | popover: Move common code in tooltip's `getTipElement()` | GeoSot | |
2021-07-22 | use one private method to resolve string or function | GeoSot | |
2021-07-22 | Use `getOrCreateInstance` on `_initializeOnDelegatedTarget` | GeoSot | |
2021-07-22 | `_getDelegateConfig()`: add a comment and remove an unneeded config check | GeoSot | |
2021-07-22 | use a class private getter to decouple same methods usage | GeoSot | |
2021-06-22 | Release v5.0.2 (#34276)v5.0.2 | XhmikosR | |
* Bump version to v5.0.2. * Dist | |||
2021-06-03 | Add `getOrCreateInstance` method in base-component (#33276) | GeoSot | |
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com> | |||
2021-05-25 | Change `element.parentNode.removeChild(element)` to `element.remove()` (#34071) | GeoSot | |
2021-05-20 | Allow use of `dispose/hide` methods on Tooltip & Popover from ↵ | GeoSot | |
jQueryInterface, when component does not exists. (#33371) | |||
2021-05-13 | Release v5.0.1 (#33972)v5.0.1 | XhmikosR | |
* Bump version to 5.0.1. * Dist | |||
2021-05-13 | Move get element functionality to a helper (#33327) | GeoSot | |
Looking around on js components I found out many checks, different expressed but with same purpose. Some of them are trying to parse string to element, others, jQuery element to js simple nodeElement etc With this Pr, I am trying to give a standard way to parse an element So this pr: * Creates `getElement` helper that tries to parse an argument to element or null * Changes `isElement` to make explicit checks and return Boolean * fixes tests deficiencies | |||
2021-05-12 | Popover/Tooltip: streamline config property to start with underscore (#33381) | GeoSot | |
2021-05-11 | Extract static `DATA_KEY` & `EVENT_KEY` to base-component (#33635) | GeoSot | |
* Force each plugin that extends base-components to implement a static method `NAME()` * Remove redundant `NAME` argument from 'Utils.defineJQueryPlugin' & fix test | |||
2021-05-11 | Refactor: move disposing properties into the base class (#33740) | GeoSot | |
Moves more functionality to `base-component`, transferring the responsibility of disposal to parent class. Each component, dusting disposal, sets its protected properties to `null`. So the same can be done in one place for all children components . |