* fix: avoid failing resolve types by adding `radix-vue` to project deps in `init` command * chore: add `shell-emulator` and remove `cross-env` fix some registry example import path * chore: remove additional `radix-vue` dependency from components registry * chore: update `tsx` and `vue-tsc` * fix: normalize `components:example` path to process `crawlExample` function correctly * chore: build registry --------- Co-authored-by: zernonia <zernonia@gmail.com>
18 lines
722 B
JSON
18 lines
722 B
JSON
{
|
|
"name": "label",
|
|
"dependencies": [],
|
|
"registryDependencies": [
|
|
"utils"
|
|
],
|
|
"files": [
|
|
{
|
|
"name": "Label.vue",
|
|
"content": "<script setup lang=\"ts\">\nimport { Label, type LabelProps } from 'radix-vue'\nimport { cn } from '@/lib/utils'\n\nconst props = defineProps<LabelProps & { class?: string }>()\n</script>\n\n<template>\n <Label\n v-bind=\"props\"\n :class=\"\n cn(\n 'block text-sm tracking-tight font-medium text-foreground text-left',\n props.class,\n )\n \"\n >\n <slot />\n </Label>\n</template>\n"
|
|
},
|
|
{
|
|
"name": "index.ts",
|
|
"content": "export { default as Label } from './Label.vue'\n"
|
|
}
|
|
],
|
|
"type": "components:ui"
|
|
} |