Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-25src/tooltip.js OptimizationДилян Палаузов
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 ↵GeoSot
(#35856) * feat: create eventName getter function in baseComponent * refactor: use `eventName` getter on tooltip & popover
2022-01-30More 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-29Rename variablesXhmikosR
2021-12-21Popover/Tooltip: Fix vertical alignment on arrow of tip elements (#35527)GeoSot
Regression of #32692 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-15Tooltip: remove extraneous call to _getConfig() (#35540)GeoSot
BaseClass already initializes the config Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-12-07Tooltip: remove title attribute before show & add tests (#35456)GeoSot
2021-12-01Tooltip/Popover: add underscore prefix to protected functionsGeoSot
2021-12-01Tooltip: a simple code-block position changeGeoSot
2021-12-01Tooltip: simplify popper checkGeoSot
2021-12-01Tooltip: refactor `_hoverState` to Boolean to achieve better controlGeoSot
2021-12-01Tooltip: merge timeout functionalityGeoSot
2021-12-01Tooltip: Change `_enter` & `_leave` to work without argumentsGeoSot
2021-12-01Tooltip: Remove redundant `config.delay` checkGeoSot
`config.delay` is always an object after initialization
2021-12-01Tooltip: Remove `Data.set` usage for dynamically created tipGeoSot
This is not used any further, so we were just setting it.
2021-12-01Tooltip: merge `isAnimated` checksGeoSot
2021-12-01Tooltip: refactor jQueryInterfaceGeoSot
2021-12-01Fix popover arrow & tooltip template after the `setContent` addition (#35441)GeoSot
2021-12-01Tooltip: remove leftover method (#35440)GeoSot
Remove a leftover after #32692 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-25Clean tooltip component unneeded functionality (#32692)GeoSot
2021-11-25tooltip.js: use array.includes instead of for iteration (#35127)GeoSot
2021-11-25Add a template factory helper to handle all template cases (#34519)GeoSot
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-13JS: 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-10tooltip.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-09Merge remote-tracking branch 'remotes/origin/v513'XhmikosR
2021-10-09Bump version to 5.1.3.v5.1.3XhmikosR
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR
2021-10-05Release v5.1.2 (#35114)v5.1.2XhmikosR
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR
* Prepare v5.1.1. * Dist
2021-08-31Fix tooltip `data-bs-original-title` issue (#34842)GeoSot
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR
2021-08-03Regression 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-30tooltip: move repeated strings to constants (#34619)XhmikosR
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
2021-07-22Use on private method to set content & cleanup templateGeoSot
2021-07-22popover: Move common code in tooltip's `getTipElement()`GeoSot
2021-07-22use one private method to resolve string or functionGeoSot
2021-07-22Use `getOrCreateInstance` on `_initializeOnDelegatedTarget`GeoSot
2021-07-22`_getDelegateConfig()`: add a comment and remove an unneeded config checkGeoSot
2021-07-22use a class private getter to decouple same methods usageGeoSot
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR
* Bump version to v5.0.2. * Dist
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-25Change `element.parentNode.removeChild(element)` to `element.remove()` (#34071)GeoSot
2021-05-20Allow use of `dispose/hide` methods on Tooltip & Popover from ↵GeoSot
jQueryInterface, when component does not exists. (#33371)
2021-05-13Release v5.0.1 (#33972)v5.0.1XhmikosR
* Bump version to 5.0.1. * Dist
2021-05-13Move 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-12Popover/Tooltip: streamline config property to start with underscore (#33381)GeoSot
2021-05-11Extract 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-11Refactor: 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 .