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.

75 lines (74 loc) 3.81 kB
/// <reference types=".vue-global-types/vue_3.5_false.d.ts" /> import { CalendarNext, useForwardProps, } 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 restProps = computed(() => { const { class: _, ...rest } = props; return rest; }); const forwardedProps = useForwardProps(restProps); const __VLS_fnComponent = (await import('vue')).defineComponent({}); ; 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.CalendarNext; /** @type { [typeof __VLS_components.CalendarNext, typeof __VLS_components.CalendarNext, ] } */ // @ts-ignore const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ class: ((__VLS_ctx.cn('inline-flex h-7 w-7 items-center justify-center whitespace-nowrap rounded-lg border border-metal-200 bg-transparent p-0 text-body-4 font-medium opacity-50 ring-offset-1 transition-colors hover:bg-metal-25 hover:text-metal-900 hover:opacity-100 focus-visible:outline-none focus-visible:ring focus-visible:ring-metal-50 focus-visible:ring-offset-1 disabled:pointer-events-none disabled:opacity-50 dark:border-metal-700 dark:fill-white dark:hover:border-metal-800 dark:hover:bg-metal-800', props.class))) }, ...(__VLS_ctx.forwardedProps), })); const __VLS_2 = __VLS_1({ ...{ class: ((__VLS_ctx.cn('inline-flex h-7 w-7 items-center justify-center whitespace-nowrap rounded-lg border border-metal-200 bg-transparent p-0 text-body-4 font-medium opacity-50 ring-offset-1 transition-colors hover:bg-metal-25 hover:text-metal-900 hover:opacity-100 focus-visible:outline-none focus-visible:ring focus-visible:ring-metal-50 focus-visible:ring-offset-1 disabled:pointer-events-none disabled:opacity-50 dark:border-metal-700 dark:fill-white dark:hover:border-metal-800 dark:hover:bg-metal-800', props.class))) }, ...(__VLS_ctx.forwardedProps), }, ...__VLS_functionalComponentArgsRest(__VLS_1)); var __VLS_6 = {}; __VLS_elementAsFunction(__VLS_intrinsicElements.svg, __VLS_intrinsicElements.svg)({ xmlns: ("http://www.w3.org/2000/svg"), ...{ class: ("absolute right-1.5 h-4 w-4") }, viewBox: ("0 0 256 256"), }); __VLS_elementAsFunction(__VLS_intrinsicElements.path, __VLS_intrinsicElements.path)({ d: ("M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"), }); __VLS_nonNullable(__VLS_5.slots).default; __VLS_nonNullable(__VLS_5.slots).default; const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2); __VLS_styleScopedClasses['absolute']; __VLS_styleScopedClasses['right-1.5']; __VLS_styleScopedClasses['h-4']; __VLS_styleScopedClasses['w-4']; 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 { CalendarNext: CalendarNext, cn: cn, forwardedProps: forwardedProps, }; }, __typeProps: {}, }); const __VLS_component = (await import('vue')).defineComponent({ setup() { return {}; }, __typeProps: {}, }); export default {}; ;