UNPKG

keep-vue

Version:

Keep Vue is an open-source component library built on top of Vue3 and Tailwind CSS. It offers a collection of pre-designed UI components and styles that you can easily integrate into your web applications.

95 lines (94 loc) 4.65 kB
/// <reference types=".vue-global-types/vue_3.5_false.d.ts" /> import { DropdownMenuItemIndicator, DropdownMenuRadioItem, useForwardPropsEmits, } from "radix-vue"; import { computed } from "vue"; import { cn } from "../../utils/cn"; const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue'); let __VLS_typeProps; const props = defineProps(); const emits = defineEmits(); const restProps = computed(() => { const { class: _, ...rest } = props; return rest; }); const forwarded = useForwardPropsEmits(restProps, emits); const __VLS_fnComponent = (await import('vue')).defineComponent({ __typeEmits: {}, }); ; let __VLS_functionalComponentProps; function __VLS_template() { const __VLS_ctx = {}; const __VLS_localComponents = { ...{}, ...{}, ...__VLS_ctx, }; let __VLS_components; const __VLS_localDirectives = { ...{}, ...__VLS_ctx, }; let __VLS_directives; let __VLS_styleScopedClasses; let __VLS_resolvedLocalAndGlobalComponents; const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.DropdownMenuRadioItem; /** @type { [typeof __VLS_components.DropdownMenuRadioItem, typeof __VLS_components.DropdownMenuRadioItem, ] } */ // @ts-ignore const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...(__VLS_ctx.forwarded), ...{ class: ((__VLS_ctx.cn('relative flex cursor-pointer select-none items-center rounded-lg py-2.5 pl-8 pr-2.5 text-body-4 font-medium outline-none transition-colors focus:bg-metal-50 focus:text-metal-600 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:text-white dark:hover:bg-metal-800 dark:focus:bg-metal-800 dark:focus:text-white', props.class))) }, })); const __VLS_2 = __VLS_1({ ...(__VLS_ctx.forwarded), ...{ class: ((__VLS_ctx.cn('relative flex cursor-pointer select-none items-center rounded-lg py-2.5 pl-8 pr-2.5 text-body-4 font-medium outline-none transition-colors focus:bg-metal-50 focus:text-metal-600 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:text-white dark:hover:bg-metal-800 dark:focus:bg-metal-800 dark:focus:text-white', props.class))) }, }, ...__VLS_functionalComponentArgsRest(__VLS_1)); __VLS_elementAsFunction(__VLS_intrinsicElements.span, __VLS_intrinsicElements.span)({ ...{ class: ("absolute left-2 flex h-3.5 w-3.5 items-center justify-center text-metal-600 dark:text-white") }, }); const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.DropdownMenuItemIndicator; /** @type { [typeof __VLS_components.DropdownMenuItemIndicator, typeof __VLS_components.DropdownMenuItemIndicator, ] } */ // @ts-ignore const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({})); const __VLS_8 = __VLS_7({}, ...__VLS_functionalComponentArgsRest(__VLS_7)); __VLS_elementAsFunction(__VLS_intrinsicElements.svg, __VLS_intrinsicElements.svg)({ xmlns: ("http://www.w3.org/2000/svg"), ...{ class: ("h-3 w-3") }, fill: ("currentColor"), viewBox: ("0 0 256 256"), }); __VLS_elementAsFunction(__VLS_intrinsicElements.path)({ d: ("M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Z"), }); __VLS_nonNullable(__VLS_11.slots).default; const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8); var __VLS_12 = {}; __VLS_nonNullable(__VLS_5.slots).default; const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2); __VLS_styleScopedClasses['absolute']; __VLS_styleScopedClasses['left-2']; __VLS_styleScopedClasses['flex']; __VLS_styleScopedClasses['h-3.5']; __VLS_styleScopedClasses['w-3.5']; __VLS_styleScopedClasses['items-center']; __VLS_styleScopedClasses['justify-center']; __VLS_styleScopedClasses['text-metal-600']; __VLS_styleScopedClasses['dark:text-white']; __VLS_styleScopedClasses['h-3']; __VLS_styleScopedClasses['w-3']; var __VLS_slots; var __VLS_inheritedAttrs; const __VLS_refs = {}; var $refs; return { slots: __VLS_slots, refs: $refs, attrs: {}, }; } ; const __VLS_self = (await import('vue')).defineComponent({ setup() { return { DropdownMenuItemIndicator: DropdownMenuItemIndicator, DropdownMenuRadioItem: DropdownMenuRadioItem, cn: cn, forwarded: forwarded, }; }, __typeEmits: {}, __typeProps: {}, }); const __VLS_component = (await import('vue')).defineComponent({ setup() { return {}; }, __typeEmits: {}, __typeProps: {}, }); export default {}; ;