@meistrari/tela-build 1.70.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,7 +24,7 @@ defineEmits<{
|
|
|
24
24
|
|
|
25
25
|
const variantClasses = computed(() => {
|
|
26
26
|
if (props.variant === 'multiline') {
|
|
27
|
-
return 'w-full min-w-255px max-w-320px py-
|
|
27
|
+
return 'w-full min-w-255px max-w-320px py-[10px] px-[12px] rounded-[10px] text-left'
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
return ''
|
|
@@ -36,7 +36,7 @@ const variantClasses = computed(() => {
|
|
|
36
36
|
:align="align"
|
|
37
37
|
:side="side"
|
|
38
38
|
:align-offset="props.alignOffset"
|
|
39
|
-
:class="cn(
|
|
39
|
+
:class="cn(variantClasses, contentClass)"
|
|
40
40
|
@click="$emit('clickContent', $event)"
|
|
41
41
|
>
|
|
42
42
|
<slot>
|
|
@@ -49,7 +49,7 @@ const variantClasses = computed(() => {
|
|
|
49
49
|
</h3>
|
|
50
50
|
<p
|
|
51
51
|
v-if="description"
|
|
52
|
-
body-12-regular mt-2px class="text-white/
|
|
52
|
+
body-12-regular mt-2px class="text-white/90"
|
|
53
53
|
>
|
|
54
54
|
{{ description }}
|
|
55
55
|
</p>
|
|
@@ -46,11 +46,7 @@ const isGrouped = computed(() => activeId !== null && activeId.value !== null &&
|
|
|
46
46
|
<TooltipPortal :disabled="disablePortal">
|
|
47
47
|
<TooltipContent
|
|
48
48
|
v-bind="{ ...forwarded, ...$attrs }"
|
|
49
|
-
z-1000 relative rounded-8px
|
|
50
|
-
py-5px px-10px pointer-events-auto
|
|
51
|
-
body-12-semibold text-white
|
|
52
|
-
bg-neutral-800
|
|
53
|
-
:class="cn('tooltip-content', props.class)"
|
|
49
|
+
:class="cn('tooltip-content z-1000 relative rounded-[8px] py-[5px] px-[10px] pointer-events-auto body-12-semibold text-white bg-neutral-800', props.class)"
|
|
54
50
|
:data-grouped="isGrouped || undefined"
|
|
55
51
|
@click="$emit('click', $event)"
|
|
56
52
|
>
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import TelaTooltipProvider from './tooltip-provider.vue'
|
|
3
|
-
import TelaTooltipRoot from './tooltip-root.vue'
|
|
4
|
-
import TelaTooltipTrigger from './tooltip-trigger.vue'
|
|
5
|
-
import TelaTooltipBody from './tooltip-body.vue'
|
|
6
2
|
import type { TooltipBodyProps } from './tooltip-body.vue'
|
|
7
3
|
|
|
8
4
|
export type TooltipProps = TooltipBodyProps & {
|