1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 23:09:05 +02:00
Commit Graph

3067 Commits

Author SHA1 Message Date
Mark Otto
396f2bc4db Rename mh-* and mw-* to max-h/w-*, add additional width and height values
Fixes #41330, fixes #40674.
2025-05-30 20:32:57 -07:00
Mark Otto
bcb50912cd WIP scss 2025-05-30 20:32:57 -07:00
Mark Otto
e09539933c Revamp theme colors and more 2025-05-30 20:32:45 -07:00
Mark Otto
88fbaa9073 Revamp some docs layout 2025-05-30 20:32:44 -07:00
Mark Otto
e311985f1e New .prose component, put it to work in the docs 2025-05-30 20:31:15 -07:00
Mark Otto
12fb082b3b WIP, needs to be broken apart
- button ideas
- rewrite utility mixin
- cleanup some code
- remove hyphen from infix by default
2025-05-30 20:31:15 -07:00
Mark Otto
02c1e34645 More docs Sass modules 2025-05-30 20:31:15 -07:00
Mark Otto
6e9f89d81d WIP on new .content-body class 2025-05-30 20:31:15 -07:00
Mark Otto
4dc3e62ec2 Update Alerts variables and remove deprecation mentions 2025-05-30 20:30:55 -07:00
Mark Otto
d1fe9fedba Fix stylelint 2025-05-30 20:30:55 -07:00
Mark Otto
125651adbd Remove add(), subtract(), and divide() functions for calc() and Sass math.div() 2025-05-30 20:30:55 -07:00
Mark Otto
eb3622e4ce Drop clearfix helper for display: flow-root 2025-05-30 20:30:55 -07:00
Mark Otto
37d579548a All utilities are no longer !important; they use the top CSS layer instead so they're always applied 2025-05-30 20:30:55 -07:00
Mark Otto
78b6a5a0ad Breakpoints edits
Breakpoints update

- Rename $grid-breakpoints to $breakpoints
- Rename -xxl to -2xl
- Update docs to use new classes
- Update breakpoints docs to add new language around updated breakpoint mixins and media queries, including no longer needing -.02px
2025-05-30 20:30:55 -07:00
Mark Otto
80c4f78ffb Migrate from flex to CSS grid layout 2025-05-30 20:30:55 -07:00
Mark Otto
c1e8462c4b Implement CSS layers
Rearrange and comment import stack

