{"_id":"@akson/cortex-landing-forms","_rev":"4-0087c2ec6d984e1fe1bdb778e2d67053","name":"@akson/cortex-landing-forms","dist-tags":{"latest":"0.3.1"},"versions":{"0.3.0":{"name":"@akson/cortex-landing-forms","version":"0.3.0","keywords":["forms","multi-step","validation","react","landing-page"],"author":{"name":"MyArmy","email":"contact@myarmy.ch"},"license":"MIT","_id":"@akson/cortex-landing-forms@0.3.0","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/antoineschaller/myarmy/tree/main/packages/@akson/cortex-landing-forms","bugs":{"url":"https://github.com/antoineschaller/myarmy/issues"},"dist":{"shasum":"ce23a5cea2dfca14e13f7f968b0f82e7a871011f","tarball":"https://registry.npmjs.org/@akson/cortex-landing-forms/-/cortex-landing-forms-0.3.0.tgz","fileCount":2,"integrity":"sha512-37RXMxA7A+ToLxYfo0IojDcJ39jlbF9NhN359st2nF0OPp7eZQJnWj/GsbhgNRVz4kT5uHLT4Khlt05tnavDfg==","signatures":[{"sig":"MEUCIQCdNYQm1FV8EPhNee9CW+R8+dKXp4qSTZIfa83ahU5qJwIgaPiB2JUrM+f8ocXOsJZDWQN3fSDXi3xKGrJDYJda56M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2660},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"84153813d2b6cc183f00f23d04cf0e887c512fbe","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","type-check":"tsc --noEmit"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"deprecated":"Deprecated: inlined into consumer projects. No longer maintained.","repository":{"url":"git+https://github.com/antoineschaller/myarmy.git","type":"git","directory":"packages/@akson/cortex-landing-forms"},"_npmVersion":"11.5.1","description":"Reusable form components and utilities for landing pages","directories":{},"_nodeVersion":"24.7.0","dependencies":{"zod":"^3.22.4","clsx":"^2.0.0","immer":"^10.0.3","lucide-react":"^0.309.0","react-hook-form":"^7.48.2","@hookform/resolvers":"^3.3.2","@akson/cortex-landing-core":"^0.3.0","@akson/cortex-landing-intl":"^0.3.0","@akson/cortex-landing-hooks":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-forms_0.3.0_1757682932086_0.012588628113146871","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@akson/cortex-landing-forms","version":"0.3.1","keywords":["forms","multi-step","validation","react","landing-page"],"author":{"name":"Akson","email":"contact@akson.ch"},"license":"MIT","_id":"@akson/cortex-landing-forms@0.3.1","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/antoineschaller/cortex-packages/tree/main/packages/@akson/cortex-landing-forms","bugs":{"url":"https://github.com/antoineschaller/cortex-packages/issues"},"dist":{"shasum":"26fafa38327e62b2527a0613165c05ad21480fbb","tarball":"https://registry.npmjs.org/@akson/cortex-landing-forms/-/cortex-landing-forms-0.3.1.tgz","fileCount":8,"integrity":"sha512-cYpCRW9XIZSIdwh8n5whYE3iQaLH7Cc8Avru5Gi48J9EgS/CLkcEngfK0TCsFJ7QJXnXTNd9YjKZDkHg41iTjA==","signatures":[{"sig":"MEQCIGgOMzD7M+dRkbzDyKbQ1oCHIWChNMhjeqs/5g2RSLj9AiB+U99FM7Gplc6m6tZrlUcmNqeO7zESgn5LuBkBUJ75Ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158340},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b3a6a0832bb2fd230473076bde1bfc7810e9ac31","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","type-check":"tsc --noEmit"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"repository":{"url":"git+https://github.com/antoineschaller/cortex-packages.git","type":"git","directory":"packages/@akson/cortex-landing-forms"},"_npmVersion":"11.5.1","description":"Reusable form components and utilities for landing pages","directories":{},"_nodeVersion":"24.7.0","dependencies":{"zod":"^3.22.4","immer":"^10.0.3","lucide-react":"^0.460.0","@akson/cortex-landing-core":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/react":"^19.0.0","@types/react-dom":"^19.0.0"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-forms_0.3.1_1758222380565_0.31927856886665107","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: inlined into consumer projects. No longer maintained."}},"time":{"created":"2025-09-12T13:15:31.984Z","modified":"2026-03-19T11:54:51.992Z","0.3.0":"2025-09-12T13:15:32.267Z","0.3.1":"2025-09-18T19:06:20.765Z"},"bugs":{"url":"https://github.com/antoineschaller/cortex-packages/issues"},"author":{"name":"Akson","email":"contact@akson.ch"},"license":"MIT","homepage":"https://github.com/antoineschaller/cortex-packages/tree/main/packages/@akson/cortex-landing-forms","keywords":["forms","multi-step","validation","react","landing-page"],"repository":{"url":"git+https://github.com/antoineschaller/cortex-packages.git","type":"git","directory":"packages/@akson/cortex-landing-forms"},"description":"Reusable form components and utilities for landing pages","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"readme":"# @akson/cortex-landing-forms\n\n> Reusable form components and utilities for landing pages\n\n## Installation\n\n```bash\nnpm install @akson/cortex-landing-forms\n```\n\n## Usage\n\n```tsx\nimport { MultiStepForm, FormField, PhoneInput, EmailInput } from '@akson/cortex-landing-forms';\n\nfunction LeadForm() {\n  return (\n    <MultiStepForm\n      steps={[\n        {\n          title: \"Contact Information\",\n          fields: [\n            <EmailInput name=\"email\" required />,\n            <PhoneInput name=\"phone\" country=\"CH\" />\n          ]\n        },\n        {\n          title: \"Requirements\",\n          fields: [\n            <FormField name=\"message\" type=\"textarea\" />\n          ]\n        }\n      ]}\n      onSubmit={handleSubmission}\n    />\n  );\n}\n```\n\n## Components\n\n- `MultiStepForm` - Step-by-step form wizard\n- `PhoneInput` - International phone validation\n- `EmailInput` - Email with validation\n- `FormField` - Generic form field wrapper\n- `SubmitButton` - CTA with loading states\n\n## Features\n\n- Multi-step form wizard\n- Swiss phone number validation\n- Real-time field validation\n- Progress indicators\n- Mobile-optimized input\n\n## License\n\nMIT © MyArmy","readmeFilename":"README.md"}