From 0d361b065bc0d9ccb8958c522c7b7c5ee2e87b8f Mon Sep 17 00:00:00 2001 From: CarolineGard Date: Mon, 19 Jun 2023 17:55:07 +0200 Subject: [PATCH] fix(inline classes): update inline classes for tag, tabs, steps, expandable, attention --- components/attention/w-attention.vue | 7 +++- components/expandable/w-expandable.vue | 3 +- components/steps/w-steps.vue | 11 ++++-- components/tabs/w-tabs.vue | 1 - components/tag/w-tag.vue | 46 ++++++++++++++------------ dev/pages/Tabs.vue | 29 ++++++++-------- package.json | 4 +-- pnpm-lock.yaml | 16 ++++----- 8 files changed, 65 insertions(+), 52 deletions(-) diff --git a/components/attention/w-attention.vue b/components/attention/w-attention.vue index 974c52d4..b5ba57c8 100644 --- a/components/attention/w-attention.vue +++ b/components/attention/w-attention.vue @@ -21,6 +21,11 @@ const emit = defineEmits(['update:modelValue']); const directionName = computed(() => directions.find(e => props[e])); + const attentionClasses = computed(() => ({ + [props.attentionClass]: true, + [ccAttention.notCallout]: !props.callout + })) + const wrapperClasses = computed(() => ({ [ccAttention.base]: true, [ccAttention.tooltip]: props.tooltip, @@ -66,7 +71,7 @@