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/site
AgeCommit message (Collapse)Author
2021-03-23Release v5.0.0-beta3 (#33439)v5.0.0-beta3XhmikosR
2021-03-23offcanvas-navbar: add missing redirect (#33443)XhmikosR
2021-03-23Add link to new Parcel guide in starter template (#33430)Mark Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-23Allow offcanvas to be initialized in open state (#33382)GeoSot
* Update docs to use new .show behavior and clarify some copy for first example Co-authored-by: Mark Otto <markdotto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-22Update examples (#33214)Mark Otto
* Add updated Jumbotron example made from utilities * Update starter template example with new design and links * Update some existing examples and their screenshots * Add four new snippet-based examples * Update layout to improve things a bit * WIP * Add d-block to images * Fix horizontal scroll * move d-block to the anchor Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-17Utilities to Utilities API (Borders doc page) (#33380)Semih Raif Gürel
2021-03-17Add example: toggle modal dialogs (#33301)Anton
Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-17Updates customize Sass docs to reflect proper placement of default variables ↵Mark Otto
overrides
2021-03-16Accept data-bs-body option in the configuration object as well (#33248)GeoSot
* Accept data-bs-body option in the configuration object as well Tweak jqueryInterface, add some more tests * Fix Markdown table formatting and tweak the wording on backdrop Co-authored-by: Mark Otto <markdotto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-16Update modal's `show` method to accept `relatedTarget` as an argument (#33300)Anton
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-03-11Add migration guide entryMark Otto
2021-03-11Change from element selector to the opt-in classMark Otto
2021-03-11Add ol.list-group with psuedo-element numbersMark Otto
2021-03-11Fixes some copy around inline formsMark Otto
2021-03-11Mention .no-gutters removal in migration guide (#33332)Kyle Tsang
* Mention .no-gutters removal in migration guide * Update site/content/docs/5.0/migration.md Co-authored-by: Mark Otto <otto@github.com>
2021-03-11Grammatically update the doc (#33267)Mohamed Khoualed
* Grammatically update the doc * Apply suggestions from code review Co-authored-by: Mark Otto <otto@github.com>
2021-03-11Fix Flex utilities to add vertical space in exampleGarrett Johnson
The `justify-content-around` example is missing a `mb-3` class because it is not the last example.
2021-03-10Update the "Nonblocking files" section in the docsMartin Choutka
Added few paragraphs about optimizing FCP times, deferring non-critical JS and CSS, may update in the future again
2021-03-02Offcanvas as component (#29017)GeoSot
* Add a new offcanvas component * offcanvas.js: switch to string constants and `event.key` * Remove unneeded code * Sass optimizations * Fixes Make sure the element is hidden and not offscreen when inactive fix close icon negative margins Add content in right & bottom examples Re-fix bottom offcanvas height not to cover all viewport * Wording tweaks * update tests and offcanvas class * separate scrollbar functionality and use it in offcanvas * Update .bundlewatch.config.json * fix focus * update btn-close / fix focus on close * add aria-modal and role return focus on trigger when offcanvas is closed change body scrolling timings * move common code to reusable functions * add aria-labelledby * Replace lorem ipsum text * fix focus when offcanvas is closed * updates * revert modal, add tests for scrollbar * show backdrop by default * Update offcanvas.md * Update offcanvas CSS to better match modals - Add background-clip for borders - Move from outline to border (less clever, more consistent) - Add scss-docs in vars * Revamp offcanvas docs - Add static example to show and explain the components - Split live examples and rename them - Simplify example content - Expand docs notes elsewhere - Add sass docs * Add .offcanvas-title instead of .modal-title * Rename offcanvas example to offcanvas-navbar to reflect it's purpose * labelledby references title and not header * Add default shadow to offcanvas * enable offcanvas-body to fill all the remaining wrapper area * Be more descriptive, on Accessibility area * remove redundant classes * ensure in case of an already open offcanvas, not to open another one * bring back backdrop|scroll combinations * bring back toggling class * refactor scrollbar method, plus tests * add check if element is not full-width, according to #30621 * revert all in modal * use documentElement innerWidth * Rename classes to -start and -end Also copyedit some docs wording * omit some things on scrollbar * PASS BrowserStack tests -- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling. * Rename '_handleClosing' to '_addEventListeners' * change pipe usage to comma * change Data.getData to Data.get Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-02Dropdown — Drop `flip` option (#33198)Rohit Sharma
2021-03-02Add an example of v4's media component in the flex utils docs (#33207)Mark Otto
* Add an example of v4's media component in the flex utils docs * Link to new example from Migration guide Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-22docs(migration): duplicated 5.0.0-beta2 heading (#33178)Gaël Poupard
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-21Fix small typos / follow-up to #32630 (#33164)Patrick H. Lauke
2021-02-17Clarify docs around .navbar-brand (#33123)Mark Otto
- Add new headings and text for each example - Fixes #33072 by changing align-* class
2021-02-16overview: add missing EOF newline (#33098)XhmikosR
2021-02-16Clear duplicated class `border-0` (#32925)k-utsumi
* Clear duplicated class `border-0` * Update migration.md Co-authored-by: Mark Otto <otto@github.com>
2021-02-15docs: add bootstrap5 zh-tw in translations (#33006)Ray
2021-02-15docs(examples): typo in offcanvas example in .bg-body (#33092)Gaël Poupard
Caught by pa11y-ci on Boosted (because of insufficient contrasts) :heart:
2021-02-15Fix typo in nav-tabs docs (#33081)Siju Samson
2021-02-11Docs improvements after beta2 (#33049)Gaël Poupard
* docs(carousel): double-spaces out there * docs(toasts): missing word, ins't it? * docs(cheatsheet): use buttons for carousels and tabs ion cheatsheets too Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-11Add Parcel Bundler doc (#30909)eldk
* Add Parcel Bundler doc * Update parcel.md * Improve parcel.md Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-02-11Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-10Release v5.0.0-beta2 (#32467)v5.0.0-beta2XhmikosR
* Bump version to 5.0.0-beta2 * Dist
2021-02-10docs(scroll offset): improve a11y for sticky header (#33027)Gaël Poupard
Our current trick works great for headings or landmarks `:target`ed by links activation, however it still allows focus to be hidden under the sticky header. 1. Go to any docs page, 2. use a TOC link to scroll down the page, 3. then `Shift`+`Tab` to navigate backward using keyboard. You should see on some browsers (mainly Firefox from my tests, but it used to do the same in Chrome) that focused elements isn't visible, hidden by our sticky header. Applying `scroll-padding-top` to the `:root` solves this without any side-effect—but it requires to drop `scroll-margin-top` for anchors to prevent doubling the offset. FWIW based on my test, Edgium and Chromium don't really care since they seem to have a new heuristic for such cases, making the focused element scroll to the center of the view.
2021-02-09Add function type for `popperConfig` option (#32882)Rohit Sharma
* Add function type for `popperConfig` option * Update .bundlewatch.config.json * copy edits Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-02-09Mention dropdown static change in Migration guideMark Otto
Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-09Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiersMark Otto
- Removes the &[style] selector that was used for resetting Popper styles - Separate Popper-based alignment from static alignment with `data-bs-popover` attribute that separates the --bs-position and custom right/left properties Co-Authored-By: Rohit Sharma <rohit2sharma95@gmail.com>
2021-02-09Docs on enforcing HTTPS and avoiding mixed content (#33017)Philip Kiely
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-09Dynamic tabs: use buttons rather than links (#32630)Patrick H. Lauke
* Dynamic tabs: use buttons rather than links - change docs - add mention that tabs should be <button> elements - tweak styles to neutralise border and background * Update js unit and visual test accordingly - replace links with buttons - make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate - Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it) * Add isolation:isolate to prevent focus being overlapped https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-02-08Add a note to change the case type of option name (#32995)Rohit Sharma
2021-02-04Fix boundary config description for dropdown and popover (#32979)Kyle Tsang
2021-02-03Dropdown — Emit events on the `.dropdown-toggle` button (#32625)Rohit Sharma
* Emit events on the dropdown button Emit the events on `.dropdown-toggle` button and then bubble up * Add migration note for events * Update the docs for events * Add unit test to check the event bubbling Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03Fix default value for `$enable-deprecation-messages` (#32940)Stanisław Gregor
* Update the default value for $enable-deprecation-messages As seen in the https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss, the $enable-deprecation-messages variable is set to `true` by default. * Update site/content/docs/5.0/customize/options.md Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma
* Remove the margin from dropdown in favor of Popper - Set the default margin to 0 for dropdowns (To remove the Popper's warning) - Set the required offset in dropdown's defaults * Remove the margin from the popover component Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-02-03Tweak scss-docs shortcodeXhmikosR
Should work now with indented start/end capture statements
2021-02-03Update docs for color and bg utilitiesMark Otto
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-29Make carousel indicators actual buttonsPatrick H. Lauke
2021-01-28Update docs for `offset` optionRohit Sharma
2021-01-28Restore offset option for dropdown componentjoke2k