{"_id":"@_ft/checkbox","_rev":"4-4448f7e07d98eafed6f306fd2c43f32b","name":"@_ft/checkbox","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1-pre1":{"name":"@_ft/checkbox","version":"0.0.1-pre1","description":"checkbox headless react component","types":"./dist/index.d.ts","main":"./dist/index.js","scripts":{"build":"rimraf dist && tsc -p tsconfig.dist.json","lint":"eslint .","test":"vitest run"},"author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"license":"MIT","devDependencies":{"@testing-library/jest-dom":"^6.1.2","@testing-library/react":"^14.0.0","@types/react":"^18.2.21","@types/react-dom":"^18.2.7","@typescript-eslint/eslint-plugin":"^6.5.0","@typescript-eslint/parser":"^6.5.0","eslint":"^8.48.0","eslint-config-airbnb":"^19.0.4","eslint-config-airbnb-typescript":"^17.1.0","eslint-config-prettier":"^9.0.0","eslint-config-react-app":"^7.0.1","eslint-config-standard-with-typescript":"^39.0.0","eslint-import-resolver-typescript":"^3.6.0","eslint-plugin-import":"^2.28.1","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-n":"^16.0.2","eslint-plugin-prettier":"^5.0.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","jsdom":"^22.1.0","prettier":"^3.0.3","rimraf":"^5.0.1","typescript":"^5.2.2","vitest":"^0.34.3"},"peerDependencies":{"clsx":"^2.0.0","react":"^18.2.0","react-dom":"^18.2.0"},"bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"homepage":"https://github.com/42ts/_ft-checkbox#readme","_id":"@_ft/checkbox@0.0.1-pre1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-+K7NQtPf1EBisuUi3j2CmgdYOUZkm2YCZSH9HWi2SmnKApBc6ELOlnnTQ5+A3/HhzKjnGLFs1dYy8M3VIB9ejA==","shasum":"c3a1fdaf4ac2146c97b1a049528808f1595feb27","tarball":"https://registry.npmjs.org/@_ft/checkbox/-/checkbox-0.0.1-pre1.tgz","fileCount":3,"unpackedSize":4095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWo6xcY4g6/itkoe9kXpPQH7/AJ4/NeNvec7Pf8NI8KwIhAN6h+mQwFTk7j2rHHcRrRMgAfDO7vb1mJRzRfY7aGY2X"}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkbox_0.0.1-pre1_1693758997999_0.9513427903788991"},"_hasShrinkwrap":false},"0.0.1-pre2":{"name":"@_ft/checkbox","version":"0.0.1-pre2","description":"checkbox headless react component","types":"./index.d.ts","main":"./index.js","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"license":"MIT","peerDependencies":{"clsx":"^2.0.0","react":"^18.2.0","react-dom":"^18.2.0"},"gitHead":"e9c50b77d85f779dca05f7c35762d882b48b6f6c","bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"homepage":"https://github.com/42ts/_ft-checkbox#readme","_id":"@_ft/checkbox@0.0.1-pre2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-IASCOpOBzzNUNRy1zCwjuxJzR+6CCBQcB/71NCYo+Rd7spOYlGm+F5CKxNN1Jm+Llp4M0hevHB3+WiClT+GZDQ==","shasum":"6f0ad9aeb21b85a8b977db1a1c7d5f2123efe376","tarball":"https://registry.npmjs.org/@_ft/checkbox/-/checkbox-0.0.1-pre2.tgz","fileCount":3,"unpackedSize":2884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6oBlLSQCqURuXp71/YYJ9X2c+q1YgJpilgYfUgi7+7AiEA1FjVnQ+w9GRu0lchTrJSwFi7aoGJis240UFeVcPltTM="}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkbox_0.0.1-pre2_1693760069745_0.4443768862817179"},"_hasShrinkwrap":false},"0.0.1-pre3":{"name":"@_ft/checkbox","version":"0.0.1-pre3","description":"checkbox headless react component","types":"./index.d.ts","main":"./index.js","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"license":"MIT","peerDependencies":{"clsx":"^2.0.0","react":"^18.2.0","react-dom":"^18.2.0"},"gitHead":"4661b889b8c736366261bbd7920cd5409b392c5d","bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"homepage":"https://github.com/42ts/_ft-checkbox#readme","_id":"@_ft/checkbox@0.0.1-pre3","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-/iWXbrXkp3OHRhHO98MFhay3K5y0DmVE84DnCXCqujkShr2Xy7Skr3I4m+T+6xipX9k/8ccsV86JkzC2GUnR2Q==","shasum":"c063565bb2836f297166160ae16785c92c68e3b3","tarball":"https://registry.npmjs.org/@_ft/checkbox/-/checkbox-0.0.1-pre3.tgz","fileCount":3,"unpackedSize":2850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGg28P50lvpQW24eklG28TrrxkO4b9PqlYBjViu6w1IQIhAMfmum3IY6bZ9pmS8hO6icKnnnc8sz0kuKlU9WquAc8/"}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkbox_0.0.1-pre3_1693762150963_0.27575042634278724"},"_hasShrinkwrap":false},"0.0.1":{"description":"checkbox headless react component","name":"@_ft/checkbox","version":"0.0.1","license":"MIT","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"main":"./index.js","repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"dependencies":{"@-ft/i":"^0.0.1"},"peerDependencies":{"clsx":"^2.0.0","react":"^18.2.0","react-dom":"^18.2.0"},"types":"./index.d.ts","gitHead":"96b167b23fd5bdbab39402b6390aaf5596162fe5","bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"homepage":"https://github.com/42ts/_ft-checkbox#readme","_id":"@_ft/checkbox@0.0.1","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-43ACt3aZW0XMMFm2jj9T/4R1Fy3YVywOh5DjVWsNvOv5+L3gS1Q1J1WBVhcWBU95PPM7DekliDlXWq/fzTVAEA==","shasum":"bb33728326cf412b2afabee07ce04293a4c9e26e","tarball":"https://registry.npmjs.org/@_ft/checkbox/-/checkbox-0.0.1.tgz","fileCount":4,"unpackedSize":3668,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBW174JExc3LHkD0YHdyGmD65WXDKAh/cS9HZ4LfPl+AiA0eodu4BvcaP6OaLsxcfcGYXrgIDVoLWGKcuHwkPzWaQ=="}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkbox_0.0.1_1693844840996_0.41428137359913486"},"_hasShrinkwrap":false},"0.0.2":{"description":"checkbox headless react component","name":"@_ft/checkbox","version":"0.0.2","license":"MIT","author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"main":"./index.js","repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"dependencies":{"@-ft/i":"^0.0.1"},"peerDependencies":{"clsx":"^2.0.0","react":"^18.2.0","react-dom":"^18.2.0"},"types":"./index.d.ts","gitHead":"4d9ba46e5c6ac3fe06ab0e5f3f469f8f3bf6105a","bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"homepage":"https://github.com/42ts/_ft-checkbox#readme","_id":"@_ft/checkbox@0.0.2","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Sqvr51WUUU6EWdKfiZmMFjmGnX0qa993uAfxfNpI0EEaKTmw6nGXc7d2+fe7pIrgpKlDbSWcqxDKyzutcXplqA==","shasum":"d958e39ac2ba17b8b48236fcb8fb9c77eaf6f2df","tarball":"https://registry.npmjs.org/@_ft/checkbox/-/checkbox-0.0.2.tgz","fileCount":4,"unpackedSize":2894,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAnZTVIFrpPnMgtsh4e/A546AQ7a3i+X/IYiAr4F+2OMAiEAyd3SZTSmNOpH7ap96uutRNRrMUhnu0mcwuR2KKWahA0="}]},"_npmUser":{"name":"mjy9088","email":"mjy9088@naver.com"},"directories":{},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/checkbox_0.0.2_1694617394503_0.5703431256925866"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-03T16:36:37.908Z","0.0.1-pre1":"2023-09-03T16:36:38.155Z","modified":"2023-09-13T15:03:14.861Z","0.0.1-pre2":"2023-09-03T16:54:29.901Z","0.0.1-pre3":"2023-09-03T17:29:11.145Z","0.0.1":"2023-09-04T16:27:21.172Z","0.0.2":"2023-09-13T15:03:14.650Z"},"maintainers":[{"name":"mjy9088","email":"mjy9088@naver.com"}],"description":"checkbox headless react component","homepage":"https://github.com/42ts/_ft-checkbox#readme","repository":{"type":"git","url":"git+https://github.com/42ts/_ft-checkbox.git"},"author":{"name":"Juyeong Maing","email":"mjy9088@naver.com"},"bugs":{"url":"https://github.com/42ts/_ft-checkbox/issues"},"license":"MIT","readme":"# `Checkbox` headless react component\n\n```jsx\nfunction MyCheckbox() {\n  const [checked, setChecked] = useState(true);\n  const toggle = useCallback(() => setChecked((b) => !b), [setChecked]);\n\n  return (\n    <>\n      <Checkbox\n        toggle={toggle}\n        checked={checked}\n        label=\"Test\"\n        className=\"bg-white\"\n        mergeClasses={twMerge}\n        checkedClass=\"bg-blue-500\"\n      />\n      Test\n    </>\n  );\n}\n```\n\nThis checkbox is fully accessible and fully customizable.\n\nIf not? then please make a pull request :\\)\n","readmeFilename":"README.md"}