Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency bootstrap to v5 #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 11, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bootstrap (source) ^4.6.1 -> ^5.3.3 age adoption passing confidence

Release Notes

twbs/bootstrap (bootstrap)

v5.3.3

Compare Source

Highlights

  • Fixed a breaking change introduced with color modes where it was required to manually import variables-dark.scss when building Bootstrap with Sass. Now, _variables.scss will automatically import _variables-dark.scss. If you were already importing _variables-dark.scss manually, you should keep doing it as it won't break anything and will be the way to go in v6.
  • Fixed a regression in the selector engine that wasn't able to handle multiple IDs anymore.

Color modes

  • Badges now use the .text-bg-* text utilities to be certain that the text is always readable (especially when the customized colors are different in light and dark modes).
  • Fixed our color-modes.js script to handle the case where the OS is set to light mode and the auto color mode is used on the website. If you copied the script from our docs, you should apply this change to your own script.
  • Fixed color schemes description in the color modes documentation to show that color-scheme() only accept light and dark values as parameters.

Miscellaneous

  • Allowed <dl>, <dt> and <dd> in the sanitizer.
  • Dropped evenly items distribution for modal and offcanvas headers.
  • Fixed the accordion CSS selectors to avoid inheritance issues when nesting accordions.
  • Fixed the focus box-shadow for the validation stated form controls.
  • Fixed the focus ring on focused checked buttons.
  • Fixed the product example mobile navbar toggler.
  • Changed the RTL processing of carousel control icons.

🎨 CSS

β˜•οΈ JavaScript

πŸ“– Docs

πŸ›  Examples

  • #​39657: Fix product example mobile navbar toggler
  • #​39585: Docs: Add missing type="button" to Cheatsheet nav buttons

🏭 Tests

🧰 Misc

πŸ“¦ Dependencies

v5.3.2

Compare Source

Highlights

  • Passing a percentage unit to the global abs() is deprecated since Dart Sass v1.65.0. It resulted in a deprecation warning when compiling Bootstrap with Dart Sass. This has been fixed internally by changing the values passed to the divide() function. The divide() function has not been fixed itself so that we can keep supporting node-sass cross-compatibility. In v6, this won't be an issue as we plan to drop support for node-sass.
  • Using multiple ids in a collapse target wasn't working anymore and has been fixed.

Color modes

  • Increased color contrast of form range track background in light and dark modes.
  • Fixed table state rendering for color modes with a focus on the striped table in dark mode to increase color contrast.
  • Allow <mark> color customization for color modes.

Docs


🎨 CSS

  • #​38816: Use box-shadow CSS variables shadow utilities
  • #​38955: Fix radios looking like ellipse on responsive mode
  • #​38976: Use box-shadow CSS vars instead of Sass vars in assets and variables
  • #​39030: Fix dart-sass deprecation warning
  • #​39033: Color mode: fix table state rendering
  • #​39095: Make form range track background more contrasted
  • #​39119: New Sass var $btn-link-focus-shadow-rgb to allow customization
  • #​39141: New Sass variable to handle <mark> dark mode bg color

β˜•οΈ JavaScript

πŸ“– Docs

  • #​38873: Discord reddit bootstrap
  • #​38970: docs: add BootstrapVueNext to docs
  • #​38977: Docs: Add missing form elements in focusable elements
  • #​38978: Docs: Fix popover template role error
  • #​38995: introduction: drop details element
  • #​39037: Further improve image compression with oxipng and the latest jpegoptim
  • #​39054: Docs: Remove incorrect mention of .left- and .right- utilities from migration guide
  • #​39060: Migration: add back v5.0.0 heading
  • #​39145: Docs: add warning callout to add a workaround when jsDelivr is not available
  • #​39177: Fix: make theme selector tick icon visible when active in examples layout
  • #​39179: download: Reword CDN paragraph

πŸ›  Examples

🌎 Accessibility

🧰 Misc

πŸ“¦ Dependencies

v5.3.1

Compare Source

Highlights

  • Color modes:
    • Increased color contrast for dark mode by replacing $gray-500 with $gray-300 for the body color
    • Added our color mode switcher JavaScript to our examples ZIP download
  • Components:
    • Improved disabled styling for all .nav-links, providing .disabled and :disabled for use with anchors and buttons
    • Add support for Home and End keys for navigating tabs by keyboard
    • Added some basic styling to toggle buttons when no modifier class is present
    • Fixed carousel colors in dark mode
  • Forms:
    • Fixed floating label disabled text color
  • Utilities:
    • .text-bg-* utilities now use CSS variables
  • Sass:
    • Add new $navbar-dark-icon-color Sass variable
    • Removed duplicate $alert Sass variables
    • Added a new variable for $vr-border-width to customize the vertical rule helper width
  • Documentation:
    • Added search to our homepage
    • Improved responsive behavior on Dashboard example
    • Improved dark mode rendering of Cheatsheet examples

