Commit Graph

2870 Commits

Author SHA1 Message Date
XhmikosR 39589472f7 Bump version to 5.2.3 2022-11-21 20:15:33 +02:00
Gaël Poupard 127a816f77 fix(carousel): RTL `translate()` direction
Trying to fix #37180
2022-11-21 20:12:28 +02:00
Eric Leibenguth 77c456d8c4 Import root in `bootstrap-utilities` (#37377)
* Fixes https://github.com/twbs/bootstrap/issues/37376
2022-11-21 20:12:03 +02:00
Sebastian Blank b72236981f 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
2022-11-21 20:11:18 +02:00
XhmikosR 961d5ff984
Release v5.2.2 (#37236)
* Bump version to v5.2.2

* Dist
2022-10-03 10:44:02 +03:00
Julien Déramond 9edfed8a5e
Don't redefine `$border-color` in `table-variant` mixin (#37239)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2022-10-02 16:33:11 +02:00
Mark Otto 37e2e7e124
Use Sass variable for accordion color (#37182)
Fixes #37144
2022-09-21 18:55:57 +02:00
Patrick H. Lauke 2be9cd59ba
Explicitly target `.btn-check` and undo `:hover` (#37165)
rather than the other way around, which caused specificity issues
2022-09-20 15:15:46 +02:00
flavio-b 636bb496c9 Set toast z-index variable in the correct spot
The .toast-container tries to use the z-index CSS variable, which is defined under .toast. 
However, this variable is not accessible to the container. This change copies the variable to the spot where it can be used.
2022-09-20 04:36:45 -07:00
XhmikosR 23e50829f9
Release v5.2.1 (#37098)
* Bump version to v5.2.1.

* Dist
2022-09-07 18:31:39 +03:00
Sebastian Homeier 7a7469b8ab Fix accordion button color
Use the Sass variable `$accordion-button-color` to set the CSS custom
property `--bs-accordion-btn-color`.
2022-09-06 10:06:43 -07:00
AmirHossein 9b943880fc Update _button-group.scss 2022-09-05 12:52:43 -07:00
AmirHossein 97a9060a8f Update _button-group.scss 2022-09-05 12:52:43 -07:00
Mark Otto 2504b89950 Remove gradient from .btn-link 2022-09-04 11:12:38 -07:00
Patrick H. Lauke 32c457db4b
Rework button focus/active styling, with extra changes for checks/radios (#37026)
* Replace :focus styles with :focus-visible

* Remove :active / .active styles

* Don't apply :hover styles for `.btn` that follows a `.btn-check`

This removes a large part of the visual confusion of button checks/radios - that you currently have to move your mouse away from them to see what they actually changed to (checked or unchecked)

* Reintroduce :active, but *not* for button checks/radios

* Sort focus styling specifically for button checks/radios

don't change background on focus, just give it the border/outline. again, avoids confusion whether something is checked or not while focused

* Re-add `outline:0` which was lost when resolving last merge conflict

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-09-04 09:59:14 -07:00
Geremia Taglialatela b8880e5eec Add workarounds for postcss values parser error
postcss-values-parser returns a syntax error when a negative value is
provided in a `calc` function after a CSS variable.

This is not an issue with Bootstrap itself, but a workaround to allow
projects using postcss-values-parser to keep upgrading and compiling
bootstrap

Ref: shellscape/postcss-values-parser#138, twbs/bootstrap#35033

Fix: #36851
2022-09-04 09:45:40 -07:00
AmirHossein 8c380b2676
flush variant of accordion border radius (#36593)
* flush variant of accordion border radius

Fixed issues regarding to last accordion-item has rounded edges at the bottom left and right corners when focused and are in closed state

* Update _accordion.scss

Co-authored-by: Mark Otto <otto@github.com>
2022-09-01 12:55:45 -07:00
Giovanni Piller Cottrer 3ad8551f8b Fix accordion: use $accordion-color rather than computing it via color-contrast 2022-08-31 20:51:22 -07:00
Patrick H. Lauke cda901f244
v5/docs: reintroduce `outline` for docs code samples, buttons when `:not(:focus-visible)` (#36507)
* Remove outline suppression for focused `<pre>`

Sighted keyboard users rely on knowing where their focus is. If the `<pre>` receives focus (so that it can be scrolled by keyboard users, for instance) then it's essential that they know this is the case

* Only suppress outline for buttons when `:not(:focus-visible)`

* Add right-hand margin to pre

avoids having the focus outline awkwardly clipped by the copy button
2022-08-31 18:30:23 -07:00
Florian Lacreuse 2f3aec819a Fix input group z-index focus + validation 2022-08-31 18:17:41 -07:00
louismaximepiton ebbed79df7 Fix for horizontal list-group item 2022-08-31 18:16:11 -07:00
Julien Déramond a138bc3fb9 More consistency for CSS/Sass vars doc for components with dark variants 2022-08-31 18:15:11 -07:00
Michael Geuchmann bc2ec7c758 bugfix undefined border color variable for btn 2022-08-31 18:12:01 -07:00
louismaximepiton a0238d126b Adding missing CSS variables for `z-index` 2022-08-31 18:04:09 -07:00
Kitty Giraudel c3c6591166 Update an outdated name mentioned in a Sass comment 2022-08-10 21:23:41 +02:00
Hadouin 8730ef0f8e
fix #36662 List-group-item margin-top is offset when importing sass in a nested class (#36663)
* fix #36662 & + .list-group-item

* Ignore linter

Co-authored-by: Mark Otto <otto@github.com>
2022-08-03 11:27:51 -07:00
louismaximepiton 6c221aa043 Fix 2022-08-01 09:06:47 -07:00
louismaximepiton c22dd50e1b Fix floating labels 2022-08-01 08:59:22 -07:00
Julien Déramond 85530309fa
Define correctly `$popover-header-color` (#36849) 2022-07-29 21:54:18 +02:00
Julien Déramond 17aa6732ab
Fix typos after #36762 (#36771) 2022-07-29 21:49:01 +02:00
Julien Déramond a153f360ee Fix pagination page items border radius 2022-07-25 16:00:47 -06:00
なつき 04b5d099b3
Remove unused parameter of `bsBanner` mixin (#36791) 2022-07-22 10:35:38 +02:00
XhmikosR edf9c40956
Release v5.2.0 (#36768)
* Bump version to 5.2.0

* Dist

* Update masthead.html
2022-07-19 18:43:58 +03:00
Marc Wrobel 705d6857ad Fix typos in code (#36763)
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
2022-07-18 13:30:29 -07:00
JWB 154916ca2e Fixing pagination compile issue
This was an issue with the tables as well, but that has been updated here - 4a3c004c34

This was also noted here - 36501#issuecomment-1153187062_

This effects the 5.2 beta1 that is released on the homepage.

Whats happening is with a fresh download and compile, with some compilers, I noticed not all of them run into this issue, we get the Sass variable showing up and not the actual value.

Steps to reproduce - 
 - Download the source code form the docs for beta 2 and extract
 - Open VSCode -> open folder to the bootstrap directory you just extracted
 - install the "Sass/Less/Stylus/Pug/Jade/Typescript/Javascript Compile Hero Pro" v2.3.53 by Eno Yao extension
 ---- might have to restart VSCode
 - go to that extensions settings, and set the directory to save the output / compiled version to `../dist`
 - tap that Compile Hero on the bottom to activate the extension
 - open `bootstrap.scss` add a space or a new line and save it
 - check the compiles version and you should see the errors
2022-07-17 21:18:55 -07:00
Julien Déramond 150b374933 Fix active/focused button link text color 2022-07-17 20:52:52 -07:00
Mark Otto 71cbb88f09
Support input groups in floating forms (#36759)
* Support input groups in floating forms

* Update bundlewatch

Co-authored-by: 719media <ben@719media.com>
2022-07-17 20:50:41 -07:00
GeoSot 54317bf7c8
Add a banner mixin, helping future releases and maintenance (#36178)
* Add a banner mixin, helping future releases and maintenance

* Update scss/bootstrap-reboot.scss

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>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-07-11 16:36:12 -07:00
Julien Déramond a1224482f2
Add `$display-font-family` and `$display-font-style` (#36711) 2022-07-11 23:16:33 +02:00
Neeraj Kumar Das ac654a0f66 Add CSS custom property: --bs-btn-disabled-border-color to mixin: button-outline-variant 2022-07-11 01:38:05 -07:00
Mark Otto 270344a0d5 Remove headings-color CSS variable due to backward compatibility issues 2022-07-11 00:56:26 -07:00
Julien Déramond 2bf383c596 Add missing CSS vars for `.navbar-nav` 2022-07-07 14:32:35 -07:00
Julien Déramond 7d0b224df4
Revert db61cf3 for `$text-muted` default value (#36680) 2022-07-06 06:22:30 +02:00
Julien Déramond 9400b8f2f9 Fix tooltip/badge border radius when rounded disabled 2022-06-29 13:41:33 -07:00
Mark Otto ac0b87b207
Don't style `readonly` inputs as `disabled` (#36499)
* Don't style readonly inputs as disabled

Also remove the Chrome-specific focus styling from readonly plaintext

* Update some docs comments
2022-06-14 07:25:49 -07:00
Mark Otto 5f75413735 Generate local CSS variables on utilities when using state option 2022-06-13 14:07:13 -07:00
Mark Otto d16a16258c Manually set hover and active backgrounds and borders for dark and light buttons 2022-06-08 15:32:05 -07:00
Patrick H. Lauke 3102b4a3e9
Update some WCAG links, expand sass.md contrast explanation (#36489) 2022-06-03 10:42:49 +01:00
Mark Otto 824c5a077b Fix .dropdown-item border-radius when -padding-y is 0 2022-06-01 18:41:26 -07:00
mcoms 78c0ad8044 fix alert border radius 2022-05-30 09:26:41 -07:00