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-07Optimize jQueryInterface in Collapse (#35689)Anton
extracts config initialization from cycle
2022-01-29collapse: merge class togglingGeoSot
2022-01-29Rename variablesXhmikosR
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-10-13Change the way collapse handles its children on openingGeoSot
2021-10-13collapse: extract duplicate code to a functionGeoSot
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-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-05Enable `unicorn/no-for-loop` ruleXhmikosR
2021-10-05Release v5.1.2 (#35114)v5.1.2XhmikosR
2021-09-15Fix Collapse regression of handling toggling between sibling chilldren (#34951)GeoSot
2021-09-07Release v5.1.1 (#34869)v5.1.1XhmikosR
* Prepare v5.1.1. * Dist
2021-08-30Collapse on toggle, should not hide descendant tabpanels (#34835)GeoSot
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR
2021-07-29transfer `interface` inside `jQueryInterface`GeoSot
2021-07-29simplify initialization on `data-toggle` clickGeoSot
2021-07-29keep parent only as elementGeoSot
2021-07-29remove duplicated `Selector.find`GeoSot
2021-07-29Simplify check for childrenGeoSot
2021-07-29initialize variable properlyGeoSot
2021-07-29Refactor internal function to use it in more cases.GeoSot
Also, remove a few redundant checks since we already check for it in `_addAriaAndCollapsedClass()`.
2021-07-29Add a helper function to check for showingGeoSot
Also, remove the `isTransitioning()` helper.
2021-07-29Remove redundant check on `data-toggle` click.GeoSot
Previously, it was assumed that the trigger element would have its own separate config than the collapse element itself.
2021-07-29streamline `_getConfig` & interfaceGeoSot
2021-07-06Add horizontal collapse supportMark Otto
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-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-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 .
2021-05-10Merge js-components 'transitionend' listener callbacks into one methodGeoSot
2021-05-05Release v5.0.0 (#33647)v5.0.0XhmikosR
* Bump version to 5.0.0 * Fix npm tag * Dist
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR
2021-03-02refactor: use a Map instead of an Object in dom/data (#32180)alpadev
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-22Allow constructors to accept a CSS selector (#32245)Rohit Sharma
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <otto@github.com>
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR
* Bump version to 5.0.0-beta2 * Dist
2020-12-21collapse: prevent url change if `A` nested tag is clicked (#32438)Daniele Faraglia
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-10Remove `TRANSITION_END` from utils (#32394)XhmikosR
2020-12-08Refactor components to use a utility function to define jQuery plugins (#32285)alpadev
* refactor: use an utility function to define jQuery plugins * test: add spec for defineJQueryPlugin utility function * Update .bundlewatch.config.json Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07Prepare v5.0.0-beta1.XhmikosR
2020-12-02Unbreak lines. (#32304)XhmikosR
2020-11-29Remove setData from construtors (#32264)Rohit Sharma
2020-11-29Move `VERSION` to BaseComponent (#32254)Rohit Sharma
2020-11-29add dispose in base componentJohann-S
2020-11-29create a base componentJohann-S
2020-11-14Use `Array.find` instead of `Array.filter`XhmikosR
2020-11-14Add `bs` in data attributesRohit Sharma
- Add `bs` in data APIs everywhere - Update unit tests