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-10-03Rename some vars in tab unit tests for consistency (#37248)Julien Déramond
2022-10-03Release v5.2.2 (#37236)v5.2.2XhmikosR
* Bump version to v5.2.2 * Dist
2022-10-02Ensure Tab keyboard functionality after #37146 (#37200)GeoSot
* fix: keyboard functionality * test: add tests * Add some focus spies in 2 other unit tests Co-authored-by: Julien Déramond <juderamond@gmail.com>
2022-10-02Use `<h1>` for all `modal-title` examples/uses (#37210)Patrick H. Lauke
* Use `fs-` font sizing classes where needed * Also add info callout about heading hierarchy in modals
2022-10-02Update devDependencies (#37238)XhmikosR
* Update devDependencies * @babel/cli ^7.18.10 → ^7.19.3 * @babel/core ^7.19.1 → ^7.19.3 * @babel/preset-env ^7.19.1 → ^7.19.3 * eslint-plugin-unicorn ^43.0.2 → ^44.0.0 * hugo-bin ^0.92.1 → ^0.92.2 * lockfile-lint ^4.9.3 → ^4.9.5 * postcss ^8.4.16 → ^8.4.17 * stylelint ^14.12.1 → ^14.13.0 * vnu-jar 21.10.12 → 22.9.29 * toast.js: fix new lint errors
2022-09-27Add eslint-plugin-html to lint JS in HTML files (#37186)Julien Déramond
2022-09-27Dropdown: fix case with invalid markup (#37190)GeoSot
This fixes a backward incompatible change in v5.2.1 where `.drodown-toggle` isn't present in the markup.
2022-09-23Tests: add testcase to Tabs, keyboard handler (#37189)GeoSot
2022-09-22Fix active class toggling of tabs within dropdown (#37151)Carson Sievert
* Close #36947: fix active class toggling tabs within dropdown
2022-09-22Use es6 on visual tests (#36915)GeoSot
2022-09-20Drop tabs auto-focus (#37146)GeoSot
* fix: drop tabs auto-focus
2022-09-20Update devDependencies (#37177)XhmikosR
2022-09-15Fix modal event listeners (#37128)Jérémie Broutier
* Fix modal event listeners (#37126) Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-09-14fix: add trick to support tooltip selector usage on dynamic created tooltips ↵GeoSot
that utilize `title` attribute (#36914)
2022-09-07Release v5.2.1 (#37098)v5.2.1XhmikosR
* Bump version to v5.2.1. * Dist
2022-09-07Fix modal event-listeners during dismiss click (#36863)GeoSot
ref: #36855
2022-09-07Fix tooltip manual toggling (#37086)GeoSot
partial regression of SHA: 9b9372e8ddd60413f3d9a582bd5481586d119d8d
2022-09-02fix(dropdowns): Fix multiple dropdowns when they are inside the same tag ↵Louis-Maxime Piton
(#37011)
2022-07-28ScrollSpy: make the threshold option configurable (#36750)GeoSot
* feat(ScrollSpy): make the threshold option configurable
2022-07-27Re-set tooltip title, on disposal (#36751)GeoSot
fix(reg): Re-set tooltip title, on disposal
2022-07-19Release v5.2.0 (#36768)v5.2.0XhmikosR
* Bump version to 5.2.0 * Dist * Update masthead.html
2022-07-19Fix failing test on EventHandler (#36772)GeoSot
2022-07-18Fix typos in code (#36763)Marc Wrobel
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
2022-07-15Standardization of `spyOn` usage (#36742)Julien Déramond
2022-07-14Offcanvas: activate focustrap when backdrop is enabled (#36717)GeoSot
* fix(offcanvas): activate focustrap when backdrop is enabled * Adding tabindex='-1' for both offcanvases in the docs * Remove useless aria-expanded='false' in togglers * Update js/tests/unit/offcanvas.spec.js Co-authored-by: Julien Déramond <julien.deramond@orange.com> Co-authored-by: Julien Déramond <juderamond@gmail.com> Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2022-07-12Fix on #35679 (#36668)Louis-Maxime Piton
* Fix * .
2022-07-06Handle non-empty whitespace `textContent` in Tooltip trigger (#36588)Nathan Walters
2022-07-04ref(tests): Minor fix to use self-closing input HTML tag (#36667)Julien Déramond
2022-06-30Fix interoperability issue regarding Event properties (#36386)Aleksander Machniak
* Fix interoperability issue regarding Event properties - make possible to re-set read-only event properties - use hydrateObj() to set delegateTarget property Fixes #36207 Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-06-27Force tooltip and popover to recreate content every time it opens (#35679)GeoSot
2022-06-27ref(tab): remove show from panels dependent-less they have `.fade` class or ↵GeoSot
not (simplify checks) (#36622)
2022-06-21fix: change dismiss handler, listening to key down, instead of click (#36401)GeoSot
2022-06-14Carousel: Remove redundant reference to `interval=false` from docs (#36545)GeoSot
* docs: remove redundant reference to `interval=false` * docs: remove redundant reference to `interval=false` from tests Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-06-14fix: fix possible bug on event handler. (#36561)GeoSot
some browsers validate the empty object as `true`, so is safer to use an explicit check
2022-06-09Fix typo in dropdown unit testJulien Déramond
2022-06-08Scrollspy: enable smooth-scroll behavior (#36528)GeoSot
2022-06-03Remove confusing unnecessary id/aria-labelledby for dropdown menus (#36487)Patrick H. Lauke
see https://github.com/twbs/bootstrap/discussions/35755 Note that even the APG guide for disclosure widgets doesn't use this optional "nice-to-have" extra bit https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ (though they do use `aria-controls`, which in most current browser/AT combos is borked though)
2022-06-02Re-ordering js default objectslouismaxime.piton
2022-05-31JS: tests fixes & standardization of spies usage (#36398)Louis-Maxime Piton
* Fix carousel spec typo * Change carousel test name in align with testing method * Make the spies declarations the same everywhere
2022-05-20Docs: quick fixes for HTML (#36395)Louis-Maxime Piton
* Using the new helper in the doc * Remove input from `Tab` access * Change scrollspy code examples * Reordering tables for JS * Fix for parcel file * Center align all the code example texts in layout * Alphabetical reorder the helpers
2022-05-16Assorted Event handler patches (#36171)GeoSot
* EventHandler: rename functions & variables * EventHandler: export event hydration to function * EventHandler: rename variable * EventHandler: simplify checks and make use of one variable Move check of falsie delegated-selector, caused by tooltip.js * EventHandler: more renaming * Update event-handler.js * bump bunldewatch Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-05-13Distv5.2.0-beta1XhmikosR
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-05-07Toast: provide `isShown` method (#36272)GeoSot
* feat(Toast): provide `isShown` method * Update site/content/docs/5.1/components/toasts.md Co-authored-by: Julien Déramond <julien.deramond@orange.com> Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-05-06Handle disabled focused tabs with tab JavaScript plugin (#36169)Julien Déramond
* Handle disabled tabs * Fix after feedback * Update js/src/tab.js Co-authored-by: GeoSot <geo.sotis@gmail.com> * Update js/src/tab.js Co-authored-by: GeoSot <geo.sotis@gmail.com> * Commit suggestions via GitHub broke the thing * Add some unit tests * Remove temp doc modification * Add tests for left arrow * Add disabled tabs in JavaScript Behavior section * Compact 4 tests to 2 tests * Compact 4 tests to 2 tests * Add 'disabled' attribute for all buttons * Change the disabled pane position only for the vertical version * Change ids for the confusing first example in JavaScript behavior * Use disabled attribute instead of the class for buttons in tabs Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-30Doc: remove `role="group"` from some split drop* buttonsJulien Déramond
2022-04-26EventHandler: change check method for custom events, avoiding regexGeoSot
2022-04-21Carousel: Fix not used option (`ride`), simplify `cycle` method (#35983)GeoSot
* Fix not used option (`ride`) (according to docs), continuing of #35753 a247fe9 * separate concept of `programmatical cycle` vs `maybe cycle after click` functionality
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot
Support parsing JSON from each component's main element using the `data-bs-config` attribute. The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing. With this commit, every component, will create its config object, using: * defaults * data-bs-config * the rest of data attributes * configuration object given during instance initialization Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>