aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0
AgeCommit message (Collapse)AuthorFilesLines
2021-04-17Docs: Tried to fix the issue #33650 (#33664)ghost_321-4/+4
Prefixed the `aria-controls` with `list-` to match with `tabpanel` ids in `Javascript behavior` example in `List Group Component`.
2021-04-14Add example: Panels stay open (#33553)Peter Hartree1-0/+45
* Add example: Panels stay open * Set unique element IDs in the new example * Update language Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-04-14Correct the heading for the States sectionMark Otto1-1/+1
2021-04-14Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)Philip Wedemann1-25/+23
* Fix wrong dark attribute * Remove the outer table completely Co-authored-by: Mark Otto <[email protected]>
2021-04-10Add color-scheme mixinMark Otto1-0/+22
2021-04-06Improve responsiveness of Features examplesMark Otto1-14/+14
2021-04-06Fixed wrong method name _getInstanceDanny Trunk1-1/+1
There is no _getInstance method, but there is a getInstance method
2021-04-06Add equal column mixin (#32155)CFX1-0/+3
2021-04-04Add offcanvas-top modifier (#33549)Mark Otto1-1/+16
2021-04-04Update parcel.mdYuriy Gorbunov1-1/+1
2021-03-31Clarify docs accordion example (#33522)Mark Otto1-1/+1
2021-03-30The spacing margin side identifiers 's' and 'e' may be intuitive for many ↵John1-2/+2
but explicitly helping users associate the abbreviations to 'start' and 'end' should help people migrate from version 4 with less friction
2021-03-23Make offcanvas example fully static (#33446)Mark Otto1-1/+1
2021-03-23offcanvas-navbar: add missing redirect (#33443)XhmikosR1-0/+1
2021-03-23Add link to new Parcel guide in starter template (#33430)Mark Otto1-0/+1
Co-authored-by: XhmikosR <[email protected]>
2021-03-23Allow offcanvas to be initialized in open state (#33382)GeoSot1-3/+3
* Update docs to use new .show behavior and clarify some copy for first example Co-authored-by: Mark Otto <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-03-22Update examples (#33214)Mark Otto23-132/+1545
* 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 <[email protected]>
2021-03-17Utilities to Utilities API (Borders doc page) (#33380)Semih Raif Gürel1-1/+1
2021-03-16Add example: toggle modal dialogs (#33301)Anton1-0/+69
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-03-16Updates customize Sass docs to reflect proper placement of default variables ↵Mark Otto1-9/+17
overrides
2021-03-16Accept data-bs-body option in the configuration object as well (#33248)GeoSot1-34/+27
* 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 <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-03-16Update modal's `show` method to accept `relatedTarget` as an argument (#33300)Anton1-0/+7
Co-authored-by: Rohit Sharma <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-03-10Add migration guide entryMark Otto1-0/+4
2021-03-10Change from element selector to the opt-in classMark Otto1-4/+4
2021-03-10Add ol.list-group with psuedo-element numbersMark Otto1-0/+42
2021-03-10Fixes some copy around inline formsMark Otto1-1/+1
2021-03-10Mention .no-gutters removal in migration guide (#33332)Kyle Tsang1-0/+1
* Mention .no-gutters removal in migration guide * Update site/content/docs/5.0/migration.md Co-authored-by: Mark Otto <[email protected]>
2021-03-10Grammatically update the doc (#33267)Mohamed Khoualed1-4/+4
* Grammatically update the doc * Apply suggestions from code review Co-authored-by: Mark Otto <[email protected]>
2021-03-10Fix Flex utilities to add vertical space in exampleGarrett Johnson1-1/+1
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 Choutka1-1/+12
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)GeoSot4-1/+257
* 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 <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-03-02Dropdown — Drop `flip` option (#33198)Rohit Sharma2-6/+2
2021-03-02Add an example of v4's media component in the flex utils docs (#33207)Mark Otto2-1/+29
* Add an example of v4's media component in the flex utils docs * Link to new example from Migration guide Co-authored-by: XhmikosR <[email protected]>
2021-02-22docs(migration): duplicated 5.0.0-beta2 heading (#33178)Gaël Poupard1-2/+0
2021-02-22Allow constructors to accept a CSS selector (#32245)Rohit Sharma2-0/+20
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-21Fix small typos / follow-up to #32630 (#33164)Patrick H. Lauke1-1/+1
2021-02-17Clarify docs around .navbar-brand (#33123)Mark Otto1-4/+12
- Add new headings and text for each example - Fixes #33072 by changing align-* class
2021-02-16overview: add missing EOF newline (#33098)XhmikosR1-1/+1
2021-02-16Clear duplicated class `border-0` (#32925)k-utsumi1-3/+7
* Clear duplicated class `border-0` * Update migration.md Co-authored-by: Mark Otto <[email protected]>
2021-02-15docs(examples): typo in offcanvas example in .bg-body (#33092)Gaël Poupard1-1/+1
Caught by pa11y-ci on Boosted (because of insufficient contrasts) :heart:
2021-02-15Fix typo in nav-tabs docs (#33081)Siju Samson1-1/+1
2021-02-11Docs improvements after beta2 (#33049)Gaël Poupard4-35/+35
* 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 <[email protected]>
2021-02-11Add Parcel Bundler doc (#30909)eldk1-0/+99
* Add Parcel Bundler doc * Update parcel.md * Improve parcel.md Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto44-16/+468
* 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 <[email protected]>
2021-02-09Add function type for `popperConfig` option (#32882)Rohit Sharma4-6/+52
* Add function type for `popperConfig` option * Update .bundlewatch.config.json * copy edits Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2021-02-09Mention dropdown static change in Migration guideMark Otto1-0/+1
Co-authored-by: Rohit Sharma <[email protected]>
2021-02-09Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiersMark Otto1-4/+89
- 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 <[email protected]>
2021-02-09Docs on enforcing HTTPS and avoiding mixed content (#33017)Philip Kiely1-2/+4
Co-authored-by: XhmikosR <[email protected]>
2021-02-09Dynamic tabs: use buttons rather than links (#32630)Patrick H. Lauke1-37/+37
* 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 Sharma2-2/+2