🎨 CSS

β˜•οΈ JavaScript

πŸ“– Docs

πŸ›  Examples

  • #​38958: Examples: improve spinner buttons accessibility
  • #​38952: dashboard: fix offcanvas md display
  • #​38840: Docs: fix carousel carousel colors of carousel examples in dark mode
  • #​38905: Fix dark mode rendering of Cheatsheet examples
  • #​38711: Fix link colors in Sidebars example

🌎 Accessibility

🧰 Misc

  • #​38747: Add color-modes.js to bootstrap-x.y.z-examples.zip

πŸ“¦ Dependencies

v5.3.0

Compare Source

v5.2.3

Compare Source

Fixes

🎨 CSS
β˜•οΈ JavaScript

v5.2.2

Compare Source

Highlights

  • Accordion
    • Use Sass variable for the accordion color instead of an invalid CSS variable
  • Buttons
    • Undo changes to .btn:hover from v5.2.1. We now explicitly target .btn-check styles instead.
  • Dropdowns
    • Restore the ability for dropdowns to work without an explicit data attribute (will be removed again in v6)
  • Modals
    • Improve modal event listeners
    • Use <h1> for all .modal-title instances in our docs
  • Tables
    • Don't redefine $border-color in table-variant() mixin
  • Tabs
    • Tabs no longer autofocus and cause pages to jump on tab.show()
    • Fix .active class toggling of tabs within dropdowns
  • Toasts
    • Properly set toast z-index on .toast-container as opposed to individual .toasts that don't receive any other positioning
  • Tooltips
    • Fix tooltip selectors with title attribute on dynamically created elements

🎨 CSS

β˜•οΈ JavaScript

πŸ“– Docs

🌎 Accessibility

🏭 Tests

🧰 Misc

πŸ“¦ Dependencies

v5.2.1

Compare Source

πŸš€ Highlights

  • Accordion
    • Update color value to use the $accordion-button-color Sass variable instead of our color contrast function
  • Buttons
    • Added a transparent default hover border color CSS variable for buttons to fix a visual regression
    • .btn-link no longer has a gradient when $enable-gradients is set to true
  • Forms
    • Input groups have updated z-index values to ensure proper rendering of validated form fields
    • Floating labels now reset their text-align to ensure consistent styling
  • List Groups
    • Horizontal list groups with only one child now render the correct border-radius
    • Modified the list-group-item selectors to better support nested imports of Bootstrap's CSS
  • Modals
    • Fixed modal event listeners during dismiss click, allowing you to once again click scrollbars without dismissing the modal
  • Pagination
    • Fixed incorrect border-radius values inside pagination components
  • Scrollspy
    • Scrollspy threshold option is now configurable
  • Tooltips
    • Reverted some tooltip plugin updates to prevent issues with selector, dynamic content, and disposed tooltips using title

πŸš€ Features

  • #​36750: ScrollSpy: make the threshold option configurable

🎨 CSS

β˜•οΈ JavaScript

πŸ“– Docs

πŸ›  Examples

🌎 Accessibility

  • #​36507: v5/docs: reintroduce outline for docs code samples, buttons when :not(:focus-visible)
  • #​36829: Docs: correct heading levels in features example
  • #​37026: Rework button focus/active styling, with extra changes for checks/radios

πŸ“¦ Dependencies

v5.2.0

Compare Source

πŸš€ Highlights

πŸš€ Features

  • #​36352: Fix StackBlitz examples by embedding snippets.js when needed
  • #​36528: Scrollspy: enable smooth-scroll behavior
  • #​36759: Support input groups in floating forms

