feat(front): add UI components for label, progress, and select elements with TypeScript support

This commit is contained in:
keven1024
2025-04-21 09:03:17 +08:00
parent df38398851
commit e6e8d6a143
18 changed files with 409 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/lib/utils'
import { SelectLabel, type SelectLabelProps } from 'reka-ui'
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes['class'] }>()
</script>
<template>
<SelectLabel
data-slot="select-label"
:class="cn('px-2 py-1.5 text-sm font-medium', props.class)"
>
<slot />
</SelectLabel>
</template>