{"_id":"@convex-nudge/vue","_rev":"6-a9ae9a9a72d7db4f98948420b2ee0d31","name":"@convex-nudge/vue","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@convex-nudge/vue","version":"1.0.0","keywords":["convex","ui","vue","component"],"author":"","license":"MIT","_id":"@convex-nudge/vue@1.0.0","maintainers":[{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"}],"dist":{"shasum":"c78ef4fd4232e3f5e85e02aa6473bb36451367fe","tarball":"https://registry.npmjs.org/@convex-nudge/vue/-/vue-1.0.0.tgz","fileCount":7,"integrity":"sha512-6bI7VH0qQE7aVxquV+0ilVzXogLD9MXUBuP4I9EdbJLnU3IYHiL4xox7rZn2Z8GBlSsNvk2o83t8q8edwRiYRg==","signatures":[{"sig":"MEYCIQD3GqVyTW7gX9KT55BAaS4aJ+OGu/8Fk0+i0Jm+BXcccwIhANc2y/9sDA88Zh6wkg3Oi6O/uDfGQa2NN8B0ekqAGDdU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9882},"main":"./dist/index.cjs","type":"module","_from":"file:convex-nudge-vue-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest","build":"vite build"},"_npmUser":{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"},"_resolved":"/private/var/folders/nl/835gml5x2ld0wyk0r86g8lw00000gn/T/b603b5c3e25c4d23c0b1bb5d5cbd95fc/convex-nudge-vue-1.0.0.tgz","_integrity":"sha512-6bI7VH0qQE7aVxquV+0ilVzXogLD9MXUBuP4I9EdbJLnU3IYHiL4xox7rZn2Z8GBlSsNvk2o83t8q8edwRiYRg==","_npmVersion":"10.8.2","description":"A beautiful and customizable Convex Nudge component for multiple frameworks","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@convex-nudge/core":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.0","vite":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vue/tsconfig":"^0.5.0","vite-plugin-dts":"^3.0.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.0.0_1741022746066_0.6945029736039214","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@convex-nudge/vue","version":"1.1.0","keywords":["convex","ui","vue","component"],"author":"","license":"MIT","_id":"@convex-nudge/vue@1.1.0","maintainers":[{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"}],"dist":{"shasum":"536c275ac3a7d647c79ab08cf767e1caa3ac2804","tarball":"https://registry.npmjs.org/@convex-nudge/vue/-/vue-1.1.0.tgz","fileCount":8,"integrity":"sha512-CWDGy9z7Ja3BQ371jmqfeGaCMQOn87MxMTVBttTsMJMbZrQk5KVe4vonIdfxL4rmyDK4vLaaOLUl0buWjveKDw==","signatures":[{"sig":"MEUCIGymHhbGze+WXv/diOXFDGMipv3Mfy6l2zO8o5G1G8UOAiEA+7e1KhzGLkBnzK7jXdIpMAF2AABF2D7Ecl+/xQ7juNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11525},"main":"./dist/index.cjs","type":"module","_from":"file:convex-nudge-vue-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"vitest","build":"vite build"},"_npmUser":{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"},"_resolved":"/private/var/folders/nl/835gml5x2ld0wyk0r86g8lw00000gn/T/5c0a782ae69b8d61f3faf3aa16ccdbe0/convex-nudge-vue-1.1.0.tgz","_integrity":"sha512-CWDGy9z7Ja3BQ371jmqfeGaCMQOn87MxMTVBttTsMJMbZrQk5KVe4vonIdfxL4rmyDK4vLaaOLUl0buWjveKDw==","_npmVersion":"10.8.2","description":"A beautiful and customizable Convex Nudge component for multiple frameworks","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@convex-nudge/core":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.0","vite":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vue/tsconfig":"^0.5.0","vite-plugin-dts":"^3.0.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_1.1.0_1741023202472_0.7388919810976993","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@convex-nudge/vue","version":"2.0.1","keywords":["convex","ui","vue","component"],"author":"","license":"MIT","_id":"@convex-nudge/vue@2.0.1","maintainers":[{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"}],"dist":{"shasum":"4090d193542caf5a8f6514ee5b76f75a7990ac09","tarball":"https://registry.npmjs.org/@convex-nudge/vue/-/vue-2.0.1.tgz","fileCount":9,"integrity":"sha512-ETPivb4cpXNBiH0YbqnNySF8ERC3qRDfceeNS77YYLKtJ6+horLNPSeLQTvi4bT5k/X6z8aJDrIrtLmewwlh7Q==","signatures":[{"sig":"MEUCIQCsoJQ7VYxA+7noyAyGjcNjil3w2lPjTPiCMUbwa9mEqAIgEwwnxA4hwzzK4JIl6KOXzyqQrZzlSWfdxSWsTiIkf3g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12819},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4220ab8d0281215747a73c60d30dfb781b972469","scripts":{"test":"vitest","build":"vite build"},"_npmUser":{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"},"_npmVersion":"10.8.2","description":"A beautiful and customizable Convex Nudge component for multiple frameworks","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","dependencies":{"@convex-nudge/core":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.0","vite":"^5.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@vue/tsconfig":"^0.5.0","vite-plugin-dts":"^3.0.0","@vitejs/plugin-vue":"^5.0.0"},"peerDependencies":{"vue":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vue_2.0.1_1741283389817_0.978505509210551","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@convex-nudge/vue","version":"1.1.1","description":"A beautiful and customizable Convex Nudge component for multiple frameworks","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"sideEffects":false,"scripts":{"build":"vite build","test":"vitest"},"keywords":["convex","ui","vue","component"],"author":"","license":"MIT","peerDependencies":{"vue":"^3.0.0"},"dependencies":{"@convex-nudge/core":"^1.1.1"},"devDependencies":{"@vitejs/plugin-vue":"^5.0.0","@vue/tsconfig":"^0.5.0","typescript":"^5.0.0","vite":"^5.0.0","vite-plugin-dts":"^3.0.0","vitest":"^1.0.0","vue":"^3.0.0"},"_id":"@convex-nudge/vue@1.1.1","gitHead":"8dde8ecbe3ae9ac77208707c962ed10e4084ae02","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ReYCcdg5qlVWOcV1z1ZKC0DIProDiYSUktQE6FuEcRqqj4Y/2l9JprC7ZNXZur2OnGHp124539KMSGDhs8JWDA==","shasum":"609f3a4227695827dd6cf872819e777a2abc0224","tarball":"https://registry.npmjs.org/@convex-nudge/vue/-/vue-1.1.1.tgz","fileCount":8,"unpackedSize":11526,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDtVNjldZgz6l8CwPMXmiqDedda3VbABwr+tLrscPkl2AiEAywzGnetEeV4tm3/tuBy8triq1oRvYIOCQQ9bQ+UnhAI="}]},"_npmUser":{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"},"directories":{},"maintainers":[{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vue_1.1.1_1741285112297_0.3830010505849617"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-03T17:25:45.993Z","modified":"2025-03-06T18:18:32.633Z","1.0.0":"2025-03-03T17:25:46.334Z","1.1.0":"2025-03-03T17:33:22.665Z","2.0.0":"2025-03-06T17:37:56.228Z","2.0.1":"2025-03-06T17:49:50.023Z","1.1.1":"2025-03-06T18:18:32.460Z"},"license":"MIT","keywords":["convex","ui","vue","component"],"description":"A beautiful and customizable Convex Nudge component for multiple frameworks","maintainers":[{"name":"hamzarelated","email":"hamzasaleembusiness@gmail.com"}],"readme":"# @convex-nudge/vue\n\nVue implementation of the Convex Nudge component. A beautiful and customizable component to showcase your app's use of Convex.\n\n## Installation\n\n```bash\nnpm install @convex-nudge/vue\n# or\nyarn add @convex-nudge/vue\n# or\npnpm add @convex-nudge/vue\n```\n\n## Usage\n\n```vue\n<script setup lang=\"ts\">\nimport { ConvexNudge } from '@convex-nudge/vue'\n\nconst isVisible = ref(true)\n\nconst handleDismiss = () => {\n  isVisible.value = false\n}\n</script>\n\n<template>\n  <ConvexNudge\n    v-if=\"isVisible\"\n    position=\"top-right\"\n    variant=\"light\"\n    :dismissible=\"true\"\n    textSize=\"medium\"\n    :fixed=\"true\"\n    @dismiss=\"handleDismiss\"\n    referralCode=\"your-referral-code\"\n  />\n</template>\n```\n\n## Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n| `position` | `'top' \\| 'bottom' \\| 'left' \\| 'right' \\| 'top-right' \\| 'bottom-right' \\| 'top-left' \\| 'bottom-left'` | `'bottom-right'` | Position of the nudge |\n| `variant` | `'light' \\| 'dark' \\| 'purple' \\| 'blue'` | `'light'` | Color variant |\n| `textSize` | `'xs' \\| 'sm' \\| 'base'` | `'sm'` | Text size |\n| `logoSize` | `number` | `20` | Size of the Convex logo in pixels |\n| `fixed` | `boolean` | `true` | Whether to use fixed positioning |\n| `dismissible` | `boolean` | `true` | Whether to show dismiss button |\n| `zIndex` | `number` | `50` | CSS z-index |\n| `referralCode` | `string` | `undefined` | Your Convex referral code |\n| `animation` | `'slide' \\| 'fade' \\| 'none'` | `'slide'` | Animation type |\n\n## Events\n\n| Event | Description |\n|-------|-------------|\n| `dismiss` | Emitted when the nudge is dismissed |\n\n## License\n\nMIT ","readmeFilename":"README.md"}