Move content stylesheets to new folder
2025-05-30 20:30:55 -07:00
Mark Otto
06df112bc1 Remove some enable vars 2025-05-30 20:30:55 -07:00
Mark Otto
21a94cae37 Give helpers folder an index.scss, migrate ratio helper to aspect-ratio utility 2025-05-30 20:30:55 -07:00
Mark Otto
c4fefeba36 Use CSS variable for border-radius in utilities 2025-05-30 20:30:55 -07:00
Mark Otto
3ce5bfcfb2 Migrate to Sass modules
fix function
2025-05-30 20:30:55 -07:00
Mark Otto
8692a00565 Reorganize scss folder 2025-05-30 20:30:55 -07:00
Mark Otto
ede41f571b New _colors.scss 2025-05-30 20:30:55 -07:00
Mark Otto
726d4fa16c Remove grid, reboot, and utilities bundles 2025-05-30 20:30:55 -07:00
Julien Déramond
7f946d4241 Consolidate multiple 'none' values in box-shadow Sass mixin (#41469) 2025-05-19 20:53:18 -07:00
Mark Otto
f849680d16 Release v5.3.6 (#41406)
* Update to v5.3.6

* Rebuild

* Rebuild
2025-05-05 12:21:55 -07:00
Gaël Poupard
c5bec4ea7b fix(visually-hidden): prevent overflowing children to become focusable (#41286) 2025-05-04 13:21:30 -07:00
mscdex
c9cb0d679c Limit selectors in .card-group to immediate children to fix border-radius bug (#41298) 2025-04-09 19:52:24 +02:00
Mark Otto
85f23534bd Bump to v5.3.5 (#41348)
* Bump to v5.3.5

* Undo comment version change

* undo comment

* release again
2025-04-04 11:20:30 -07:00
XhmikosR
51581ed235 Release v5.3.4 (#40656)
* Bump version to v5.3.4

* Dist

* Dist

* dist again

* re-run npm release

---------

Co-authored-by: Mark Otto <markdotto@gmail.com>
2025-04-03 08:58:10 -07:00
Somi Park
ed2bf138a3 Fix null modal-content-color in modal.scss (#39977)
Identified that $modal-content-color was set to null, which could lead
to display issues in React Bootstrap Modals. Changed the value to --#{$prefix}body-color
to ensure consistency and correct color application in modal components.
2025-04-02 23:49:33 -07:00
louismaxime.piton
e304e6ac16 Reintroduce #35759 and adding a guard rail on the active state 2025-04-02 23:38:38 -07:00
Stephen Horvath
a2c9b39a24 Fix animation when overriding --bs-progress-height 2025-04-02 22:56:10 -07:00
Mark Otto
5f6085a3a0 Split CSS properties here to avoid a bug where 0-ing the padding values causes invalid calc() functions
Fixes #39798, fixes #39370, closes #39873, undoes changes in #39373
2025-04-02 22:45:00 -07:00
XhmikosR
541acb4aac Bump year to 2025 2025-01-15 13:43:41 +02:00
Julien Déramond
a5d430d526 Fix display issues of close button in contextual light and dark modes (#41126) 2024-12-31 09:08:59 +01:00
Julien Déramond
0cbfe13adf Fix display issues of carousel child elements in contextual light and dark modes (#40695)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
2024-12-19 08:23:57 +01:00
Grimalkin
c536836aa8 CSS: consistent approach for calc with negative values (#41004)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-12-18 09:51:19 +01:00
Patrick (Casus Belli)
cacbdc680e Fix left alignment of floating labels with .form-select size variants (#41013)
Co-authored-by: Patrick Kroog <pk@kroog.com>
Co-authored-by: Christian Oliff <christianoliff@pm.me>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
2024-11-14 11:12:33 +01:00
Christian Oliff
8885dc2a77 Remove unneeded flexbug workaround (#40876)
This was only needed for Internet Explorer. Removing it saves a couple of bytes. :-)

REF: https://github.com/philipwalton/flexbugs#flexbug-4
2024-10-02 08:19:55 +03:00
dependabot[bot]
5ee90fe3d7 Build(deps-dev): Bump the development-dependencies group across 1 directory with 9 updates (#40895)
* Build(deps-dev): Bump the development-dependencies group across 1 directory with 9 updates

Bumps the development-dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@docsearch/js](https://github.com/algolia/docsearch) | `3.6.1` | `3.6.2` |
| [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) | `26.0.1` | `28.0.0` |
| [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) | `15.2.3` | `15.3.0` |
| [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) | `5.0.7` | `6.0.1` |
| [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) | `8.1.1` | `8.1.2` |
| [nodemon](https://github.com/remy/nodemon) | `3.1.4` | `3.1.7` |
| [postcss](https://github.com/postcss/postcss) | `8.4.45` | `8.4.47` |
| [sass](https://github.com/sass/dart-sass) | `1.77.8` | `1.78.0` |
| [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) | `15.0.0` | `15.1.0` |



Updates `@docsearch/js` from 3.6.1 to 3.6.2
- [Release notes](https://github.com/algolia/docsearch/releases)
- [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md)
- [Commits](https://github.com/algolia/docsearch/compare/v3.6.1...v3.6.2)

Updates `@rollup/plugin-commonjs` from 26.0.1 to 28.0.0
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v28.0.0/packages/commonjs)

Updates `@rollup/plugin-node-resolve` from 15.2.3 to 15.3.0
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.3.0/packages/node-resolve)

Updates `@rollup/plugin-replace` from 5.0.7 to 6.0.1
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/json-v6.0.1/packages/replace)

Updates `eslint-plugin-html` from 8.1.1 to 8.1.2
- [Changelog](https://github.com/BenoitZugmeyer/eslint-plugin-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/BenoitZugmeyer/eslint-plugin-html/compare/v8.1.1...v8.1.2)

Updates `nodemon` from 3.1.4 to 3.1.7
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.1.4...v3.1.7)

Updates `postcss` from 8.4.45 to 8.4.47
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.45...8.4.47)

Updates `sass` from 1.77.8 to 1.78.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.77.8...1.78.0)

Updates `stylelint-config-twbs-bootstrap` from 15.0.0 to 15.1.0
- [Release notes](https://github.com/twbs/stylelint-config-twbs-bootstrap/releases)
- [Commits](https://github.com/twbs/stylelint-config-twbs-bootstrap/compare/v15.0.0...v15.1.0)

---
updated-dependencies:
- dependency-name: "@docsearch/js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: "@rollup/plugin-replace"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: development-dependencies
- dependency-name: eslint-plugin-html
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: nodemon
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: stylelint-config-twbs-bootstrap
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix new stylelint-config-recess-order issues (#40887)

* Pin sass to 1.78

If the issues are fixed, it should be updated again along with the caret operator.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-10-02 08:11:23 +03:00
Louis-Maxime Piton
3083596e87 Docs: update WCAG links and references (#40703)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-08-07 12:11:06 +02:00
Julien Déramond
7f8fed44fd Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623) 2024-07-15 23:10:14 +02:00
Louis-Maxime Piton
b522441901 Floating labels: Fix max-width and background-color (#39720)
* Fix `max-width`

* Fix label background color

* Add new visual test: floating label

* Fix `npm run docs`

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-06-12 18:39:23 -07:00
Tobias
76ed1c6b14 Fix .btn-group-vertical border radius with dropdown as first element (#40488)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-05-30 07:49:28 +02:00
XhmikosR
859a134203 Optimize Sass SVG files (#39804) 2024-03-19 21:31:07 +02:00
Tommaso Allegretti
e340674d06 Change floating label placeholder's color (#39494)
Co-authored-by: Louis-Maxime Piton <louismaxime.piton@orange.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-03-19 06:47:42 +01:00
Vasyl Zuziak
4a7ff943f5 Merge accordion selectors for border-radius rule (#39697)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
2024-02-22 13:11:39 +01:00
Julien Déramond
6e1f75f420 Release v5.3.3 (#39524)
* Release v5.3.3

* Dist

---------

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-20 17:14:29 +02:00
Julien Déramond
4e35f64fdc Drop --bs-accordion-btn-focus-border-color and deprecate $accordion-button-focus-border-color (#39560)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-06 22:04:06 +02:00
Abdullah Alharbi
409fd23d92 Changed RTL processing of carousel control icons (#39536)
* Changed RTL processing of carousel control icons

* Update scss/_carousel.scss

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2024-02-06 22:02:43 +02:00