{"_id":"@ai.to.design/prototype","_rev":"5-28f085d53ff89093214f52d68a5aacfd","name":"@ai.to.design/prototype","dist-tags":{"latest":"1.6.5"},"versions":{"1.6.0":{"name":"@ai.to.design/prototype","version":"1.6.0","keywords":["ui","prototype","variant-picker","design","carousel","components"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/prototype@1.6.0","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"dist":{"shasum":"ff9e3a664098c50957ef3d4b73b4c15746ce59fe","tarball":"https://registry.npmjs.org/@ai.to.design/prototype/-/prototype-1.6.0.tgz","fileCount":3,"integrity":"sha512-ny4Pkmy9tvPrcY7q+O7POgyEcUyNmp/rqtloGg4G8k8zopMrJ+vAZOvz8qtiVwjmZUERhLl9+1GQIud+KITfaA==","signatures":[{"sig":"MEQCIGEuw6Pwhl1gpEXnLZzc1WDllhyRFhV9UmpOoD+Pwy7EAiBPk2E5cJlF3C80Kk0zWmtNGquriDGYbb42k3yHy7+2Ew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fprototype@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11124},"main":"dist/prototype.min.js","unpkg":"dist/prototype.min.js","engines":{"node":">=22"},"gitHead":"0863e57765dd09b6832a8eb42adc681d814b654c","scripts":{"dev":"vite build --watch","demo":"vite build && open demo/index.html","lint":"biome check --error-on-warnings src","test":"vitest run","build":"vite build","clean":"rm -rf dist","serve":"vite build && npx serve . -p 3333","format":"biome format --write src","lint:fix":"biome check --write src","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"jsdelivr":"dist/prototype.min.js","repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/prototype"},"_npmVersion":"10.9.8","description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","jsdom":"^29.0.2","vitest":"^4.1.5","typescript":"^6.0.3","@biomejs/biome":"^2.4.13"},"_npmOperationalInternal":{"tmp":"tmp/prototype_1.6.0_1782897434446_0.10561435250031992","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@ai.to.design/prototype","version":"1.6.1","keywords":["ui","prototype","variant-picker","design","carousel","components"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/prototype@1.6.1","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"dist":{"shasum":"306a3f577c8f14a6b8a9fbd64a33299eb447cba2","tarball":"https://registry.npmjs.org/@ai.to.design/prototype/-/prototype-1.6.1.tgz","fileCount":3,"integrity":"sha512-ARvTRvAvbAUxKN9ILbkpN1IM7U5bOzyqZE3rbdVLr0311tNR6HKdc4rk6P4MkukCKtXqfiGsvwd5AUc9DgnLow==","signatures":[{"sig":"MEUCIQDGtpYr/4hORZjRA/xREb8s1FchcWAJF858KqqkaqctXAIgL4sa0h34SW1grdfH93vzcUuaqjvwaRZwFjG3GD0yOmk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fprototype@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11124},"main":"dist/prototype.min.js","unpkg":"dist/prototype.min.js","engines":{"node":">=22"},"gitHead":"524c98ef18d43ebf29724c2f2049f27abd6ae87e","scripts":{"dev":"vite build --watch","demo":"vite build && open demo/index.html","lint":"biome check --error-on-warnings src","test":"vitest run","build":"vite build","clean":"rm -rf dist","serve":"vite build && npx serve . -p 3333","format":"biome format --write src","lint:fix":"biome check --write src","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"jsdelivr":"dist/prototype.min.js","repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/prototype"},"_npmVersion":"10.9.8","description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","jsdom":"^29.0.2","vitest":"^4.1.5","typescript":"^6.0.3","@biomejs/biome":"^2.4.13"},"_npmOperationalInternal":{"tmp":"tmp/prototype_1.6.1_1782906428390_0.23740150195868326","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@ai.to.design/prototype","version":"1.6.2","keywords":["ui","prototype","variant-picker","design","carousel","components"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/prototype@1.6.2","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"dist":{"shasum":"8eaa7d9df3e277d38f5b6320a64cd722502a4e0d","tarball":"https://registry.npmjs.org/@ai.to.design/prototype/-/prototype-1.6.2.tgz","fileCount":3,"integrity":"sha512-PUt8X3/q0jusE8iSUnA8suy/Y4h/1j8JQoyDLKiqO6QamVB5ZLBfnrCUyPKiEvLJsh21upezLz9kFIjEKvHy6w==","signatures":[{"sig":"MEUCIQDysGaa20A6h+Y7FRXJq1r/JXtnxNJVIQOt5MvdYfVxdwIgHqdpYyD2s65peOesOBXm7+vuQMHSW91rCcZ9v+jngCY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fprototype@1.6.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11123},"main":"dist/prototype.min.js","unpkg":"dist/prototype.min.js","engines":{"node":">=22"},"gitHead":"b7c78275620030c09136866c7de8cc2a63672d79","scripts":{"dev":"vite build --watch","demo":"vite build && open demo/index.html","lint":"biome check --error-on-warnings src","test":"vitest run","build":"vite build","clean":"rm -rf dist","serve":"vite build && npx serve . -p 3333","format":"biome format --write src","lint:fix":"biome check --write src","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"jsdelivr":"dist/prototype.min.js","repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/prototype"},"_npmVersion":"11.13.0","description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","jsdom":"^29.0.2","vitest":"^4.1.5","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"_npmOperationalInternal":{"tmp":"tmp/prototype_1.6.2_1782910520395_0.8364074293497001","host":"s3://npm-registry-packages-npm-production"}},"1.6.3":{"name":"@ai.to.design/prototype","version":"1.6.3","keywords":["ui","prototype","variant-picker","design","carousel","components"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/prototype@1.6.3","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"dist":{"shasum":"17372123e290e80d73f35f9a30267c60c823a276","tarball":"https://registry.npmjs.org/@ai.to.design/prototype/-/prototype-1.6.3.tgz","fileCount":3,"integrity":"sha512-Rl0eB0a6QTeppVTi1wGczdmotfecRiWfyxLWIH1NW7RClVDSyVfc2ke+F2wKJwWNbYdS6ZS5QmRJ2LkKWYfgpw==","signatures":[{"sig":"MEQCIHRy3Qgio2VFvMLZh0q+NSrqOV3/HP0Ma/Q6PwX98JhGAiAeIO90XFQPlTxjTYBtRkadZwhzL2txrt0Xy8FeFQiWew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fprototype@1.6.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11133},"main":"dist/prototype.min.js","unpkg":"dist/prototype.min.js","engines":{"node":">=22"},"gitHead":"aadcb0a23af2e90cd5aaffd304c3fdf0f4b37ab2","scripts":{"dev":"vite build --watch","demo":"vite build && open demo/index.html","lint":"biome check --error-on-warnings src","test":"vitest run","build":"vite build","clean":"rm -rf dist","serve":"vite build && npx serve . -p 3333","format":"biome format --write src","lint:fix":"biome check --write src","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"jsdelivr":"dist/prototype.min.js","repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/prototype"},"_npmVersion":"11.16.0","description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.10","jsdom":"^29.0.2","vitest":"^4.1.5","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"_npmOperationalInternal":{"tmp":"tmp/prototype_1.6.3_1783001771750_0.0738905394065712","host":"s3://npm-registry-packages-npm-production"}},"1.6.5":{"name":"@ai.to.design/prototype","version":"1.6.5","description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","main":"dist/prototype.min.js","unpkg":"dist/prototype.min.js","jsdelivr":"dist/prototype.min.js","engines":{"node":">=22"},"scripts":{"build":"vite build","dev":"vite build --watch","demo":"vite build && open demo/index.html","serve":"vite build && bunx serve . -p 3333","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint":"biome check --error-on-warnings src","lint:fix":"biome check --write src","format":"biome format --write src","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"bun run build"},"publishConfig":{"access":"public"},"devDependencies":{"@biomejs/biome":"^2.5.2","jsdom":"^29.0.2","typescript":"^6.0.3","vite":"^8.0.10","vitest":"^4.1.5"},"keywords":["ui","prototype","variant-picker","design","carousel","components"],"license":"MIT","author":{"name":"Roland Wallner"},"repository":{"type":"git","url":"git+https://github.com/I2olanD/ai.to.prototype.git","directory":"packages/prototype"},"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"gitHead":"d2580c29deb3b88ead8cc4b1c31ed97a631e2c9e","_id":"@ai.to.design/prototype@1.6.5","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-shcgaBMyGjmSgQ9vPv9sZNWkcNo1Q02OOUAinRcp5/UWIF5jQSrXcIHB6bqf6dYtelLYtqh09GZbEX8dIZ1GwA==","shasum":"247aa7ed8274772df5965bc503795b5934d652ed","tarball":"https://registry.npmjs.org/@ai.to.design/prototype/-/prototype-1.6.5.tgz","fileCount":3,"unpackedSize":11132,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fprototype@1.6.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD7ff2fh3n8smmscMDmgdlU7yRFVlJQW63E5Nud85c3KgIhAJL6cp9toNOhhVmpc+JCBC4T0cp4H6LwomaOcuJ9fXCw"}]},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"directories":{},"maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prototype_1.6.5_1787322084794_0.2398749003527596"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T09:17:14.309Z","modified":"2026-08-21T14:21:25.313Z","1.6.0":"2026-07-01T09:17:14.610Z","1.6.1":"2026-07-01T11:47:08.636Z","1.6.2":"2026-07-01T12:55:20.518Z","1.6.3":"2026-07-02T14:16:11.863Z","1.6.5":"2026-08-21T14:21:24.933Z"},"bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"author":{"name":"Roland Wallner"},"license":"MIT","homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/prototype#readme","keywords":["ui","prototype","variant-picker","design","carousel","components"],"repository":{"type":"git","url":"git+https://github.com/I2olanD/ai.to.prototype.git","directory":"packages/prototype"},"description":"In-browser variant-picker runtime for ai.to.prototype: renders a carousel toolbar to flip through generated UI component variants via data-aitd-* attributes.","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"readme":"# @ai.to.design/prototype\n\nIn-browser variant-picker runtime for the [`ai-to-prototype`](https://github.com/I2olanD/ai.to.prototype) Claude Code plugin.\n\nIt renders a carousel toolbar that lets you flip through generated UI component variants.\nThe `prototype` skill injects the built bundle into a page temporarily while you pick variants, then strips it out on cleanup.\n\n## What it is\n\nA single self-contained IIFE (`dist/prototype.min.js`, ~8 KB, no dependencies) that scans the DOM for `data-aitd-*` attributes and mounts a variant picker.\n\n## Contract\n\nThe runtime discovers variants via data attributes on the page:\n\n- Container: `data-aitd-variants`\n- Per variant: `data-aitd-variant` (1-based index), `data-aitd-label`, optional `data-aitd-description`\n- Optional container config: `data-aitd-transition`, `data-aitd-theme`, `data-aitd-position`, `data-aitd-branding`\n- Managed at runtime: `data-aitd-active` on the visible variant\n\nSee the [DOM contract](https://github.com/I2olanD/ai.to.prototype/blob/main/plugin/skills/prototype/references/dom-contract-v1.md) for the full spec.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}