Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Update dependency bootstrap to v5 #90

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 28, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bootstrap (source) 4.5.3 -> 5.1.0 age adoption passing confidence

Release Notes

twbs/bootstrap

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 loading screens
  • Added support for horizontal collapsing in the collapse component
  • Added new stack and vertical rule helpers
  • Added tons of new CSS variables for body styles, colors, RGB colors, and more
  • Updated .bg-* and .text-* utilities to use CSS variables and new RGB CSS variables for real-time customization
  • Added four new component examples for dropdowns, footers, list groups, and modals
  • Updated modal and offcanvas backdrops to make them unique to each component
  • Reverted ability for .col-* classes to override .row-cols-* classes for now until we can fix some critical bugs
πŸš€ Features
🎨 CSS
  • #​31813: Add optional CSS grid
  • #​32319: Add maps for all colors, document how to extend color utilities
  • #​33781: Add utility classes for opacity
  • #​33986: New helpers: .hstack, .vstack, and .vr
  • #​34100: Updated utility API (css-vars utils and new bg/color utils), plus new root CSS variables
  • #​34253: Add horizontal collapse support
  • #​34273: Offcanvas navbar
  • #​34432: More concise improvements for add() and subtract()
  • #​34440: Add null $card-box-shadow variable
  • #​34445: fix(forms): prevent color control from shrinking
  • #​34475: Make text decoration consistent with other anchors
  • #​34481: Make the $accordion-icon-color default value consistent with the $accordion-button-color
  • #​34572: Clean up a couple CSS Grid issues
  • #​34612: Revert "Allow individual grid classes to override .row-cols"
  • #​34651: Update $input-bg to use $body-bg
β˜•οΈ JavaScript
  • #​33402: Changes to Alert component to match the others
  • #​33403: modal: change data-dismiss so that it can be outside of a modal using bs-target
  • #​33603: Fix Manipulator.offset()
  • #​33610: Toasts: Change showing timings and classes to keep toast display:none by default
  • #​33865: Add shift-tab keyboard support for dialogs (modal & Offcanvas components)
  • #​33866: Add dynamic, live alerts example to docs
  • #​34170: Use a streamlined way to trigger component dismiss
  • #​34205: Cleanup tooltip & popover components
  • #​34207: Make proper use of the SelectorEngine in ScrollSpy
  • #​34215: Use the switch statement instead of if
  • #​34220: Do a major cleanup in Collapse.js
  • #​34333: Accept argument of different types in the getInstance method
  • #​34441: util.js: remove Selector.findOne() dependency
  • #​34458: Dropdown cleanups
  • #​34543: Fix Util.reflow function and add documentation
  • #​34619: tooltip: move repeated strings to constants
  • #​34620: Enable a few eslint-config-xo rules
  • #​34628: Regression on tooltip template creation process.
πŸ“– Docs
πŸ›  Examples
🌎 Accessibility
  • #​33865: Add shift-tab keyboard support for dialogs (modal & Offcanvas components)
πŸ”§ Utility API
  • #​34100: Updated utility API (css-vars utils and new bg/color utils), plus new root CSS variables
🧰 Misc
πŸ“¦ Dependencies

v5.0.2

Compare Source

πŸš€ Features

  • #​34052: Automatically select an item in the dropdown when using arrow keys

🎨 CSS

β˜•οΈ JavaScript

  • #​33276: Add getOrCreateInstance method in base-component
  • #​33371: Popover & Tooltip: Allow dispose/hide methods usage through jQueryIntreface
  • #​33608: Utils: add getNextActiveElement helper function
  • #​33845: Fix handling of transitionend events dispatched by nested elements
  • #​33928: Reset inside a Dialog does not work if data-dismiss="modal" is set
  • #​33947: Refactor scrollbar.js to be used as a Class
  • #​33948: Add tests for scrollbar.js & better handling if a style property doesn't exist
  • #​33960: fix isVisible false positives from deep nesting or alternate means
  • #​33982: Don't add empty content holder when there is no content available
  • #​34014: Fix backdrop "Cannot read property 'removeChild' of null" when removed from body
  • #​34052: Automatically select an item in the dropdown when using arrow keys
  • #​34070: Fix test of #​34014
  • #​34071: Change element.parentNode.removeChild(element) to element.remove()
  • #​34085: Fix prevented show event disables modals with fade class from being displayed again
  • #​34092: Backdrop: Fix stale body by removing unnecessary default
  • #​34158: Register only one DOMContentLoaded event listener in onDOMContentLoaded
  • #​34266: Fix carousel buttons
  • #​34307: fix(carousel): arrow keys break animation if carousel sliding

πŸ“– Docs

πŸ›  Examples

🌎 Accessibility

  • #​34052: Automatically select an item in the dropdown when using arrow keys
  • #​34214: fix accessibility issue on sidebars example

πŸ”§ Utility API

  • #​34062: Document how to make utilities responsive using the API
  • #​34256: Add important to utilities, mention it's usage and global variable

🏭 Tests

  • #​33948: Add tests for scrollbar.js & better handling if a style property doesn't exist

🧰 Misc

πŸ“¦ Dependencies

v5.0.1

Compare Source

🎨 CSS

  • #​33551: Modals no longer use .modal-open to affect the <body> scroll
  • #​33644: Validated inputs in .input-group shouldn't be behind sibling element
  • #​33825: Prevent accent-bg from leaking in nested table
  • #​33870: Don't redefine $list-group-color in loop
  • #​33961: Revert :read-only selector back to [readonly]

β˜•οΈ JavaScript

  • #​33221: Prevent toast autohiding if focusing or hovering
  • #​33288: Remove potential false positive assertions
  • #​33327: Move get element functionality to a helper
  • #​33381: Popover/Tooltip: streamline config property to start with underscore
  • #​33609: Merge js-components transitionend listener callbacks into one method
  • #​33635: Extract static DATA_KEY & EVENT_KEY to base-component
  • #​33740: Refactor: move disposing properties into the base class
  • #​33853: Fix backdrop rootElement not initialized in Modal
  • #​33920: Fix: Click on input outside of dropdown-menu prevents dropdown from closing
  • #​33938: Fix dropdown test warning "without expectations"

πŸ“– Docs

πŸ›  Examples

  • #​33850: Fix unnecessary classes
  • #​33859: Update Sidebars example to fix dividers and rendering on Chrome
  • #​33926: Fix offcanvas example, using a custom trigger selector

🌎 Accessibility

🏭 Tests

  • #​33288: Remove potential false positive assertions
  • #​33635: Extract static DATA_KEY & EVENT_KEY to base-component
  • #​33927: Fix offcanvas test to expect the initial body overflow value
  • #​33938: Fix dropdown test warning "without expectations"

🧰 Misc

πŸ“¦ Dependencies

v5.0.0

Compare Source

Highlights

#​32155: Updated make-col() mixin to generate equal columns when no size is specified
#​32763: Added new color-scheme() mixin
#​33389: Dropdown menus now have option become clickable
#​33453: Added new docs footer
#​33548: Offcanvas header components are now vertically aligned
#​33549: Added offcanvas-top modifier
#​33634: Added support for .dropdown-items wrapped in <li>s
#​33626: Fix v5 regressions in tab dropdown functionality

πŸš€ Features

🎨 CSS

β˜•οΈ JavaScript

  • #​32439: Decouple BackDrop from modal
  • #​33245: Decouple Modal's scrollbar functionality
  • #​33249: Simplify Modal Config
  • #​33250: Simplify ScrollSpy config
  • #​33310: fix: make EventHandler better handle mouseenter/mouseleave events
  • #​33389: Dropdown β€” Add option to make the dropdown menu clickable
  • #​33429: Remove element event listeners through base component
  • #​33451: Add missing things in hide method of dropdown
  • #​33456: Use our isDisabled util on dropdown
  • #​33466: Refactor dropdown's hide functionality
  • #​33479: Fix dropdown escape propagation
  • #​33496: Use cached noop function
  • #​33497: Use template literals instead of concatenation
  • #​33499: Fix wrong carousel transformation, direction to order
  • #​33545: Use the backdrop util in offcanvas, enforcing consistency
  • #​33586: Tab.js: Fixes on click handling
  • #​33589: refactor: make static selectMenuItem method private
  • #​33612: tests: fix random BrowserStack failures in scrollbar
  • #​33626: Fix v5 regressions in tab dropdown functionality
  • #​33634: Dropdown: support .dropdown-item wrapped in <li> tags
  • #​33638: Fix toggle between modals example
  • #​33643: fix: clicking an item in navbar dropdown should not collapse the dropdown in firefox
  • #​33666: Modal.js: fix test for scrollbar
  • #​33677: Offcanvas.js: If scroll is allowed, should allow focus on other elements
  • #​33684: Don't change the value for altBoundary option
  • #​33706: Scrollbar: respect the initial body overflow value

πŸ“– Docs

Examples

🌎 Accessibility

🏭 Tests

  • #​33578: Remove unnecessary data-bs-backdrop="static" from modal tests
  • #​33612: tests: fix random BrowserStack failures in scrollbar
  • #​33666: Modal.js: fix test for scrollbar
  • #​33734: Add missing test for clicking select option in a dropdown

🧰 Misc

πŸ“¦ Dependencies

v4.6.0

Compare Source

Highlights
  • Tooltips and popovers can have custom clases via customClass option.
  • Added new .navbar-nav-scroll class for scrolling expanded navbar contents on mobile devices.
  • For improved accessibiliy, spinners now slow down when prefers-reduced-motion is enabled.
  • v4.x docs are now built on Hugo for easier maintenance and backports from v5.x.
  • Darkened background-color of .dropdown-item for improved hover state contrast, and ligthened the disabled .dropdown-item color.
  • Improved alignment of form validation tooltips.
  • File inputs no longer extend beyond their containers.
CSS
  • #​31557: Fix form validation tooltip alignment
  • #​31657: Handle the Ubuntu sans-serif case
  • #​31700: Suppress flexbox side effects in breadcrumb
  • #​31882: Slow down spinners when prefers-reduced-motion
  • #​31886: Fixed: Undefined mixin "deprecate" when importing "bootstrap-grid-scss"
  • #​32141: Use correct value order
  • #​32145: Avoid invisible real file input "spilling" out of container
  • #​32160: Add overflow suppression to custom file label
  • #​32211: Move negative margin-bottom from .nav-item to .nav-link
  • #​32212: Remove needless Stylelint disables
  • #​32833: Add .navbar-nav-scroll for vertical scrolling of navbar content
  • Add two new variables for pagination border-radius values; backport of #​32423
  • Remove old/unnecessary reboot bug fix; backport of #​32631
  • Suppress focus outline for buttons when it shouldn't be visible in Chromium; backport of #​32689
  • Consistently use outline:0 rather than outline:none; backport of #​32751
  • Darken dropdown item hover style; backport of #​32754
  • Lighten disabled dropdown text to $gray-500
JS
Docs
  • #​31861: Split up dropdown sizing docs to improve rendering
  • #​31892: Remove redundant visually hidden "(current)" from pagination controls
  • #​31893: manifest.json: Switch to relative URLs so that we don't need to change the path with every major/minor release
  • #​31898: switch to suggesting jsDelivr as a CDN
  • #​31904:
    • docs(forms): use a legend for fieldset instead of aria-label
    • docs(forms): fix incorrect legend nesting in fieldset
  • #​31936: forms: change inline custom radio name
  • #​31951: Update anchor-js to v4.3.0
  • #​31960: Explicitly mention emoji fonts, tweak sentence in typography
  • #​31981: list-group.md: fix snippet
  • #​32005: Remove bugreport.apple.com since it doesn't work
  • #​32015: Fix redirects
  • #​32050: Make docs anchorjs links darker on keyboard focus
  • #​32054: Add callouts about using light colors ideally on a dark background
  • #​32077: Switch to Hugo
  • #​32083: mention "Liberation Sans"
  • #​32087: download.md: link to JS files comparison too
  • #​32094: Changes to navbar documentation/explanation
  • #​32106: Clarify JS bundle docs once more for v4
  • #​32137: input-group.md: fix wrong class .visually-hidden
  • #​32138: navbar.md: remove loading=lazy from snippets
  • #​32147: Fix caniuse.com redirects
  • #​32151: Mention user-select-all support in docs
  • #​32196: homepage: split snippets and show copy buttons
  • #​32203: Switch to jsDelivr for the remaining docs assets
  • #​32223: introduction: split comments
  • #​32247: Fix typos in tooltip/popover docs
  • #​32253: Add Russian translation
  • #​32363: Remove useless .text-left in Layout / Overview
  • #​32399: Remove duplicated "follow Bootstrap on Twitter" link in Community section
  • #​32457: Add mention of the bs-custom-file-input plugin needed for the custom file input
  • #​32461: style clipboard button on :focus, not just :hover
  • #​32462: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text
  • #​32634: Remove incorrect mention of dropdowns for dynamic tab behavior
  • #​32639: v4: Add an actual data-touch="false" example in the carousel docs
  • #​32728: add v5.0 in versions
  • #​32761: Mention stretched-link constraints with table elements
  • #​32789: Remove role="button" from CTA links in carousel example
  • #​32791: Docs v4: Sass implementation and rounding precision
  • #​32809:
    • Clarify Sass import and customize docs for how to modify variable defaults
    • Add an npm starter project callout to a few pages
  • #​32827: Add a live toast example to the docs
  • #​32759: Mention CSP and embedded SVGs in v4 docs
  • docs(dropdowns): clarify where is .show applied
  • Require .has-validation for input groups with validation
  • Fix mobile menu jump & double border
  • Remove double spaces from homepage SVGs
  • browserconfig.xml: switch to relative image path
  • Tweak the wording for collapse to indicate button is preferred/more semantic; backport of #​32632
  • Clarify the $enable-shadows option in our docs; backport of #​32685
Examples
  • #​31979: v4 Examples/Floating-labels: fix bad behavior with autofill
  • #​32198: examples: add the version number in title
Misc
  • #​29753: Improve build/generate-sri.js regex
  • #​32003: CI: switch to Node.js 14
  • #​32008: Update Edge's Rendering Engine on CONTRIBUTING.md
  • #​32486: BrowserStack: test on macOS Catalina instead of High Sierra
  • #​32756: Stylelint: disallow some property values
  • Fix for npm 7.x package.json: move version_short variable under the config object; backport of #​32737
  • Update build-examples script so that the resulting examples zip file includes only the needed files
  • Various CI tweaks
  • Updated devDependencies

Configuration

πŸ“… Schedule: 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 WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant