{"_id":"@amandlaleaf/comments-widget","name":"@amandlaleaf/comments-widget","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@amandlaleaf/comments-widget","version":"1.0.0","description":"A reusable comments widget for Amandla Leaf platform","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup src/index.ts --format cjs,esm --dts --external react --external react-dom","dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"eslint src --ext .ts,.tsx","prepublishOnly":"npm run build"},"keywords":["comments","widget","react","nextjs","amandlaleaf"],"author":{"name":"Mensah Alkebu-Lan"},"license":"MIT","repository":{"type":"git","url":"https://gitlab.com/amandla-leaf-platform/commenting-system-saas/","directory":"widget"},"peerDependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"devDependencies":{"@types/node":"^20.0.0","@types/react":"^18.2.0","@types/react-dom":"^18.2.0","eslint":"^8.54.0","tsup":"^8.0.0","typescript":"^5.3.2"},"dependencies":{},"gitHead":"b895c8d472a3e31fb4dc2997986f0b1812355af4","_id":"@amandlaleaf/comments-widget@1.0.0","_nodeVersion":"20.19.5","_npmVersion":"11.7.0","dist":{"integrity":"sha512-OH7ObdYaqG+RO66RvXZyOm68IdjNy92wfSxfDkP3yOre/iwjdJZxlU532Sc9DQScIFeauw3204GNGd/o0PsU3Q==","shasum":"9c86cb72bea92f5e65c0a304ee37a1e53a6064eb","tarball":"https://registry.npmjs.org/@amandlaleaf/comments-widget/-/comments-widget-1.0.0.tgz","fileCount":6,"unpackedSize":15829,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIESdMPNIDAYxxuGaVlQWZDzAn8UAZ1gASZdgkZBT5ukWAiEA8w+ISj0QzBNP7dk8j31TuJKWlpFOky6IFtcAAE+LVps="}]},"_npmUser":{"name":"malkebu-lan","email":"malkebu-lan@uequations.com"},"directories":{},"maintainers":[{"name":"malkebu-lan","email":"malkebu-lan@uequations.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/comments-widget_1.0.0_1770777405866_0.4595910654860822"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-11T02:36:45.714Z","1.0.0":"2026-02-11T02:36:46.004Z","modified":"2026-02-11T02:36:46.255Z"},"maintainers":[{"name":"malkebu-lan","email":"malkebu-lan@uequations.com"}],"description":"A reusable comments widget for Amandla Leaf platform","keywords":["comments","widget","react","nextjs","amandlaleaf"],"repository":{"type":"git","url":"https://gitlab.com/amandla-leaf-platform/commenting-system-saas/","directory":"widget"},"author":{"name":"Mensah Alkebu-Lan"},"license":"MIT","readme":"# @amandlaleaf/comments-widget\n\nA reusable, customizable comments widget for the Amandla Leaf platform.\n\n## Installation\n\n```bash\nnpm install @amandlaleaf/comments-widget\n```\n\n## Usage\n\n```tsx\nimport { CommentsWidget } from '@amandlaleaf/comments-widget';\nimport '@amandlaleaf/comments-widget/styles.css';\n\nfunction MyPage() {\n  return (\n    <CommentsWidget \n      pageId=\"unique-page-id\"\n      apiUrl=\"https://your-api.run.app\"\n    />\n  );\n}\n```\n\n## Props\n\n| Prop | Type | Required | Description |\n|------|------|----------|-------------|\n| `pageId` | `string` | Yes | Unique identifier for the page |\n| `apiUrl` | `string` | Yes | Backend API URL |\n| `className` | `string` | No | Additional CSS classes |\n\n## License\n\nMIT","readmeFilename":"README.md","_rev":"1-5ff69f1a04e314299adf01e27ae681c9"}