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-04-13Revamp Scrollspy using Intersection observer (#33421)GeoSot
* Revamp scrollspy to use IntersectionObserver * Add smooth scroll support * Update scrollspy.js/md * move functionality to method * Update scrollspy.js * Add SmoothScroll to docs example * Refactor Using `Maps` and smaller methods * Update scrollspy.md/js * Update scrollspy.spec.js * Support backwards compatibility * minor optimizations * Merge activation functionality * Update scrollspy.md * Update scrollspy.js * Rewording some of the documentation changes * Update scrollspy.js * Update scrollspy.md * tweaking calculation functionality & drop text that suggests, to deactivate target when wrapper is not visible * tweak calculation * Fix lint * Support scrollspy in body & tests * change doc example to a more valid solution Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-12-15Scrollspy: minor refactoring (#35512)XhmikosR
* reorder variables * join lines * use `filter(Boolean)` since it's clearer * use `for...of`
2021-12-10Extract Component config functionality to a separate class (#33872)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-09Merge remote-tracking branch 'remotes/origin/v513'XhmikosR
2021-10-09Bump version to 5.1.3.v5.1.3XhmikosR
2021-10-08scrollspy.js: chain functions (#35139)XhmikosR
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-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR
2021-06-23ScrollSpy: Make Proper use of the SelectorEngineGeoSot
* avoid extra work, creating ids * simplify selectors and constrain search inside `config.target`
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-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-05Release v5.0.0 (#33647)v5.0.0XhmikosR
* Bump version to 5.0.0 * Fix npm tag * Dist
2021-04-06Simplify ScrollSpy config (#33250)GeoSot
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
2021-01-07Scrollspy - Remove unnecessary event argument (#32603)Rohit Sharma
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
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-14Add `bs` in data attributesRohit Sharma
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-11Prepare v5.0.0-alpha3 (#32122)v5.0.0-alpha3XhmikosR
2020-11-01Streamline jQuery comment. (#32016)XhmikosR
2020-11-01Fix TypeError when Bootstrap is included in `head` (#32024)Sascha
* extend jquery after domContentLoaded event is fired * add unittest for util onDOMContentLoaded * wait for trigger jquery event after domContentLoaded * remove domcontentready from eventHandler * move istanbul ignore statements to correct line Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29Prepare v5.0.0-alpha2. (#31748)v5.0.0-alpha2XhmikosR
2020-07-12Join template literalsXhmikosR
2020-07-12Add parentheses around multiple spread conditionsXhmikosR
2020-07-12scrollspy.js: minor refactoringXhmikosR
2020-07-12Unbreak lines.XhmikosR
2020-06-16Rename "master" to "main". (#31050)XhmikosR
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-06enforce element check on scrollspy target (#30747)Johann-S
2020-05-04scrollspy.js: remove temporary variable (#30724)XhmikosR
2020-04-28Drop closest from SelectorEngine (#30653)Martijn Cuppens
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-03-25fix: remove make array util function (#30430)Johann-S
2020-03-18Switch to strings constants.XhmikosR
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly. While at it, remove a few unused properties. File Before After Diff -------------------------------------------------------- bootstrap.bundle.min.js 23.61 kB 22.61 kB -1.00 kB (-4.23 %) bootstrap.min.js 17.04 kB 16.08 kB -0.96 kB (-5.63 %)
2019-10-03return to the original file structure to avoid breaking modularityJohann-S
2019-07-23rewrite scrollspy unit testsJohann-S
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR