* chore: add storybook * chore: unify FE codeabse * chore: update eslint rules * chore: harmonize the use of "subtle" color * chore: remove an extra sidebar rail * refactor: make panel items more consistent * chore: cleanups after merging new code from base * refactor: refine composables * fix: add lost import * chore: make icon style consistent * fix: don't show empty "supported" methods * refactor: solidify select items
38 lines
646 B
Vue
38 lines
646 B
Vue
<script setup lang="ts">
|
|
/**
|
|
* @component AppTooltip
|
|
* @description Root container for a tooltip component.
|
|
*/
|
|
import {
|
|
TooltipRoot,
|
|
type TooltipRootEmits,
|
|
type TooltipRootProps,
|
|
useForwardPropsEmits,
|
|
} from 'reka-ui';
|
|
|
|
/*
|
|
* Types & Interfaces.
|
|
*/
|
|
|
|
export interface AppTooltipProps extends TooltipRootProps {}
|
|
|
|
/*
|
|
* Component Setup.
|
|
*/
|
|
|
|
const props = defineProps<AppTooltipProps>();
|
|
const emits = defineEmits<TooltipRootEmits>();
|
|
|
|
/*
|
|
* Computed & Methods.
|
|
*/
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<TooltipRoot v-bind="forwarded">
|
|
<slot />
|
|
</TooltipRoot>
|
|
</template>
|