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.

64 lines (63 loc) 2.85 kB
/// <reference types=".vue-global-types/vue_3.5_false.d.ts" /> import { PinInputInput, 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.PinInputInput; /** @type { [typeof __VLS_components.PinInputInput, ] } */ // @ts-ignore const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...(__VLS_ctx.forwardedProps), ...{ class: ((__VLS_ctx.cn('relative flex h-16 w-[52px] items-center justify-center rounded-[10px] border border-metal-100 bg-white text-center text-heading-6 font-medium text-metal-900 outline-none transition-all placeholder:text-body-1 placeholder:text-metal-400 focus:z-10 focus:ring-2 focus:ring-metal-600 focus:ring-offset-metal-200 dark:border-metal-800 dark:bg-metal-900 dark:text-white dark:placeholder:text-metal-300 dark:focus:ring-metal-800', props.class))) }, })); const __VLS_2 = __VLS_1({ ...(__VLS_ctx.forwardedProps), ...{ class: ((__VLS_ctx.cn('relative flex h-16 w-[52px] items-center justify-center rounded-[10px] border border-metal-100 bg-white text-center text-heading-6 font-medium text-metal-900 outline-none transition-all placeholder:text-body-1 placeholder:text-metal-400 focus:z-10 focus:ring-2 focus:ring-metal-600 focus:ring-offset-metal-200 dark:border-metal-800 dark:bg-metal-900 dark:text-white dark:placeholder:text-metal-300 dark:focus:ring-metal-800', props.class))) }, }, ...__VLS_functionalComponentArgsRest(__VLS_1)); 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 { PinInputInput: PinInputInput, cn: cn, forwardedProps: forwardedProps, }; }, __typeProps: {}, }); export default (await import('vue')).defineComponent({ setup() { return {}; }, __typeProps: {}, }); ;