The Wayback Machine - https://web.archive.org/web/20221201202532/https://github.com/twbs/bootstrap/commits/main
Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 1, 2022

  1. code-examples.js: switch to firstElementChild (#37570)

    This ensures that we will get the first element child and not text
    XhmikosR committed Dec 1, 2022

Commits on Nov 30, 2022

Commits on Nov 29, 2022

  1. Build(deps-dev): Bump terser from 5.15.1 to 5.16.0 (#37556)

    Bumps [terser](https://github.com/terser/terser) from 5.15.1 to 5.16.0.
    - [Release notes](https://github.com/terser/terser/releases)
    - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
    - [Commits](terser/terser@v5.15.1...5.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: terser
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  2. Build(deps-dev): Bump @babel/core from 7.20.2 to 7.20.5 (#37558)

    Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.2 to 7.20.5.
    - [Release notes](https://github.com/babel/babel/releases)
    - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/babel/babel/commits/v7.20.5/packages/babel-core)
    
    ---
    updated-dependencies:
    - dependency-name: "@babel/core"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  3. Build(deps-dev): Bump rollup from 3.4.0 to 3.5.0 (#37559)

    Bumps [rollup](https://github.com/rollup/rollup) from 3.4.0 to 3.5.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.4.0...v3.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  4. Build(deps-dev): Bump @rollup/plugin-commonjs from 23.0.2 to 23.0.3 (#…

    …37557)
    
    Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 23.0.2 to 23.0.3.
    - [Release notes](https://github.com/rollup/plugins/releases)
    - [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
    - [Commits](https://github.com/rollup/plugins/commits/commonjs-v23.0.3/packages/commonjs)
    
    ---
    updated-dependencies:
    - dependency-name: "@rollup/plugin-commonjs"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  5. Build(deps-dev): Bump @rollup/plugin-babel from 6.0.2 to 6.0.3 (#37560)

    Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) from 6.0.2 to 6.0.3.
    - [Release notes](https://github.com/rollup/plugins/releases)
    - [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md)
    - [Commits](https://github.com/rollup/plugins/commits/babel-v6.0.3/packages/babel)
    
    ---
    updated-dependencies:
    - dependency-name: "@rollup/plugin-babel"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  6. Build(deps-dev): Bump hugo-bin from 0.94.0 to 0.95.0 (#37561)

    Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.94.0 to 0.95.0.
    - [Release notes](https://github.com/fenneclab/hugo-bin/releases)
    - [Commits](fenneclab/hugo-bin@v0.94.0...v0.95.0)
    
    ---
    updated-dependencies:
    - dependency-name: hugo-bin
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 29, 2022
  7. Docs: rewrite/reorganise carousel docs page (#37354)

    * Instantiate/initialize all non-autoplaying carousels in docs pages
    
    * Rewrite/reorganise carousel docs page
    
    * start with static/non-autoplaying examples
    * explicitly mention that carousels currently need to be manually initialized
    * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus
    
    * Add callout about autoplaying and accessibility
    
    * Don't have the dark variant example autoplay
    
    * Add "autoplaying" to cspell custom dictionary
    
    * Tweal wording, move Page Visibility API to autoplay section
    
    * Tweak explanation for methods, add line break in js code for consistency with last code block on the page
    
    * Tweak method descriptions
    
    * Tweak headings (plural "carousels")
    
    * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph
    
    * Tweak warning about `.active` slide
    
    * Tweak callout wording
    
    * Further prose tweaks
    
    move the sentence about not double-initialising autoplaying carousels to the callout right at the top
    instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor
    remove the incorrect statement about pausing when keyboard focus is in the carousel
    
    * Instantiate/initialize all non-autoplaying carousels in docs pages
    
    * Rewrite/reorganise carousel docs page
    
    * start with static/non-autoplaying examples
    * explicitly mention that carousels currently need to be manually initialized
    * split out and explain autoplaying and the weird "autoplay after first interaction" behaviour, as well as the pause on hover/focus
    
    * Add callout about autoplaying and accessibility
    
    * Don't have the dark variant example autoplay
    
    * Add "autoplaying" to cspell custom dictionary
    
    * Tweal wording, move Page Visibility API to autoplay section
    
    * Tweak explanation for methods, add line break in js code for consistency with last code block on the page
    
    * Tweak method descriptions
    
    * Tweak headings (plural "carousels")
    
    * Move some paragraphs out of intro and into basic example, reword the nested and accessibility paragraph
    
    * Tweak warning about `.active` slide
    
    * Tweak callout wording
    
    * Further prose tweaks
    
    move the sentence about not double-initialising autoplaying carousels to the callout right at the top
    instead of talking about `data-bs...` attributes, talk about the "option" instead, as authors may be setting these not via data attributes, but at instatiation time with options in the constructor
    remove the incorrect statement about pausing when keyboard focus is in the carousel
    
    * Fix relative link
    
    * Update site/assets/js/snippets.js
    
    Co-authored-by: GeoSot <geo.sotis@gmail.com>
    
    * Fix snippet.js
    
    * Tweak content organisation just a bit
    
    Co-authored-by: GeoSot <geo.sotis@gmail.com>
    Co-authored-by: Julien Déramond <juderamond@gmail.com>
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    Co-authored-by: Mark Otto <markdotto@gmail.com>
    5 people committed Nov 29, 2022
  8. Rework progress bar markup and styles (#36831)

    * Rework progress bar markup and styles
    
    Logically moves the various `role` and `aria-` attributes to the `.progress` element itself, leaving the `.progress-bar` to be used purely for the visual presentation. This fixes the problem #36736 that in certain browser/AT combinations, zero-value/zero-width progress bars are completely ignored and not announced.
    
    For multiple/stacked progress bars, this PR introduces a new wrapper and class `.progress-stacked`, to accommodate for the fact that with the more logical structure above, we need full `.progress` elements with child `.progress-bar` elements, and can't get away with the fudge we had before of having a single `.progress` with multiple `.progress-bar`s.
    
    Note that the old markup structures still work with this change, so this could be considered a non-breaking change - though one we definitely want to highlight as it's more accessible (as it now guarantees that zero-value/zero-width progress bars, whether on their own or as part of a multi/stacked bar, are actually announced)
    
    * Add a note about progress bar change in migration guide
    
    * Add notes with old markup examples and explanation
    
    * Fix bundlewatch
    
    * Update site/content/docs/5.2/components/progress.md
    
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    
    * Reintroduce deleted styles
    
    Turns out they're needed for correct positioning of text inside progress bar
    
    * Move changes in markup to Migrationg guide, link to that from top of progress page, rewrite some content
    
    * Fix typo in callout
    
    * Clarify "Sizing" section
    
    * Remove redundant "now"
    
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    Co-authored-by: Julien Déramond <juderamond@gmail.com>
    Co-authored-by: Mark Otto <markdotto@gmail.com>
    Co-authored-by: Mark Otto <markd.otto@gmail.com>
    5 people committed Nov 29, 2022
  9. Docs: Add black text/background examples (#37538)

    These classes have existed since 5.1 but weren't previously documented.
    
    Specifically:
    
    * .text-black
    
    * .bg-black
    
    * .bg-black.bg-gradient
    
    Co-authored-by: Mark Otto <markd.otto@gmail.com>
    EricDunsworth and mdo committed Nov 29, 2022
  10. Add dark mode support (#35857)

    * Add dark mode to docs
    
    * Minor fix: missing space indentation
    
    * Minor fix: revert utilities/z-index added-in modification
    
    * Remove prev: and next: from doc because extracted to another PR
    
    * Use .bg-body-tertiary in all Utilities > Overflow examples
    
    * fix example
    
    * Fix up spacing examples
    
    * Update box-shadow Sass variables and utilities to auto-adjust to color modes
    
    * Remove unused docs class
    
    * Refactor form styles to use CSS variable for background images on .form-check and .form-switch
    
    * Fix docs selector
    
    * Rename shortcut for clarity
    
    * Heading consistency
    
    * Reintroduce missing 4th grid item in Utilities > Spacing example
    
    * Fix bundlewatch
    
    * .bd-callout* rendering is OK so removing comments in the code
    
    * Update scss/_utilities.scss
    
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    
    * Fix gutters example styling
    
    * Fix text colors on background utils docs
    
    * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
    
    * fix some color utils examples
    
    * Deprecate mixin notice
    
    * Deprecate notice for list-group-item-variant() mixin
    
    * Revamp new link CSS vars
    
    * Use map-keys in some each Sass files
    
    * Remove list-group-item-variant mixin ref in sass loop desc
    
    * Display CSS vars scoped to our built-in dark mode
    
    * Revert previous commit
    
    * Fix list group variant link
    
    * Fix typo
    
    * Remove imports of alert/list-group mixins in scss/_mixins.scss
    
    * Small formatting + comments removal in scss/_content.scss
    
    * Fix alert links colors
    
    * fix dropdown border-radius mixin
    
    * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
    
    * fix colors on docs navbar for dark mode
    
    * remove two changes
    
    * missing ref
    
    * another link underline fix, just use sass vars for link decoration for now
    
    * missing color bg docs, plus move dropdown override to scss
    
    * more changes from review
    
    * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
    
    * Few fixes around type
    
    - Restored CSS variable for color on headings, this time with a fallback value
    - In conjunction, restored and wrapped the default CSS var with a null value check
    - Split headings and paragraphs docs in Reboot, elaborated on them
    
    * Restyle custom details > summary element in docs
    
    * Rewrite some migration docs
    
    * fix form checks
    
    * Fix up some navbar styling, tweak docs callout
    
    * Fix select images, mostly for validation styling
    
    * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
    
    * Update site/content/docs/5.2/components/scrollspy.md
    
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    
    * Apply suggestions from code review
    
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    
    * mention form control css vars in migration guide
    
    * Tweak grid and flex docs background examples
    
    * clarify some docs
    
    * fix some more things
    
    Co-authored-by: Julien Déramond <juderamond@gmail.com>
    Co-authored-by: Julien Déramond <julien.deramond@orange.com>
    3 people committed Nov 29, 2022

Commits on Nov 25, 2022

Commits on Nov 22, 2022

  1. Bump find-unused-sass-variables from 4.0.4 to 4.0.5 (#37531)

    Bumps [find-unused-sass-variables](https://github.com/XhmikosR/find-unused-sass-variables) from 4.0.4 to 4.0.5.
    - [Release notes](https://github.com/XhmikosR/find-unused-sass-variables/releases)
    - [Commits](XhmikosR/find-unused-sass-variables@v4.0.4...v4.0.5)
    
    ---
    updated-dependencies:
    - dependency-name: find-unused-sass-variables
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 22, 2022
  2. Bump rollup from 3.3.0 to 3.4.0 (#37530)

    Bumps [rollup](https://github.com/rollup/rollup) from 3.3.0 to 3.4.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.3.0...v3.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 22, 2022
  3. Bump eslint from 8.27.0 to 8.28.0 (#37529)

    Bumps [eslint](https://github.com/eslint/eslint) from 8.27.0 to 8.28.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.27.0...v8.28.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 22, 2022
  4. Bump hugo-bin from 0.93.0 to 0.94.0 (#37534)

    Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.93.0 to 0.94.0.
    - [Release notes](https://github.com/fenneclab/hugo-bin/releases)
    - [Commits](fenneclab/hugo-bin@v0.93.0...v0.94.0)
    
    ---
    updated-dependencies:
    - dependency-name: hugo-bin
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 22, 2022
  5. Bump engine.io from 6.2.0 to 6.2.1 (#37528)

    Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
    - [Release notes](https://github.com/socketio/engine.io/releases)
    - [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
    - [Commits](socketio/engine.io@6.2.0...6.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: engine.io
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 22, 2022
  6. Merge pull request #37524 from twbs/prepare-523

    Release v5.2.3
    XhmikosR committed Nov 22, 2022

Commits on Nov 21, 2022

  1. Dist

    XhmikosR committed Nov 21, 2022
  2. Bump version to 5.2.3

    XhmikosR committed Nov 21, 2022
  3. fix(carousel): RTL translate() direction

    Trying to fix #37180
    ffoodd authored and XhmikosR committed Nov 21, 2022
  4. Import root in bootstrap-utilities (#37377)

    * Fixes #37376
    ericleib authored and XhmikosR committed Nov 21, 2022
  5. Fix deprecation warning with sass 1.56.0 (#37425)

    Deprecation Warning: $weight: Passing a number without unit % (100) is deprecated.
    To preserve current behavior: $weight * 1%
    More info: https://sass-lang.com/d/function-units
    blankse authored and XhmikosR committed Nov 21, 2022

Commits on Nov 19, 2022

  1. Bump stylelint from 14.14.1 to 14.15.0 (#37496)

    Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.1 to 14.15.0.
    - [Release notes](https://github.com/stylelint/stylelint/releases)
    - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
    - [Commits](stylelint/stylelint@14.14.1...14.15.0)
    
    ---
    updated-dependencies:
    - dependency-name: stylelint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 19, 2022
  2. Bump rollup from 3.2.5 to 3.3.0 (#37495)

    Bumps [rollup](https://github.com/rollup/rollup) from 3.2.5 to 3.3.0.
    - [Release notes](https://github.com/rollup/rollup/releases)
    - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
    - [Commits](rollup/rollup@v3.2.5...v3.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: rollup
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] committed Nov 19, 2022

Commits on Nov 17, 2022

  1. Fix accessibility of examples buttons (#37498)

    Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
    MewenLeHo and patrickhlauke committed Nov 17, 2022

Commits on Nov 16, 2022

  1. Grid Gap Updates (#37413)

    * Grid Gap Updates
    
    - added column-gap
    - added row-gap
    
    * Grid Gap Updates
    
    * Bundlewatch update
    
    * Apply suggestions from code review
    
    Co-authored-by: Daniel O <dobiekwe@byteworks.com.ng>
    Co-authored-by: Mark Otto <otto@github.com>
    Co-authored-by: Mark Otto <markd.otto@gmail.com>
    4 people committed Nov 16, 2022

Commits on Nov 14, 2022

  1. Update input-group.md with form text example (#37406)

    * Update input-group.md with form text example
    
    This updated example shows where to correctly put form text (i.e. not inside the input group).
    
    * Fix markup
    
    * Update input-group.md
    
    Co-authored-by: Mark Otto <markd.otto@gmail.com>
    ryanmortier and mdo committed Nov 14, 2022
  2. Fix disabled floating labels color

    julien-deramond authored and mdo committed Nov 14, 2022
Older