diff --git a/BREAKING.md b/BREAKING.md index d85d57e4d1..59cc7a0ef5 100644 --- a/BREAKING.md +++ b/BREAKING.md @@ -53,6 +53,8 @@ We originally added CSS utility attributes for styling components because it was Some examples of what's changed are below. *This is not all-inclusive, see the documentation linked above for all of the available CSS utility classes.* +**Before** + ```html @@ -60,7 +62,7 @@ Some examples of what's changed are below. *This is not all-inclusive, see the d ``` -becomes +**After** ```html @@ -254,6 +256,7 @@ Converted `ion-card` to use [shadow DOM](https://developer.mozilla.org/en-US/doc The controller components (`ion-action-sheet-controller`, `ion-alert-controller`, `ion-loading-controller`, `ion-menu-controller`, `ion-modal-controller`, `ion-picker-controller`, `ion-popover-controller`, `ion-toast-controller`) have been removed from Ionic core as elements. They should be imported from `@ionic/core` instead. This will not affect projects that use Angular or React. Below is an example of the loading controller change in a JavaScript project, but this change applies to all controller elements. +**Before** ```html @@ -272,7 +275,7 @@ The controller components (`ion-action-sheet-controller`, `ion-alert-controller` ``` -becomes +**After** ```html