{"_id":"@damarkuncoro/agnostic-ui-contract-core","_rev":"2-ce311681de3c04769522268369e4cabf","name":"@damarkuncoro/agnostic-ui-contract-core","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@damarkuncoro/agnostic-ui-contract-core","version":"1.0.0","keywords":["ui","design-system","typescript","contracts","agnostic"],"author":{"name":"Agnostic UI Team"},"license":"MIT","_id":"@damarkuncoro/agnostic-ui-contract-core@1.0.0","maintainers":[{"name":"damarkuncoro","email":"damarkuncoro@gmail.com"}],"homepage":"https://github.com/damarkuncoro/agnostic-ui-contract-core#readme","bugs":{"url":"https://github.com/damarkuncoro/agnostic-ui-contract-core/issues"},"dist":{"shasum":"1a064e33931d92ed20a9acb78a7f58bf2ff469d7","tarball":"https://registry.npmjs.org/@damarkuncoro/agnostic-ui-contract-core/-/agnostic-ui-contract-core-1.0.0.tgz","fileCount":214,"integrity":"sha512-cXytS8+KfnTaqdbGh1teeQdd0gtntp7bQ2q53pZUV9wUXxriedM+xW1D2EsJyNHabMdKDwyLFUnQor3cv51sfw==","signatures":[{"sig":"MEYCIQCPzfiJ5nKJKQFFcFMOyB6g3IjqRTx+Qe7aS/beRP3mmAIhANx0kaO615urUH4ok7SyF+L2eorJH5k7MpLd0tLUZhLz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72052},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"gitHead":"07aaf4710ac1980bab65cf06f2ae3ecf4e2f517e","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"damarkuncoro","email":"damarkuncoro@gmail.com"},"repository":{"url":"git+https://github.com/damarkuncoro/agnostic-ui-contract-core.git","type":"git"},"_npmVersion":"10.8.2","description":"Core contracts and types for Agnostic UI components","directories":{},"sideEffects":false,"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.26.0+sha512.3b3f6c725ebe712506c0ab1ad4133cf86b1f4b687effce62a9b38b4d72e3954242e643190fc51fa1642949c735f403debd44f5cb0edd657abe63a8b6a7e1e402","devDependencies":{"typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/agnostic-ui-contract-core_1.0.0_1767079369510_0.3755127976139039","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@damarkuncoro/agnostic-ui-contract-core","version":"1.0.1","description":"Core contracts and types for Agnostic UI components","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"}},"publishConfig":{"access":"public"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["ui","design-system","typescript","contracts","agnostic"],"author":{"name":"Agnostic UI Team"},"license":"MIT","devDependencies":{"typescript":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/damarkuncoro/agnostic-ui-contract-core.git"},"bugs":{"url":"https://github.com/damarkuncoro/agnostic-ui-contract-core/issues"},"homepage":"https://github.com/damarkuncoro/agnostic-ui-contract-core#readme","packageManager":"pnpm@10.26.0+sha512.3b3f6c725ebe712506c0ab1ad4133cf86b1f4b687effce62a9b38b4d72e3954242e643190fc51fa1642949c735f403debd44f5cb0edd657abe63a8b6a7e1e402","_id":"@damarkuncoro/agnostic-ui-contract-core@1.0.1","gitHead":"b12f24d4bdcfc5ee5fe27e77227f6441f32558db","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0O2o8GyN9ZZ3niit2XrQMC5Zewm3YDARuwPmNnG57YXKUQUvN55bVLJVbAp96vm7Xhq/91a6IBOrcsE104FZzg==","shasum":"c351e7708ccd6d2c068612ef50c4eac35074477b","tarball":"https://registry.npmjs.org/@damarkuncoro/agnostic-ui-contract-core/-/agnostic-ui-contract-core-1.0.1.tgz","fileCount":214,"unpackedSize":72154,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCq+C2Dh7hU8oIw64l793lYacvAx0KTkCyEbras+h/8MwIgQgdjw1vugXMirc0dsVPVPrwyV47BXCu+/VN0P+KHNQM="}]},"_npmUser":{"name":"damarkuncoro","email":"damarkuncoro@gmail.com"},"directories":{},"maintainers":[{"name":"damarkuncoro","email":"damarkuncoro@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agnostic-ui-contract-core_1.0.1_1767087604659_0.7437700495681712"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-30T07:22:49.394Z","modified":"2025-12-30T09:40:05.003Z","1.0.0":"2025-12-30T07:22:49.638Z","1.0.1":"2025-12-30T09:40:04.798Z"},"bugs":{"url":"https://github.com/damarkuncoro/agnostic-ui-contract-core/issues"},"author":{"name":"Agnostic UI Team"},"license":"MIT","homepage":"https://github.com/damarkuncoro/agnostic-ui-contract-core#readme","keywords":["ui","design-system","typescript","contracts","agnostic"],"repository":{"type":"git","url":"git+https://github.com/damarkuncoro/agnostic-ui-contract-core.git"},"description":"Core contracts and types for Agnostic UI components","maintainers":[{"name":"damarkuncoro","email":"damarkuncoro@gmail.com"}],"readme":"# @damarkuncoro/agnostic-ui-contract-core\n\nCore contracts and types for Agnostic UI components. This package provides TypeScript interfaces and utility functions for building design system components that work across different UI frameworks.\n\n## Installation\n\n```bash\nnpm install @damarkuncoro/agnostic-ui-contract-core\n```\n\n## Usage\n\nImport types and interfaces for your UI components:\n\n```typescript\nimport {\n  UiTheme,\n  UiTokenScale,\n  UiExtendedTokens,\n  resolveTheme\n} from '@damarkuncoro/agnostic-ui-contract-core';\n\n// Use in your component definitions\ninterface MyButtonProps {\n  theme: UiTheme;\n  tokens: UiExtendedTokens;\n}\n```\n\n## API\n\n### Types\n\n- `UiTheme`: Complete theme configuration\n- `UiTokenScale<T>`: Generic token scale type\n- `UiExtendedTokens`: Extended token collection\n\n### Utilities\n\n- `resolveTheme()`: Resolve theme with token references\n- `resolveMath()`: Resolve mathematical expressions in tokens\n- `resolveRef()`: Resolve token references\n\n## License\n\nMIT","readmeFilename":"README.md"}