{"_id":"@abbainitiative/registry","name":"@abbainitiative/registry","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@abbainitiative/registry","version":"0.1.0","description":"Machine-readable catalogue of ABBA Design System components and design tokens.","keywords":["abba","design-system","component-registry","design-tokens"],"license":"MIT","author":"ABBA Initiative","homepage":"https://abba-ui.vercel.app","repository":{"type":"git","url":"git+https://github.com/Lonergun141/abba-ui.git","directory":"packages/registry"},"type":"module","sideEffects":false,"types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"devDependencies":{"@types/node":"^26.1.2","eslint":"10.8.0","rimraf":"6.0.1","typescript":"6.0.3","vitest":"4.1.10","@abbainitiative/eslint-config":"0.0.0","@abbainitiative/typescript-config":"0.0.0"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","dev":"tsc -p tsconfig.build.json --watch","lint":"eslint .","typecheck":"tsc -p tsconfig.json --noEmit","test":"vitest run","test:watch":"vitest","clean":"rimraf dist .turbo *.tgz"},"_nodeVersion":"24.14.1","_id":"@abbainitiative/registry@0.1.0","dist":{"integrity":"sha512-RxTLV/A+F2mkaNTwgZ5M/SBLZtCB4w2A7DwqbCJBEdvLPdtbut/k1hJhw3ERjUEJCmxWCGv7PH49jQjJIvYh4A==","shasum":"11dcbbf1a4274f4920a97c63a5f8c2585d9a55f7","tarball":"https://registry.npmjs.org/@abbainitiative/registry/-/registry-0.1.0.tgz","fileCount":27,"unpackedSize":114365,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFc30pIb9SO//6YqR/4eTh23QKCogLm+/G+F8p/9WQ06AiAZMu8Y9R0VPW/6mz73cAs58q1mHKYEt6sy+f9tSzAO5g=="}]},"_npmUser":{"name":"jaeger141","email":"gevero530@gmail.com"},"directories":{},"maintainers":[{"name":"jaeger141","email":"gevero530@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/registry_0.1.0_1785899305950_0.6890279588969126"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-05T03:08:25.810Z","0.1.0":"2026-08-05T03:08:26.103Z","modified":"2026-08-05T03:08:26.278Z"},"maintainers":[{"name":"jaeger141","email":"gevero530@gmail.com"}],"description":"Machine-readable catalogue of ABBA Design System components and design tokens.","homepage":"https://abba-ui.vercel.app","keywords":["abba","design-system","component-registry","design-tokens"],"repository":{"type":"git","url":"git+https://github.com/Lonergun141/abba-ui.git","directory":"packages/registry"},"author":"ABBA Initiative","license":"MIT","readme":"# @abbainitiative/registry\n\nThe machine-readable catalogue of the [ABBA Design System](https://abba-ui.vercel.app): component metadata and design tokens as plain typed data.\n\nNo rendering, no React, no dependencies.\n\n```bash\npnpm add @abbainitiative/registry\n```\n\n```ts\nimport {\n  components,\n  getComponent,\n  tokenGroups,\n  findToken,\n} from \"@abbainitiative/registry\";\n\ngetComponent(\"button\")?.props;\n// [{ name: \"variant\", type: '\"primary\" | \"secondary\" | …', defaultValue: '\"primary\"', … }]\n\nfindToken(\"--abba-primary\")?.value;\n// \"var(--abba-cedar-600)\"\n```\n\n## Who this is for\n\nYou probably want [`@abbainitiative/ui`](https://www.npmjs.com/package/@abbainitiative/ui) — the components themselves — or the local `@abbainitiative/mcp` workspace package, which serves this data to coding agents.\n\nThis package exists for building your own tooling on top: a component picker, a lint rule, a Figma sync, an internal docs page.\n\n## What's in it\n\n| Export                   |                                                                                                            |\n| ------------------------ | ---------------------------------------------------------------------------------------------------------- |\n| `components`             | Every component: slug, name, category, summary, description, exports, props, examples, accessibility notes |\n| `getComponent(slug)`     | One component by slug                                                                                      |\n| `componentsByCategory()` | Components grouped, in display order                                                                       |\n| `CATEGORY_ORDER`         | The canonical category ordering                                                                            |\n| `tokens`                 | Every design token, flattened                                                                              |\n| `tokenGroups`            | Tokens grouped by role — palette, semantic, spacing, radii, motion…                                        |\n| `getTokenGroup(id)`      | One group                                                                                                  |\n| `findToken(name)`        | One token, with or without the `--abba-` prefix                                                            |\n\nTypes are exported alongside: `ComponentDoc`, `PropDef`, `ExampleDef`, `ComponentCategory`, `TokenDef`, `TokenGroup`.\n\n## On accuracy\n\nThe token list mirrors `tokens.css` in the component library. A test in this package parses that stylesheet and fails if the two disagree, so a token renamed in CSS cannot leave this catalogue quietly describing a variable that no longer exists.\n\nMIT © ABBA Initiative\n","readmeFilename":"","_rev":"1-dac1cee3d3cb99d21e6f7fa10b71563e"}