{"_id":"@aiui/ai-form","_rev":"1-50adb74757df08037f7cd64b379a325a","name":"@aiui/ai-form","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aiui/ai-form","version":"1.0.0","description":"Minimal Form & Input React Components.","main":"dist/index.cjs.js","module":"dist/index.esm.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","storybook":"start-storybook --port 9009 --host 0.0.0.0","build":"NODE_ENV=production rollup -c","publish":"npm run build && npm publish --access public","build-storybook":"build-storybook"},"keywords":["react","apptitude","component","ai","aiui","ai-form","form","input","radio","checkbox","select"],"author":{"name":"Apptitude Infotech","email":"apptitude.infotech@gmail.com","url":"https://apptitude.in/"},"repository":{"type":"git","url":"git+https://github.com/ApptitudeInfotech/AiForm.git"},"license":"GPL","peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"devDependencies":{"@babel/core":"^7.13.16","@babel/preset-env":"^7.13.15","@babel/preset-react":"^7.13.13","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","@storybook/addon-actions":"^6.2.9","@storybook/addon-essentials":"^6.2.9","@storybook/addon-links":"^6.2.9","@storybook/react":"^6.2.9","prop-types":"^15.7.2","react":"^17.0.2","react-dom":"^17.0.2","rollup":"^2.46.0","rollup-plugin-terser":"^7.0.2"},"bugs":{"url":"https://github.com/ApptitudeInfotech/AiForm/issues"},"homepage":"https://github.com/ApptitudeInfotech/AiForm#readme","_id":"@aiui/ai-form@1.0.0","_nodeVersion":"14.15.3","_npmVersion":"7.9.0","dist":{"integrity":"sha512-QzqKJJHGistJPwwVn3fAh+UnLpNyfIjHeZPBc2srwJFwSfo9iDNEr2M+Gv36/6bMPfYZ/XThQ2K5pHybkVYuBA==","shasum":"9bcf310ca0416fbdfadc43df5b76894e9072eef3","tarball":"https://registry.npmjs.org/@aiui/ai-form/-/ai-form-1.0.0.tgz","fileCount":4,"unpackedSize":50818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyjVACRA9TVsSAnZWagAAYbcP/17eEffSdTM/oWgL1Sq0\n7a4suH7kN1qbFxaY7WApZ0zqV6GrQwCYNbSSHFy82j5QeFh6IAazLhm6rqfu\ndhKCnXpXaxC4+MzvUP59o++BPjWRVkFsx4bgj80dE+Cz3QlrKlQzQmZhPcwW\nkPLiTfOTNnCTv9ohZQtgcIm+AHUx0JjOHX4Czv2eT8xet5W/CKWGivlHgyux\naJXv7kYD75sIi4MX/w6rUDZFkYg5ox4yRHDwnddJvsHO/ch0n+wpybyVxgMD\nEuAzwa3Mo04yTopIjPh3b6Jl5B9DIVm/Ekl136O8oB6CPMyI5xO0nOlmgq1j\nBfJXuB20wQB3CtPi/WyCXvBsBfHg8eTFWWllNMtC11twojDiMIP9wZDcOH9P\n/fUoNl8/FLcsYDdHHnQI1Z/M8pSx+e10Dle+erBIfIQwpd/e8cZ5q0dFlAb7\nrPimwjLwfc4eUEu3yQrieL6717FZk213z33Mc6TnoKlVE7GVxt7FjQwhB87Q\n79bde4WUdqxB8NYBvAvSIcwy1V6XBXX5H5Kz9jj5/VwxnSP+0Z7IxSOR+1pW\n9m/aDyFG4mv6nN2MW/w+RIKBvGug+K23TbTzPYZNW+lxMUtffOQ+830K2SX4\nQL41HURNtBJS1gasm5PwIy6Z9Aefof0/jsSaf+fNv335rS+q3m6loe5JdKWY\nfZGH\r\n=z8HF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGFPWQOW6J+PfSRGoDz9jQbKyfvYSBFd8JAdiEvJCC9JAiAGup1FX0VcqYRBm86hpGRCmH+MGIqrAhb7TAEFwwhqxw=="}]},"_npmUser":{"name":"apptitudeinfotech","email":"apptitude.infotech@gmail.com"},"directories":{},"maintainers":[{"name":"apptitudeinfotech","email":"apptitude.infotech@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ai-form_1.0.0_1623864639842_0.13897891383473904"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-16T17:30:39.487Z","1.0.0":"2021-06-16T17:30:39.994Z","modified":"2022-04-04T12:25:37.324Z"},"maintainers":[{"name":"apptitudeinfotech","email":"apptitude.infotech@gmail.com"}],"description":"Minimal Form & Input React Components.","homepage":"https://github.com/ApptitudeInfotech/AiForm#readme","keywords":["react","apptitude","component","ai","aiui","ai-form","form","input","radio","checkbox","select"],"repository":{"type":"git","url":"git+https://github.com/ApptitudeInfotech/AiForm.git"},"author":{"name":"Apptitude Infotech","email":"apptitude.infotech@gmail.com","url":"https://apptitude.in/"},"bugs":{"url":"https://github.com/ApptitudeInfotech/AiForm/issues"},"license":"GPL","readme":"# AiForm\nMinimal Form & Input React Components.\n\nProvides Form, Input, Radio, Checkbox and Select component\n\n![npm bundle size](https://img.shields.io/bundlephobia/min/@aiui/ai-form)\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/@aiui/ai-form)\n![npm download](https://img.shields.io/npm/dm/@aiui/ai-form.svg)\n\n## Install\n    npm i @aiui/ai-form\n\n## Import\n    import AiForm, { AiInput, AiSelect, AiCheckbox, AiRadio } from '@aiui/ai-form';\n\n\n## AiForm Props\n|   Name   |  Type  |   Default       | Description |\n|----------|:-------|:----------------|:------------|\n| onDone   | func   | ( ) => { }      | Callback fired when Form gets validated and submitted (returns form current Ref)|\n| children | node   |                 | Form children (input,radio,select,checkbox)  |\n\n\n## AiInput Props\n|   Name    |  Type  |   Default       | Description |\n|-----------|:-------|:----------------|:------------|\n| name      | string |                 | Input field name |\n| type      | string | text            | Input field type  |\n| label     | string |                 | Input field label  |\n| showLabel | bool   | true            | If false, field label is hidden  |\n| withGroup | bool   | true            | If false, field margin is removed  |\n\n## AiSelect Props\n|   Name    |  Type  |   Default       | Description |\n|-----------|:-------|:----------------|:------------|\n| name      | string |                 | Select field name |\n| options   | array  | [ ]              | Select field options ( [{ label, value }, { label, value }] )  |\n| label     | string |                 | Select field label  |\n| showLabel | bool   | true            | If false, field label is hidden  |\n| withGroup | bool   | true            | If false, field margin is removed  |\n\n## AiCheckbox Props\n|   Name           |  Type  |   Default       | Description |\n|------------------|:-------|:----------------|:------------|\n| name             | string |                 | Checkbox field name |\n| options          | array  | [ ]             | Checkbox field options ( [{ label, value }, { label, value }] )  |\n| label            | string |                 | Checkbox field label  |\n| showLabel        | bool   | true            | If false, field label is hidden  |\n| withGroup        | bool   | true            | If false, field margin is removed  |\n| selectedValues   | array  | [ ]             | Default Checked Options  |\n| inline           | bool   | true            | If true, Checkbox options shown inline  |\n\n## AiRadio Props\n|   Name           |  Type  |   Default       | Description |\n|------------------|:-------|:----------------|:------------|\n| name             | string |                 | Radio field name |\n| options          | array  | [ ]             | Radio field options ( [{ label, value }, { label, value }] )  |\n| label            | string |                 | Radio field label  |\n| showLabel        | bool   | true            | If false, field label is hidden  |\n| withGroup        | bool   | true            | If false, field margin is removed  |\n| selectedValue    | any    |                 | Default Checked Option  |\n| inline           | bool   | true            | If true, Radio options shown inline  |","readmeFilename":"README.md"}