aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs
AgeCommit message (Collapse)AuthorFilesLines
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
2021-02-04Fix boundary config description for dropdown and popover (#32979)Kyle Tsang2-5/+3
2021-02-03Dropdown — Emit events on the `.dropdown-toggle` button (#32625)Rohit Sharma2-2/+2
* 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 <[email protected]>
2021-02-03Fix default value for `$enable-deprecation-messages` (#32940)Stanisław Gregor1-1/+1
* 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 <[email protected]> Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Gaël Poupard <[email protected]>
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma2-2/+2
* 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 <[email protected]>
2021-02-03Update docs for color and bg utilitiesMark Otto8-39/+126
- Split colors from background utilities with new docs page - Add Sass docs for both pages
2021-01-28Make carousel indicators actual buttonsPatrick H. Lauke4-30/+30
2021-01-28Update docs for `offset` optionRohit Sharma4-3/+24
2021-01-28Restore offset option for dropdown componentjoke2k1-0/+10
2021-01-28Update checks and radios in input groups (#32912)Mark Otto1-3/+3
- Adds .mt-0 to the examples - Zero-ing out universally for all of them like in #32896 would cause issues for those who include the input with visible label text, where the text and input would be misaligned
2021-01-28migration: mention `.form-text` changes (#32911)Tobias Bengfort1-0/+1
see #30598 and #30565
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke3-38/+38
* Carousel: use buttons, not links, for prev/next - expand the styles to neutralise border/background - change docs page - add extra unit test to check that links or buttons work as controls - modify visual test to use buttons as well - use buttons instead of links for prev/next - remove `role="button"` from links that are actually links * Clarify that controls can be button or link * Update site/content/docs/5.0/components/carousel.md Co-authored-by: Mark Otto <[email protected]> * Explicitly set padding to 0 to prevent dipping/moving on active in Firefox Co-authored-by: XhmikosR <[email protected]>
2021-01-25Replace .bg-white with .bg-body in docsVino Rodrigues7-13/+14
Response to issue #32810 Use of the .bg-white class to define visual aspects of the examples would be unintuitive for theme builders to test themes on. This replaces instances of .bg-white with .bg-body in the examples. - Edited examples to replace use .bg-white class with .bg-body class - product - offcanvas - pricing - cheatsheet - cheatsheet-rtl - Edited utilities colors.md & shadows.md to include .bg-body class
2021-01-20docs: Fix `navbar-nav-scroll` description (#32846)Kyle Tsang1-1/+1
2021-01-19Add `.navbar-nav-scroll` for vertical scrolling of navbar content (#32037)Mark Otto1-0/+48
Co-authored-by: XhmikosR <[email protected]>
2021-01-18Add a live toast example to the docs (#32760)Mark Otto1-0/+40
2021-01-14Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)Mark Otto3-3/+29
* Clarify Sass import and customize docs for how to modify variable defaulst * Add an npm starter project callout to a few pages * Update callout-info-npm-starter.md Co-authored-by: XhmikosR <[email protected]>
2021-01-14docs: work around Toast CSS conflict with utils (#32620)Siju Samson1-7/+11
* Toast CSS conflict resolved * Update toasts.md Co-authored-by: XhmikosR <[email protected]>
2021-01-14Remove role="button" from CTA links in carousel examples (#32788)Patrick H. Lauke2-12/+12
They're links, acting as links. Just because they're styled as buttons visually doesn't mean they need/get `role="button"`
2021-01-14Docs v5: Fix Sass rounding precision and state Sass implementation (#32512)voltaek3-4/+10
* Add Sass section to Getting Started > Build Tools, mention Sass implementation used, mention current precision of 10 due to Dart Sass, and mention recommended minimum precision (value of 6 used in BS v4). Remove outdated Sass precision from Customize > Sass docs page. * Remove more mentions of deprecated Sass implementations. Add links to Sass compiler mentions so we can keep all pertinent Sass compiler information in just one location instead of spread through the docs, which makes it hard to find the details and/or keep them up-to-date. Co-authored-by: XhmikosR <[email protected]>
2021-01-14Add mention of CSPs and SVGs (#32759)Mark Otto1-0/+15
Co-authored-by: XhmikosR <[email protected]>
2021-01-13Document some basic code conventions for us (#32778)Mark Otto1-0/+8
Co-authored-by: XhmikosR <[email protected]>
2021-01-13Improve docs regarding RTL migration (#32771)Gaël Poupard3-1/+58
* docs(migrations): add a note regarding migration from v4 used for RTL layouts * docs(RTL): LTR & RTL at the same time * docs(utilities): how-to use the API to rename utilities * docs(RTL): mention issue when nesting styles with .ltr / .rtl
2021-01-13Migration: mention the removal of `.rounded-sm/lg` utilities (#32758)ghost_321-0/+1
* Changes made in migration.md file of documentation Added information about the removal of `.rounded-sm` and `.rounded-lg`. And addition of `.rounded-0` to `.rounded-3` * Moved the edited line Added `rounded-0` to `rounded-3` under v5.0.0-alpha3 * Moved correctly * Added link Added link to issue #31687 * docs(migration): last typo thinggies * Update migration.md Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2021-01-13Document size and multiple aren't supported on floating label selects (#32744)Mark Otto1-1/+1
* Document size and multiple aren't supported on floating label selects Closes #32660 * Update floating-labels.md
2021-01-13Update toasts.md (#32782)Marcin Kasperski1-2/+2
* dropped mention of `backdrop-filter` * changed mention of `.text-white` to `.btn-close-white` on close button
2021-01-12Mention stretched-link constraints with table elements (#32761)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-01-09Fix typo (#32740)Brian Thompson1-1/+1
* Fix typo * Rewrite description to avoid awkward phrasing Co-authored-by: Mark Otto <[email protected]>
2021-01-08Move "active" class from `.nav-item` to `.nav-link` (#32730)Théophile Helleboid - chtitux7-36/+36
2021-01-07Clarify the `$enable-shadows` option in our docs (#32685)Mark Otto1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2021-01-07Fix navbar docs - active nav-link (#32589)Florian Lacreuse1-2/+2
* Fix navbar docs - active nav-link * Update navbar.md Co-authored-by: XhmikosR <[email protected]>
2021-01-06fix(ratio): missing variable prefix (#32501)Gaël Poupard2-3/+4
This is the only unprefixed custom property, and its name is very common so I think we'd better prefix it too.
2021-01-06Tweak wording for no-touch carousel (#32688)Patrick H. Lauke1-2/+2
based on changes made in the backport https://github.com/twbs/bootstrap/pull/32639
2021-01-05Hyphen to dash for ranges (#32488)Jonathan5-5/+5
* Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges * Hyphen to dash for ranges
2021-01-05carousel example: Move "active" class on .nav-link element (#32647) (#32647)Théophile Helleboid - chtitux2-4/+4
The "active" CSS class must be on "nav-link" element, see `_navbar.scss`: ```css .nav-link.active { color: $navbar-dark-active-color; } ``` Co-authored-by: XhmikosR <[email protected]>
2021-01-05Fixes #32557: Add functions and variables to the utilities API docs imports ↵Mark Otto1-1/+7
(#32684) Co-authored-by: XhmikosR <[email protected]>
2021-01-05Remove incorrect mention of dropdowns for dynamic tab behavior (#32634)Patrick H. Lauke1-1/+1
While technically it still works, we're already saying authors shouldn't do it later on, and we removed any examples of this. This was a straggler. Co-authored-by: XhmikosR <[email protected]>