From 697eddc5f49a47126190c29ca7f65d00f4810bb3 Mon Sep 17 00:00:00 2001 From: Adam DeHaven Date: Wed, 4 Dec 2024 14:56:06 -0500 Subject: [PATCH 1/8] feat(slots): unwrap slots in mdc --- src/components/KAlert/KAlert.vue | 7 +++++-- src/components/KBadge/KBadge.vue | 3 ++- src/components/KButton/KButton.vue | 2 +- src/components/KCheckbox/KCheckbox.vue | 9 +++++++-- src/components/KCodeBlock/KCodeBlock.vue | 5 ++++- src/components/KInput/KInput.vue | 6 +++++- src/components/KInputSwitch/KInputSwitch.vue | 5 ++++- src/components/KLabel/KLabel.vue | 2 +- src/components/KRadio/KRadio.vue | 16 ++++++++++++---- .../KSegmentedControl/KSegmentedControl.vue | 1 + src/components/KTooltip/KTooltip.vue | 3 ++- src/components/KTruncate/KTruncate.vue | 9 ++++++++- 12 files changed, 52 insertions(+), 16 deletions(-) diff --git a/src/components/KAlert/KAlert.vue b/src/components/KAlert/KAlert.vue index 524849d043..db2217505a 100644 --- a/src/components/KAlert/KAlert.vue +++ b/src/components/KAlert/KAlert.vue @@ -7,7 +7,10 @@ v-if="showIcon || $slots.icon" class="alert-icon-container" > - + - +

{{ message }}

diff --git a/src/components/KBadge/KBadge.vue b/src/components/KBadge/KBadge.vue index 74eaecb5bf..6ad8e60129 100644 --- a/src/components/KBadge/KBadge.vue +++ b/src/components/KBadge/KBadge.vue @@ -13,13 +13,14 @@ >
- +
diff --git a/src/components/KButton/KButton.vue b/src/components/KButton/KButton.vue index ab864667d1..b25a4106d7 100644 --- a/src/components/KButton/KButton.vue +++ b/src/components/KButton/KButton.vue @@ -12,7 +12,7 @@ - + diff --git a/src/components/KCheckbox/KCheckbox.vue b/src/components/KCheckbox/KCheckbox.vue index 5dea546904..81b2cf806e 100644 --- a/src/components/KCheckbox/KCheckbox.vue +++ b/src/components/KCheckbox/KCheckbox.vue @@ -40,7 +40,9 @@ v-bind="labelAttributes" class="checkbox-label" > - {{ label }} + + {{ label }} +