🎨 CSS

  • #​36156: Update .form-control-color sizing and styles
  • #​36168: Manually set hover and active backgrounds and borders for dark and light buttons
  • #​36178: Add a banner mixin, helping future releases and maintenance
  • #​36327: Truncate text to prevent multiline floating label
  • #​36353: Fix offcanvas not showing with .showing
  • #​36366: add back focus box shadow to btn-link
  • #​36406: CSS: few proposals
  • #​36423: Stylelint: Disable custom-property-empty-line-before
  • #​36446: Update Sass for computing .table-group-divider border
  • #​36447: Fix .dropdown-item border-radius when $dropdown-padding-y is 0
  • #​36461: Fix alert border radius
  • #​36476: Docs: fix Reboot Horizontal rules using border utilities
  • #​36477: Docs: remove unused _algolia.scss
  • #​36499: Don't style readonly inputs as disabled
  • #​36500: Generate local CSS variables on utilities when using state option
  • #​36509: Remove --bs-headings-color CSS variable due to backward compatibility issues
  • #​36535: Fix 'Remove from map' Sass description
  • #​36608: dashboard example: minor fix
  • #​36627: Fix search modal z-index to be on top of all docs showcased components
  • #​36646: Fix tooltip/badge border radius when rounded disabled
  • #​36680: Revert db61cf3 for $text-muted default value
  • #​36689: Add missing CSS vars for .navbar-nav
  • #​36704: Fix missing --bs-btn-disabled-border-color in button-outline-variant mixin
  • #​36711: Add $display-font-family and $display-font-style
  • #​36740: Fixing pagination compile issue
  • #​36747: Fix active/focused button link text color
  • #​36759: Support input groups in floating forms

β˜•οΈ JavaScript

πŸ“– Docs

πŸ›  Examples

🌎 Accessibility

  • #​36487: Remove confusing unnecessary id/aria-labelledby for dropdown menus
  • #​36488: Docs: fix some ARIA Authoring Practices Guides broken links
  • #​36588: Handle non-empty whitespace textContent in Tooltip trigger
  • #​36696: add type="button" to Bootstrap versions dropdown
  • #​36717: Offcanvas: activate focustrap when backdrop is enabled
  • #​36732: Add accNames to all progress bar examples

🏭 Tests

🧰 Misc

  • #​36548: Update Code of Conduct with Contributor Covenant 2.1
  • #​36624: Use 'needs-example' label to trigger live demo bot message
  • #​36700: Replace JS Bin refs by CodePen or StackBlitz references

πŸ“¦ Dependencies

v5.1.3

Compare Source

Fixes

🎨 CSS
  • #​35143: Revert "Add align-self: center to buttons for improved rendering in flex containers"

v5.1.2

Compare Source

Highlights

  • Temporarily patched a postcss-values-parser issue by rearranging our calc() functions that use negative numbers. This should restore the ability to import and compile Bootstrap's Sass in create-react-app.
  • Added border-radius sizes to small and large .form-selects
  • Added align-self: center to buttons for improved rendering in flex containers
  • Fixed Collapse regression that prevented toggling between sibling children
  • Updated JS Sanitizer to add sms in the SAFE_URL_PATTERN
  • Improved docs around .img-fluid
  • Added role="switch" to our form switches in our docs
  • Implemented GitHub Issue forms to replace our previous issue templates.

Changes

🎨 CSS
  • #​34799: fix custom property values of row overrides individual cell
  • #​34834: Add align-self: center to buttons for improved rendering in flex containers
  • #​34853: Add border-radius sizes to small and large .form-selects
  • #​34861: Separator for table direct children
  • #​35017: Use Sass variable instead of RGB components
  • #​35033: Add workaround for dart sass compile error
β˜•οΈ JavaScript
πŸ“– Docs
πŸ›  Examples
🧰 Misc
πŸ“¦ Dependencies

v5.1.1

Compare Source

Highlights

🎨 CSS

  • #​34679: Fix font size variable name
  • #​34699: Add check to rgba-css-var function for body or bg
  • #​34773: Include root.scss in all dist builds
  • #​34779: Fix $dropdown-link-hover-color variable color value in _variable.scss file

β˜•οΈ JavaScript

  • #​34621: carousel: move common checks to a function
  • #​34701: Fix modal when is triggered by bs-toggle, to hide other open instances
  • #​34835: Collapse on toggle, should not hide descendant tabpanels
  • #​34842: Fix tooltip data-bs-original-title issue

πŸ“– Docs

πŸ›  Examples

  • #​34766: dashboard-rtl: use the same scripts as the dashboard example

🌎 Accessibility

🏭 Tests

πŸ“¦ Dependencies

v5.1.0

Compare Source

Highlights

  • Added experimental, opt-in CSS Grid support
  • Added support for responsive offcanvas components in navbars
  • Added new placeholders component for skeleton loadi

Configuration

πŸ“… Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovatebot label Mar 11, 2022
@renovate renovate bot force-pushed the renovate/bootstrap-5.x branch 2 times, most recently from bbac7eb to aa14d8e Compare July 11, 2022 04:55
@renovate renovate bot force-pushed the renovate/bootstrap-5.x branch from 93bcd2a to 86105e0 Compare May 30, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants