From adec91e8fc71ebb12a4a57554c879ff87d70e50d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 1 Oct 2020 09:24:49 +0300 Subject: [PATCH] Move and update migration notes --- site/content/docs/5.0/migration.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 7eef5504f8..c32dcfab92 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -56,6 +56,9 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start` ### JavaScript - Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use `data-bs-toggle` instead of `data-toggle`. +- Updated Popper to v2.x: + - Removed `offset` option from our Tooltip/Popover and Dropdown plugins; this can still be achieved using the `popperConfig` parameter. + - The `fallbackPlacement` option has become `fallbackPlacements`. ### Sass @@ -283,8 +286,6 @@ Changes to our source and compiled JavaScript files. - Dropped jQuery dependency and rewrote plugins to be in regular JavaScript. - Removed underscore from public static methods like `_getInstance()` → `getInstance()`. -- Moved from Popper v1.x to Popper v2.x -- Removed `offset` option from our Tooltip/Popover and Dropdown plugin, this can still be achieve using `popperConfig` parameter. ### Color system