{"_id":"@daflow-ui/ui-avatar","_rev":"2-52348ce579e3250620e8925a7e1511b7","name":"@daflow-ui/ui-avatar","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@daflow-ui/ui-avatar","version":"0.1.0","keywords":["vue","ui","component","daflow"],"license":"MIT","_id":"@daflow-ui/ui-avatar@0.1.0","maintainers":[{"name":"cuiguojie","email":"cuiguojie@me.com"}],"dist":{"shasum":"31bb87081bb9beb8ab01fdc0955e4f244af77146","tarball":"https://registry.npmjs.org/@daflow-ui/ui-avatar/-/ui-avatar-0.1.0.tgz","fileCount":10,"integrity":"sha512-t1For62RWQnp73X4hBn+b87nEXCuCIkd4T0Y0m9CaoSJnHEpzRquvuLDU8JfM3WRcDyhrYqHhbiwCbsI+pM1fg==","signatures":[{"sig":"MEUCIHdnvdCCmG+dW/PZJx+tFgVp8YQV7j9kuqOF6jjTPwJOAiEAzkXg8Lz27sqgj7FfgTaGNafLa43IqDGlIB5v4VKgV8s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27677},"main":"./dist/index.js","type":"module","_from":"file:daflow-ui-ui-avatar-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./style.css":"./dist/style.css"},"scripts":{"lint":"eslint .","build":"vite build && vue-tsc -p tsconfig.build.json --emitDeclarationOnly","lint:fix":"eslint . --fix","typecheck":"vue-tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"cuiguojie","email":"cuiguojie@me.com"},"_resolved":"/private/var/folders/vs/64py3jt92l966q_27tfst1xh0000gn/T/b22f4f82893c4c7a61874091b4e9abcd/daflow-ui-ui-avatar-0.1.0.tgz","_integrity":"sha512-t1For62RWQnp73X4hBn+b87nEXCuCIkd4T0Y0m9CaoSJnHEpzRquvuLDU8JfM3WRcDyhrYqHhbiwCbsI+pM1fg==","_npmVersion":"10.9.2","description":"Avatar component for DaFlow UI","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.17.0","dependencies":{"@ark-ui/vue":"5.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.5.27","vite":"^7.3.1","eslint":"^9.39.2","vue-tsc":"^3.2.4","typescript":"^5.9.3","@types/node":"^22.10.5","sass-embedded":"^1.97.3","@vue/compiler-sfc":"^3.5.27","@vitejs/plugin-vue":"^6.0.3","vite-plugin-vue-devtools":"^8.0.5","@seemusic/eslint-config-vue3":"^2.0.0"},"peerDependencies":{"vue":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/ui-avatar_0.1.0_1772593981089_0.16751293064426842","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-04T03:13:00.979Z","modified":"2026-03-05T04:11:14.943Z","0.1.0":"2026-03-04T03:13:01.223Z"},"license":"MIT","keywords":["vue","ui","component","daflow"],"description":"Avatar component for DaFlow UI","maintainers":[{"email":"cuiguojie@me.com","name":"cuiguojie"},{"email":"xiaoxuan.chang@kanjian.com","name":"charicexxuan"}],"readme":"# @daflow-ui/ui-avatar\n\nAvatar component for DaFlow UI component library.\n\n## Installation\n\n```bash\npnpm add @daflow-ui/ui-avatar\n```\n\n## Usage\n\n全局引入样式（在 `main.ts` 中）：\n\n```ts\nimport '@daflow-ui/ui-avatar/style.css';\n```\n\n在组件中使用：\n\n```vue\n<script setup lang=\"ts\">\nimport { DfAvatar } from '@daflow-ui/ui-avatar';\n</script>\n\n<template>\n  <DfAvatar\n    src=\"https://i.pravatar.cc/120?img=12\"\n    fallback=\"DF\"\n  />\n</template>\n```\n\n## Development\n\n### Install dependencies\n\n```bash\npnpm install\n```\n\n### Start playground (at monorepo root)\n\n```bash\ncd ../..  # 回到 monorepo 根目录\npnpm dev  # 启动统一 playground，自动发现组件\n```\n\n组件会自动出现在 playground 导航中（通过 `dev/index.vue`）。\n\n### Build\n\n```bash\npnpm build\n```\n\n### Type check\n\n```bash\npnpm typecheck\n```\n\n### Lint\n\n```bash\npnpm lint\npnpm lint:fix\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}