diff --git a/docs/components/collapse.md b/docs/components/collapse.md index d26d7fa182..1b8aaa52a8 100644 --- a/docs/components/collapse.md +++ b/docs/components/collapse.md @@ -166,9 +166,9 @@ To set the default state (collapsed or expanded) without binding to v-model you - + @@ -182,10 +182,10 @@ To set the default state (collapsed or expanded) without binding to v-model you - + ``` diff --git a/docs/guide/migrating-to-version-9.md b/docs/guide/migrating-to-version-9.md index 8fa8041e5a..4c8deedd51 100644 --- a/docs/guide/migrating-to-version-9.md +++ b/docs/guide/migrating-to-version-9.md @@ -101,7 +101,7 @@ Kongponents styles are no longer designed to be utilized standalone, separately #### Slots * `statusHat` slot has been removed -* `body` slot has been removed. Use `default` slot instead +* `body` slot has been deprecated in favor of `default` slot * `notifications` slot has been removed #### Events diff --git a/sandbox/pages/SandboxCard.vue b/sandbox/pages/SandboxCard.vue index c9b9a5c70d..d00bda22ed 100644 --- a/sandbox/pages/SandboxCard.vue +++ b/sandbox/pages/SandboxCard.vue @@ -96,6 +96,25 @@ + + + + + + When both `default` and `body` slots are present, `default` slot will be used. + + + + + + diff --git a/src/components/KCard/KCard.vue b/src/components/KCard/KCard.vue index fd62be5efd..11d6516f51 100644 --- a/src/components/KCard/KCard.vue +++ b/src/components/KCard/KCard.vue @@ -22,10 +22,12 @@
-

{{ content }}

+ +

{{ content }}

+