From 1c2d64873e1c7057e65cbeaccba05305452bf219 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 24 Jan 2020 16:06:54 -0500 Subject: [PATCH] docs(list-header): update list header API changes and usage (#20289) closes #20284 --- BREAKING.md | 63 ++++-- core/src/components/list-header/readme.md | 206 ++++++++++++++++-- .../components/list-header/usage/angular.md | 64 ++++++ .../list-header/usage/javascript.md | 66 +++++- .../src/components/list-header/usage/react.md | 70 +++++- core/src/components/list-header/usage/vue.md | 66 ++++++ 6 files changed, 489 insertions(+), 46 deletions(-) create mode 100644 core/src/components/list-header/usage/angular.md create mode 100644 core/src/components/list-header/usage/vue.md 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