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-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
2021-01-28Update checks and radios in input groups (#32912)Mark Otto
- 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 Bengfort
see #30598 and #30565
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke
* 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 <markd.otto@gmail.com> * Explicitly set padding to 0 to prevent dipping/moving on active in Firefox Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 (#32902)dependabot[bot]
* Bump eslint-plugin-unicorn from 26.0.1 to 27.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 26.0.1 to 27.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.1...v27.0.0) Signed-off-by: dependabot[bot] <support@github.com> * Update ESLint ignores Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26Add a link to v4.x from the v5 homepage (#32745)Mark Otto
* Add a link to v4.x from the v5 homepage * Update masthead.html * Update masthead.html * Change label Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-26Replace .bg-white with .bg-body in docsVino Rodrigues
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 Tsang
2021-01-19Docs: add v4.6.0 (#32842)XhmikosR
2021-01-19Add `.navbar-nav-scroll` for vertical scrolling of navbar content (#32037)Mark Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-18Add a live toast example to the docs (#32760)Mark Otto
2021-01-15Clarifies Sass variable defaults, adds bootstrap-npm-starter callout (#32795)Mark Otto
* 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 <xhmikosr@gmail.com>
2021-01-15docs: work around Toast CSS conflict with utils (#32620)Siju Samson
* Toast CSS conflict resolved * Update toasts.md Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-14Remove role="button" from CTA links in carousel examples (#32788)Patrick H. Lauke
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)voltaek
* 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 <xhmikosr@gmail.com>
2021-01-14Add mention of CSPs and SVGs (#32759)Mark Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13Revert "docs: Fix popover example showing above navbar (#32445)" (#32533)XhmikosR
This reverts commit 517446069a60daddaf5e53651661851f9b44e9a0.
2021-01-13Document some basic code conventions for us (#32778)Mark Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13Improve docs regarding RTL migration (#32771)Gaël Poupard
* 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_32
* 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 <ffoodd@users.noreply.github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-13Document size and multiple aren't supported on floating label selects (#32744)Mark Otto
* Document size and multiple aren't supported on floating label selects Closes #32660 * Update floating-labels.md
2021-01-13Update toasts.md (#32782)Marcin Kasperski
* 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 Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-10Fix typo (#32740)Brian Thompson
* Fix typo * Rewrite description to avoid awkward phrasing Co-authored-by: Mark Otto <otto@github.com>
2021-01-08Move "active" class from `.nav-item` to `.nav-link` (#32730)Théophile Helleboid - chtitux
2021-01-08docs(sidebar): active linkGaël Poupard
2021-01-08Move migration sidebar entry to sidebar.ymlXhmikosR
2021-01-07Bump copyright year to 2021 (#32713)XhmikosR
2021-01-07Clarify the `$enable-shadows` option in our docs (#32685)Mark Otto
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-07Fix navbar docs - active nav-link (#32589)Florian Lacreuse
* Fix navbar docs - active nav-link * Update navbar.md Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-01-06fix(ratio): missing variable prefix (#32501)Gaël Poupard
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. Lauke
based on changes made in the backport https://github.com/twbs/bootstrap/pull/32639
2021-01-06Hyphen to dash for ranges (#32488)Jonathan
* 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 - chtitux
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 <xhmikosr@gmail.com>