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-06-21fix: change dismiss handler, listening to key down, instead of click (#36401)GeoSot
2022-06-02Re-ordering js default objectslouismaxime.piton
2022-05-13Prepare v5.2.0-beta1Mark Otto
2022-05-13Revert backdrop utilization, handling clicks over modal (#36324)GeoSot
* refactor(Modal.js): stop using backdrop class to handle clicks over modal * Revert #35554 and backdrop callback usage Explanation: In order to bypass `.modal`, was applied a css rule `pointer-events:none` which caused the side effect, and user couldn't scroll "long content modals" * Update .bundlewatch.config.json Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-03-01Modal: refactor listeners to reduce some code noise (#35902)GeoSot
2022-01-30Modal: handle click event from backdrop callbackGeoSot
2022-01-29Rename variablesXhmikosR
2022-01-29Remove a few unneeded variablesXhmikosR
2021-12-18Fix typo in comment (#35564)Phil E. Taylor
s/moddal/modal
2021-12-10Extract Component config functionality to a separate class (#33872)GeoSot
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-11-25Change adjustDialog's if conditions to improve readabilityGeoSot
2021-11-25Respect modal's initial overflowYGeoSot
2021-11-25Remove some uncovered code that seems to be unusedGeoSot
2021-11-25Change check for dynamic modalGeoSot
2021-11-25Tweak methodsGeoSot
Name them to be more descriptive and have agnostic functionality
2021-11-25Some refactoring on modal, to improve readability and generic functionalityGeoSot
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-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-10Fix modal when is triggered by `bs-toggle`, to hide other open instances ↵GeoSot
(#34701)
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR
* unicorn/prefer-dom-node-append * unicorn/prefer-dom-node-remove
2021-07-28Use a streamlined way to trigger component dismiss (#34170)GeoSot
* use a streamlined way to trigger component dismiss * add documentation Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-27Add shift-tab keyboard support for dialogs (modal & Offcanvas components) ↵Ryan Berliner
(#33865) * consolidate dialog focus trap logic * add shift-tab support to focustrap * remove redundant null check of trap element Co-authored-by: GeoSot <geo.sotis@gmail.com> * remove area support forom focusableChildren * fix no expectations warning in focustrap tests Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-07-19modal: change `data-dismiss` so that it can be outside of a modal using ↵GeoSot
`bs-target` (#33403) * change data-dismiss, so can be outside modal, using a bs-target * Update site/content/docs/5.0/components/modal.md Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-06-22Release v5.0.2 (#34276)v5.0.2XhmikosR
* Bump version to v5.0.2. * Dist
2021-06-06Refactor scrollbar.js to be used as a Class (#33947)GeoSot
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-06-03Fix handling of transitionend events dispatched by nested elements(#33845)alpadev
Fix handling of transitionend events dispatched by nested elements Properly handle events from nested elements Change `emulateTransitionEnd` to `executeAfterTransition` &&
2021-05-24Fix prevented show event disables modals with fade class from being ↵alpadev
displayed again (#34085) Fix modal, in case is faded, a prevented show event can cause show method to not be executed again.
2021-05-18Reset inside a Dialog does not work if `data-dismiss="modal"` is set (#33928)GeoSot
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-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-04-14Decouple BackDrop from modal (#32439)GeoSot
* Create backdrop.js util * revert breaking changes remove PromiseTimout usage revert class name * one more test | change bundlewatch.config * add config obj to backdrop helper | tests for rootElement | use transitionend helper * Minor tweaks — Renaming Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-04-11Remove element event listeners through base component (#33429)GeoSot
After some research, I found out that EventHandler saves all the custom events per element using namespace, and is capable of removing handlers using only the element and its namespace (`DATA_KEY`). So, probably is better to utilize the base-component to do the same job.
2021-04-11Decouple Modal's scrollbar functionality (#33245)GeoSot
2021-04-06Omit getting data-attributes from toggle elementGeoSot
2021-04-06Simplify Modal configGeoSot
2021-03-30Use template literals instead of concatenation (#33497)Rohit Sharma
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR
2021-03-08modal: move common code to a new `isAnimated` method (#33056)GeoSot
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-23modal: don't add margin & padding when sticky is not full width (#30621)Muhammadamin
* modal: don't add margin & padding when sticky is not full width * Check if element is shorter than window 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>