{"_id":"@a2ui-vue/vue","_rev":"3-55bbfac6e33b0d075c412cb83689d885","name":"@a2ui-vue/vue","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@a2ui-vue/vue","version":"0.0.1","_id":"@a2ui-vue/vue@0.0.1","maintainers":[{"name":"zxing515","email":"zxing515@163.com"}],"dist":{"shasum":"b8a4695249e087bf577eba927df760f6b63d0071","tarball":"https://registry.npmjs.org/@a2ui-vue/vue/-/vue-0.0.1.tgz","fileCount":4,"integrity":"sha512-cUGmq15UirML3eMPJHmhrSC/Eghe3XCLVw2DN9VyLlBljIdn+GhT4A66f4nkHHwGT39Aw+cxfy+SKD4X6QhzKA==","signatures":[{"sig":"MEYCIQDGhWQ/pCtqUu/oBIRLeI0i6Z/w472IrjQH4dtCDrkjxwIhAKkI2KD6uxtHwUczMXcOQxb7ziYKxlnW5RgjdyYW2ljv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124526},"main":"dist/a2ui-vue.umd.js","_from":"file:a2ui-vue-vue-0.0.1.tgz","types":"dist/index.d.ts","module":"dist/a2ui-vue.es.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/a2ui-vue.es.js","require":"./dist/a2ui-vue.umd.js"},"./style.css":"./dist/style.css"},"scripts":{"dev":"vite build --watch","lint":"pnpm run build","build":"pnpm run build:types && vite build","build:types":"vue-tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist"},"_npmUser":{"name":"zxing515","email":"zxing515@163.com"},"_resolved":"/private/var/folders/lb/qnf7y0s92z5c7_rt_s16g_n40000gn/T/92059a779531d7aeecd8781ffefbbd4a/a2ui-vue-vue-0.0.1.tgz","_integrity":"sha512-cUGmq15UirML3eMPJHmhrSC/Eghe3XCLVw2DN9VyLlBljIdn+GhT4A66f4nkHHwGT39Aw+cxfy+SKD4X6QhzKA==","_npmVersion":"10.8.1","directories":{},"sideEffects":["dist/style.css"],"_nodeVersion":"20.19.0","dependencies":{"@a2ui-vue/core":"0.0.1","@a2ui-vue/vue-adapters":"0.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.4.0","vite":"^5.0.0","vue-tsc":"^3.2.2","typescript":"5.9.3","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_0.0.1_1768469928539_0.3147592114615527","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@a2ui-vue/vue","version":"0.0.4","_id":"@a2ui-vue/vue@0.0.4","maintainers":[{"name":"zxing515","email":"zxing515@163.com"}],"dist":{"shasum":"44c9b90c11c077cab9fa661528cc951ad1922b4b","tarball":"https://registry.npmjs.org/@a2ui-vue/vue/-/vue-0.0.4.tgz","fileCount":4,"integrity":"sha512-jAcSq8ABiitjnfDrWME4xjhey2mzqUm9y1lymY2oo+U52glGYCnfNZtfcdtOlgzyd/hg1uppIcUkjUA09NdTdg==","signatures":[{"sig":"MEQCIGaQD8KpktQn50ZkSubeqU5T+P+pAa5YaCaWv1VLFscTAiB3+eNv8lBPGVATAOJOg7nLPpEisGdeX0aSXoN6GrZcGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126710},"main":"dist/a2ui-vue.umd.js","_from":"file:a2ui-vue-vue-0.0.4.tgz","types":"dist/index.d.ts","module":"dist/a2ui-vue.es.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/a2ui-vue.es.js","require":"./dist/a2ui-vue.umd.js"},"./style.css":"./dist/style.css"},"scripts":{"dev":"vite build --watch","lint":"pnpm run build","build":"pnpm run build:types && vite build","build:types":"vue-tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist"},"_npmUser":{"name":"zxing515","email":"zxing515@163.com"},"_resolved":"/private/var/folders/lb/qnf7y0s92z5c7_rt_s16g_n40000gn/T/dbc7ea7337cade12b3f33253c9f2f3ed/a2ui-vue-vue-0.0.4.tgz","_integrity":"sha512-jAcSq8ABiitjnfDrWME4xjhey2mzqUm9y1lymY2oo+U52glGYCnfNZtfcdtOlgzyd/hg1uppIcUkjUA09NdTdg==","_npmVersion":"10.8.1","directories":{},"sideEffects":["dist/style.css"],"_nodeVersion":"20.19.0","dependencies":{"@a2ui-vue/core":"^0.0.4","@a2ui-vue/vue-adapters":"^0.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.4.0","vite":"^5.0.0","vue-tsc":"^3.2.2","typescript":"5.9.3","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_0.0.4_1768481511758_0.7763595876003273","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@a2ui-vue/vue","version":"0.0.5","main":"dist/a2ui-vue.umd.js","module":"dist/a2ui-vue.es.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/a2ui-vue.es.js","require":"./dist/a2ui-vue.umd.js"},"./style.css":"./dist/style.css"},"sideEffects":["dist/style.css"],"publishConfig":{"access":"public"},"peerDependencies":{"vue":"^3.0.0"},"dependencies":{"@codemirror/autocomplete":"^6.20.0","@codemirror/commands":"^6.10.1","@codemirror/lang-css":"^6.3.1","@codemirror/lang-html":"^6.4.11","@codemirror/lang-javascript":"^6.2.4","@codemirror/lang-json":"^6.0.2","@codemirror/lang-markdown":"^6.5.0","@codemirror/lang-python":"^6.2.1","@codemirror/language":"^6.12.1","@codemirror/state":"^6.5.4","@codemirror/theme-one-dark":"^6.1.3","@codemirror/view":"^6.39.11","reka-ui":"^2.7.0","vue-draggable-plus":"^0.6.1","@a2ui-vue/core":"0.0.5"},"devDependencies":{"@iconify-json/carbon":"^1.2.18","@vitejs/plugin-vue":"^5.0.0","typescript":"5.9.3","unocss":"^66.6.0","vite":"^5.0.0","vue":"^3.4.0","vue-tsc":"^3.2.2"},"scripts":{"build":"pnpm run build:types && vite build","build:types":"vue-tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist","dev":"vite build --watch","lint":"pnpm run build"},"_id":"@a2ui-vue/vue@0.0.5","description":"Vue 3 implementation of the A2UI framework.","_integrity":"sha512-2JOSJj8ugg9WvaolktPQVVE/Lf7v3s7le4Vsg0GanD2EvZa0GO+9Bq46yDMUCpKRUFFiOVUPy3BYbydfyxUpLQ==","_resolved":"/private/var/folders/lb/qnf7y0s92z5c7_rt_s16g_n40000gn/T/ae8c82b45bb4922b1f66037183dd554a/a2ui-vue-vue-0.0.5.tgz","_from":"file:a2ui-vue-vue-0.0.5.tgz","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-2JOSJj8ugg9WvaolktPQVVE/Lf7v3s7le4Vsg0GanD2EvZa0GO+9Bq46yDMUCpKRUFFiOVUPy3BYbydfyxUpLQ==","shasum":"fd64abf8a52d09811647272dbeb243ab0a3c925b","tarball":"https://registry.npmjs.org/@a2ui-vue/vue/-/vue-0.0.5.tgz","fileCount":6,"unpackedSize":3155109,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCNdlY6LLloCfEv4t0ZQDtAEURGT/tlBbOKbenoSBnnswIgECgHJNrdzS8QWpy7pJ4//s4gBdCPY66rF97oKb8mZrw="}]},"_npmUser":{"name":"zxing515","email":"zxing515@163.com"},"directories":{},"maintainers":[{"name":"zxing515","email":"zxing515@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vue_0.0.5_1770097634309_0.6713888689857188"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-15T09:38:48.462Z","modified":"2026-02-03T05:47:14.632Z","0.0.1":"2026-01-15T09:38:48.682Z","0.0.4":"2026-01-15T12:51:51.906Z","0.0.5":"2026-02-03T05:47:14.518Z"},"maintainers":[{"name":"zxing515","email":"zxing515@163.com"}],"readme":"# @a2ui-vue/vue\n\nVue 3 implementation of the A2UI framework.\n\n## Components\n\n### Basic Components\n\n- **Avatar**: Supports `xs`, `sm`, `md`, `lg`, `xl` sizes.\n- **Button**: Supports `xs`, `sm`, `md`, `lg`, `xl` sizes and various variants.\n- **Icon**: Supports `xs` (12px), `sm` (14px), `md` (16px), `lg` (20px), `xl` (24px), `2xl` (32px).\n- **Text**: Supports `xs` to `4xl` sizes.\n- **Space**: Supports `xs`, `sm`, `md`, `lg`, `xl` presets for gap size.\n\n## Theme System\n\nThe theme system allows you to define global styles and presets.\n\n### Presets\n\nBuilt-in presets: `default`, `minimal`, `card`, `dense`, `dark`.\n\nYou can configure the preset at the `A2UINode` level using the `stylePresetId` prop.\n\n### Architecture\n\nThe theme logic is decoupled from the component rendering:\n- `theme.ts`: Contains `STYLE_PRESETS`, `resolvePresetId`, `resolveTokenValue`, and `applyPresetDefaults`.\n- `A2UINode.vue`: Handles the component tree rendering and delegates theme resolution to `theme.ts`.\n\n### Usage\n\n```vue\n<template>\n  <A2UINode :id=\"rootId\" :scope=\"{ stylePresetId: 'dark' }\" />\n</template>\n```\n","readmeFilename":"README.md","description":"Vue 3 implementation of the A2UI framework."}