From 9caeccc74c6f2218ef41c1a2887235c0cb1285c5 Mon Sep 17 00:00:00 2001 From: portikM Date: Thu, 30 Nov 2023 11:37:04 -0500 Subject: [PATCH] fix(kcard): address PR feedback [KHCP-8971] --- docs/guide/migrating-to-version-9.md | 4 +-- sandbox/pages/SandboxCard.vue | 22 -------------- src/components/KCard/KCard.vue | 40 ++------------------------ src/components/KSlideout/KSlideout.vue | 3 +- 4 files changed, 7 insertions(+), 62 deletions(-) diff --git a/docs/guide/migrating-to-version-9.md b/docs/guide/migrating-to-version-9.md index caa927baff..043e47492e 100644 --- a/docs/guide/migrating-to-version-9.md +++ b/docs/guide/migrating-to-version-9.md @@ -72,7 +72,7 @@ Kongponents styles are no longer designed to be utilized standalone, separately #### Props * `testMode` prop has been removed -* `body` prop has been deprecated. Use `default` slot instead +* `body` prop has been removed. Use `default` slot instead * `borderVariant` prop has been removed. KCard has a border by default * `hasHover` prop has been removed * `hasShadow` prop has been removed. KCard does not have a box-shadow by default @@ -81,7 +81,7 @@ Kongponents styles are no longer designed to be utilized standalone, separately #### Slots * `statusHat` slot has been removed -* `body` slot has been deprecated in favor of `default` slot +* `body` slot has been removed. Use the `default` slot instead * `notifications` slot has been removed #### Structure diff --git a/sandbox/pages/SandboxCard.vue b/sandbox/pages/SandboxCard.vue index e741c39807..00c683b6b8 100644 --- a/sandbox/pages/SandboxCard.vue +++ b/sandbox/pages/SandboxCard.vue @@ -95,28 +95,6 @@ - - - - - - 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 d6d0ee1f60..d1884a0fff 100644 --- a/src/components/KCard/KCard.vue +++ b/src/components/KCard/KCard.vue @@ -20,19 +20,10 @@
- - - {{ body }} - +