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
path: root/js
AgeCommit message (Collapse)Author
2022-03-01Modal: refactor listeners to reduce some code noise (#35902)GeoSot
2022-03-01Carousel: simplify carousel items selectionGeoSot
We already know that carousel's parent is the carousel element, so we can use it explicitly
2022-03-01Carousel: move `carouselInterface` inside `jqueryInterface`GeoSot
2022-03-01Carousel: move logic of `dataApiClickHandler`GeoSot
2022-03-01Carousel: refactor dataApiKeyHandler to avoid use of `carouselInterface`GeoSot
2022-03-01Dropdown: Simplify dataKeyApiHandler (#35870)GeoSot
* Dropdown.js: Remove duplicated check for `Not Shown` instance * Dropdown.js: Rearrange `dataApiKeydownHandler` checks * Dropdown: do some fixup inside `dataApiKeydownHandler` * Update dropdown.js Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-03-01add testsMark Otto
2022-03-01Add centered dropdown and dropup optionsMark Otto
2022-02-25src/tooltip.js OptimizationДилян Палаузов
Util.findShadowRoot() returns either null or an object. It cannot return falsy, which allows this optimization.
2022-02-19Dropdown: use a better selector to avoid triggering click if button is ↵GeoSot
disabled (#35866)
2022-02-19Dropdown: use a combined selector to filter foreign not shown instances ↵GeoSot
iteration (#35766)
2022-02-19tests: revisit all tests using Promise.reject instead of throwing an error ↵GeoSot
(#35765)
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-02-19Carousel: remove one more call to ActiveIndexGeoSot
2022-02-19Carousel: change argument to `_setActiveIndicatorElement`, from element to indexGeoSot
2022-02-19Carousel: make direct triggering of slid event, instead of using a callbackGeoSot
2022-02-19Carousel: merge slide functionality, regardless of whether it is animated or notGeoSot
2022-02-19Carousel: simplify initialization on document load, using `getOrCreateInstance`GeoSot
2022-02-19Carousel: remove redundant config merge on `dataApiClickHandler`, as it is ↵GeoSot
done by default in the `constructor`
2022-02-15Update devDependencies (#35841)XhmikosR
* Update devDependencies * @babel/core ^7.17.0 → ^7.17.2 * @rollup/plugin-replace ^3.0.1 → ^3.1.0 * eslint ^8.8.0 → ^8.9.0 * eslint-config-xo ^0.39.0 → ^0.40.0 * hugo-bin ^0.80.1 → ^0.80.2 * karma ^6.3.15 → ^6.3.16 * rollup ^2.67.1 → ^2.67.2 * Fix new ESLint errors
2022-02-09Remove remaining `.navbar-light` classes (#35814)Julien Déramond
* Fix typo in CSS variables documentation * Drop remaining .navbar-light classes
2022-02-07Optimize jQueryInterface in Collapse (#35689)Anton
extracts config initialization from cycle
2022-02-01event-handler.js: remove unneeded return statementXhmikosR
2022-02-01Event-handler: use `Array.find` instead of `for`GeoSot
2022-02-01Event-handler: initialize variable properlyGeoSot
2022-02-01Fix Popover test that randomly fails on BrowserStack (#35757)GeoSot
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-02-01Dropdown: use destructured variables in `dataApyKeydownHandler`GeoSot
2022-02-01Dropdown: dropdown doesn't document `data-bs-target` option & `parentNode` ↵GeoSot
is ALWAYS the wrapper for toggle & menu
2022-02-01Dropdown: merge instance identification in `dataApiKeydownHandler`GeoSot
As we use the `dataApiKeydownHandler` only for events that are triggered on `[data-bs-toggle="dropdown"]` or on `.dropdown-menu`, we can ensure that their `parentNode` will ALWAYS be the `.dropdown` wrapper
2022-01-30Dropdown: use only one check for shown stateGeoSot
2022-01-30Dropdown: get dropdown's parent in one placeGeoSot
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-30Change selector-engine.js `parents` method to utilize better js native ↵GeoSot
methods (#35684) Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-01-30Fix visual tests (#35585)XhmikosR
* Fix visual tests They broke in #34509 * load bundle.js in visual tests Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-01-30Modal.js: remove unnecessary checks from testGeoSot
2022-01-30Modal: handle click event from backdrop callbackGeoSot
2022-01-30tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)GeoSot
Reference: https://jasmine.github.io/tutorials/async 'DEPRECATION: An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information.
2022-01-30Event handler: merge `new Event` with `new CustomEvent`GeoSot
2022-01-30Event handler: replace deprecated `initEvent`GeoSot
2022-01-29SelectorEngine: remove moot spaceXhmikosR
2022-01-29Return early in more placesXhmikosR
2022-01-29dropdown: Move constantXhmikosR
2022-01-29collapse: merge class togglingGeoSot
2022-01-29event-handler.js: use `for...of`XhmikosR
2022-01-29Rename variablesXhmikosR
2022-01-29backdrop.js: cache `_getElement` callsXhmikosR
2022-01-29Remove a few unneeded variablesXhmikosR
2022-01-13Fix: `isVisible` function behavior in case of a `<details>` element, on ↵Ryan Berliner
chrome 97 (#35682)
2022-01-05Remove explicit use of aria-hidden for offcanvas when closed (#35589)Patrick H. Lauke
Remove explicit use of aria-hidden & visibility for offcanvas when closed, handling it with css Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-12-21Carousel: move repeated code to a methodGeoSot