{"_id":"@akihirotakamura/formsy-semantic-ui-react","_rev":"2-3f72b5c25da10e62d3c7339bcf072ed5","name":"@akihirotakamura/formsy-semantic-ui-react","dist-tags":{"latest":"0.4.1"},"versions":{"0.4.0":{"name":"@akihirotakamura/formsy-semantic-ui-react","version":"0.4.0","description":"Forked. Formsy-React wrappers for Semantic-Ui-React's form Components","repository":{"type":"git","url":"git+https://github.com/AkihiroTakamura/formsy-semantic-ui-react.git"},"author":{"name":"Akihiro Takamura","email":"hkm26474@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/zabute/formsy-semantic-ui-react/issues"},"main":"./lib/index.js","types":"./types.d.ts","scripts":{"build":"rimraf lib && babel ./src -d ./lib","lint":"eslint src example test --color","test":"mocha test/**/*.spec.js","test:watch":"npm run test -- --watch","example-app":"webpack-dev-server --config example/webpack.config.js --inline --progress --colors","prepublish":"npm run build"},"peerDependencies":{"@akihirotakamura/formsy-react":">=1.2.0","react":"^15.6.1 || ^16.0.0","react-dom":"^15.6.1 || ^16.0.0","semantic-ui-react":">=0.68.0"},"devDependencies":{"babel-cli":"^6.9.0","babel-core":"^6.9.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-transform-object-assign":"^6.8.0","babel-polyfill":"^6.13.0","babel-preset-airbnb":"^2.0.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.5.0","babel-preset-stage-0":"^6.5.0","babel-register":"6.9.0","babel-runtime":"^6.9.2","bundle-loader":"^0.5.4","chai":"^3.5.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","eslint":"^1.10.3","eslint-config-airbnb":"^2.1.1","eslint-plugin-mocha":"^1.0.0","eslint-plugin-react":"^3.13.0","formsy-react":"1.1.1","ignore-styles":"^5.0.1","jsdom":"^9.5.0","mocha":"^2.5.3","react":"16.1.1","react-addons-test-utils":"^15.0.0","react-dom":"16.1.1","react-test-renderer":"^15.5.4","rimraf":"^2.5.4","semantic-ui-react":"^0.76.0","sinon":"^1.17.7","webpack":"1.12.9","webpack-dev-server":"1.14.0"},"dependencies":{"prop-types":"^15.6.0"},"keywords":["formsy-react","semantic-ui","semantic-ui-react","formsy","form","react","react-component","form-validation"],"gitHead":"5a3e01b822d6f61ee74c68f99488da957b3b8c07","homepage":"https://github.com/AkihiroTakamura/formsy-semantic-ui-react#readme","_id":"@akihirotakamura/formsy-semantic-ui-react@0.4.0","_nodeVersion":"9.11.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-YmttU6cWiIM/Bi/vMbC/Ij7VsD3Gxo0rfb1r6ZASxutO+IOWoJxgXeO4VclQCzih/90S0ea/+ePWJSY0exjXkw==","shasum":"14393da7f4deb1899c12b5bc7fb244bffefe166c","tarball":"https://registry.npmjs.org/@akihirotakamura/formsy-semantic-ui-react/-/formsy-semantic-ui-react-0.4.0.tgz","fileCount":44,"unpackedSize":102337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnDAtCRA9TVsSAnZWagAA0aEQAI87UrgIErhpkkkXZHjm\n9yKXpW4SzuEgSzP6eufNScgFXTcHH536bxTbMmgKaxZ2vuFgkfgKXjX6kPiB\n199LkvHX6D5/UGX8PxOEWJijQlbTGk+2C7ycXAaBS8/EO74bsPUe9Zwiy7T5\nVuRaWhQuGQjNDQUkMKjJGgrD65R4aGqISNCo+c5CWa88++WCY2B0IhMKLqvd\nzm/3OOsDTZsSLfEn742jLlqrWPUspPmC6jFPPUCZCw9b9vX7dJV0m71+BW+S\nmaKQb7NGy2GS40r7dj8hnU9HfoOr0MQrui/YM8WdItedsOYdyeeaAflwgOf3\n0xK/5lxnxof5d4QLUuZyrjFWRVrgPtpcIqU7QUd7N6M28V0uOgwaXm29WhIC\nuVAiup6J/n680XboFic0ZbBBz2d3JU+EAdusd7GapsoXGa07zAXgp0+demwV\nDwZzgekl9AdK0ETuB+aQWkTk62llMeth4oIryab9qa8BbZJ18+Twocv/DX0t\n2/ymVaIQHxe4S4mw9xT44ZLGtgHTuvxFJ7tDCQUf/WZlcPE+wElArPuWyurn\nJqHuaJ12Mg0rfYJdRNoqS6qvq7Ac5n16uFEGIykSGGudY0NtVgRk+RJeThPJ\nEtsWMoRHAKZbyCF29H9yRWs+QXv53Fr+TQaAPaiaiuN5ERj26d9ptK8cDrDn\nz2Ln\r\n=nKlP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/LzfvDkDeu/tN4pBtQ3EfZE8X8owEFUHHMx0QVC+k0gIgFRUtuMPSoYG82tYC91GYKm0fwToMZnwktCe6PW0Gq3Y="}]},"maintainers":[{"name":"akihirotakamura","email":"hkm26474@gmail.com"}],"_npmUser":{"name":"akihirotakamura","email":"hkm26474@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formsy-semantic-ui-react_0.4.0_1553739820844_0.32278118015311175"},"_hasShrinkwrap":false},"0.4.1":{"name":"@akihirotakamura/formsy-semantic-ui-react","version":"0.4.1","description":"Forked. Formsy-React wrappers for Semantic-Ui-React's form Components","repository":{"type":"git","url":"git+https://github.com/AkihiroTakamura/formsy-semantic-ui-react.git"},"author":{"name":"Akihiro Takamura","email":"hkm26474@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/zabute/formsy-semantic-ui-react/issues"},"main":"./lib/index.js","types":"./types.d.ts","scripts":{"build":"rimraf lib && babel ./src -d ./lib","lint":"eslint src example test --color","test":"mocha test/**/*.spec.js","test:watch":"npm run test -- --watch","example-app":"webpack-dev-server --config example/webpack.config.js --inline --progress --colors","prepublish":"npm run build"},"peerDependencies":{"@akihirotakamura/formsy-react":">=1.2.0","react":"^15.6.1 || ^16.0.0","react-dom":"^15.6.1 || ^16.0.0","semantic-ui-react":">=0.68.0"},"devDependencies":{"babel-cli":"^6.9.0","babel-core":"^6.9.0","babel-eslint":"^6.0.4","babel-loader":"^6.2.4","babel-plugin-transform-object-assign":"^6.8.0","babel-polyfill":"^6.13.0","babel-preset-airbnb":"^2.0.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.5.0","babel-preset-stage-0":"^6.5.0","babel-register":"6.9.0","babel-runtime":"^6.9.2","bundle-loader":"^0.5.4","chai":"^3.5.0","enzyme":"^3.2.0","enzyme-adapter-react-16":"^1.1.0","eslint":"^1.10.3","eslint-config-airbnb":"^2.1.1","eslint-plugin-mocha":"^1.0.0","eslint-plugin-react":"^3.13.0","@akihirotakamura/formsy-react":">=1.2.0","ignore-styles":"^5.0.1","jsdom":"^9.5.0","mocha":"^2.5.3","react":"16.1.1","react-addons-test-utils":"^15.0.0","react-dom":"16.1.1","react-test-renderer":"^15.5.4","rimraf":"^2.5.4","semantic-ui-react":"^0.76.0","sinon":"^1.17.7","webpack":"1.12.9","webpack-dev-server":"1.14.0"},"dependencies":{"prop-types":"^15.6.0"},"keywords":["formsy-react","semantic-ui","semantic-ui-react","formsy","form","react","react-component","form-validation"],"gitHead":"9d1f3e95e879856efdc4f88512b1288ea294a113","homepage":"https://github.com/AkihiroTakamura/formsy-semantic-ui-react#readme","_id":"@akihirotakamura/formsy-semantic-ui-react@0.4.1","_nodeVersion":"9.11.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-af0pRO8NcPKXSTsqwRZBlzpn65LuXz+ZVlRnLdovMXM3E9gN1jQWXNCP9zjfp3BXhRIUsMIYHd44+pk2L0DTuA==","shasum":"298194549bd507e531e9bebd271c38e915f12f0b","tarball":"https://registry.npmjs.org/@akihirotakamura/formsy-semantic-ui-react/-/formsy-semantic-ui-react-0.4.1.tgz","fileCount":44,"unpackedSize":102662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnDauCRA9TVsSAnZWagAAi3oQAIsL/wphNyEiHRNFw5tj\nDRKR0zYvaymDoeloM4GmlVrqs0ghIMp1ysFKd5H2lStDLIhKylC3h9bgWXhy\nXU6XefFFIgs2OH4ZT4CccdhpR7JjpP6DCkg58bHsLg9FEEwUzyJv3lxVid61\n6vl5Bru/0nYKw0WfvqtOFYW3KT3kv/zrSR8JVSfzr/AZdUclPE6Jg/lTU78D\ndUs+ZaHshZxzEWw20kBcUDVRkYj3HkDq2usXnWL9oNybdDEsZZowFYC3odoZ\n2X98bq0BzsnR0RjqxkZY9mL19unWoeD0s5kU3rRb8lGRAZsWiovOzqEhZtJC\nEqmAEvHlpopfj6P2QS5TKkDUsmtQtJLO+jRWN9u6s2gIY7aPZ7YiJR+QUY/f\ndAIYj7FIIJ8R2I98rVL6ta+WtTc5I6L72HGqSK/hlKa17xOgZxVbQ8Fp9qwJ\n7kJON8Wb6RjRd8X/M2fiaT4chDrd1vm5hf44JV0Wy0ZO77ZnL1eL8uNb2XWP\nDYLfkZzmhpcaP0Y7u2geMoUXsxj6WlMCU72Im39q/rDP111dKMvX/d3tSJYH\nSMchEAQe5pb3lh4sGnZ2IeV9XI9HeDIZp7xtBLZwcrN2OFsbotbcDGJrhzuH\nPvW3ZpHEuNPoWmBWI14QUqTmXLmqxS9cDkVcWgawI8aLIBNK6XbqMzwWgM/p\nocmv\r\n=nqEP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfN3UVzLk2bYPkji7djTi0WCpl5IUvWeavOo8qRJkGvAiASjHmA7Ber7DkvkwcfuW8b1MeYjg+RvmcGafK7IV43IA=="}]},"maintainers":[{"name":"akihirotakamura","email":"hkm26474@gmail.com"}],"_npmUser":{"name":"akihirotakamura","email":"hkm26474@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formsy-semantic-ui-react_0.4.1_1553741485854_0.734091661137436"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-28T02:23:40.655Z","0.4.0":"2019-03-28T02:23:41.003Z","modified":"2022-04-04T12:29:21.191Z","0.4.1":"2019-03-28T02:51:25.967Z"},"maintainers":[{"name":"akihirotakamura","email":"hkm26474@gmail.com"}],"description":"Forked. Formsy-React wrappers for Semantic-Ui-React's form Components","homepage":"https://github.com/AkihiroTakamura/formsy-semantic-ui-react#readme","keywords":["formsy-react","semantic-ui","semantic-ui-react","formsy","form","react","react-component","form-validation"],"repository":{"type":"git","url":"git+https://github.com/AkihiroTakamura/formsy-semantic-ui-react.git"},"author":{"name":"Akihiro Takamura","email":"hkm26474@gmail.com"},"bugs":{"url":"https://github.com/zabute/formsy-semantic-ui-react/issues"},"license":"MIT","readme":"# formsy-semantic-ui-react [![Build Status](https://travis-ci.org/zabute/formsy-semantic-ui-react.svg?branch=master)](https://travis-ci.org/zabute/formsy-semantic-ui-react) [![npm version](https://badge.fury.io/js/formsy-semantic-ui-react.svg)](https://badge.fury.io/js/formsy-semantic-ui-react)\n\n\nQuicky create  [formsy-react](https://github.com/formsy/formsy-react) forms with [Semantic-Ui-React's](https://github.com/Semantic-Org/Semantic-UI-React) Form Components.\n\n## Installation\n\n```\nnpm install (or yarn add) formsy-semantic-ui-react\n```\n\nYou will also need formsy-react\n\n```\nnpm install (or yarn add) formsy-react\n```\n\n## Usage\n```jsx\n// ES6\nimport {\n  Form, Input, TextArea, Checkbox, Radio, RadioGroup, Dropdown, Select,\n} from 'formsy-semantic-ui-react';\n```\n```jsx\n// ES5\nvar Form = require('formsy-semantic-ui-react').Form;\n/** and so on for the rest of the Components **/\n```\n```jsx\nconst App = (props) => {\n  const errorLabel = <Label color=\"red\" pointing/>\n\n  return (\n    <Form\n      onValidSubmit={ props.onValidSubmit }\n      loading={ props.isLoading }\n    >\n      <Form.Input\n        name=\"email\"\n        label=\"Email\"\n        validations=\"isEmail\"\n        validationErrors={{ isEmail: 'Email not valid' }}\n        errorLabel={ errorLabel }\n      />\n    </Form>\n  )\n}\n```\n\n## Props\nThis library defines a couple of (non-required) props for more control over behavior/markup:\n\n- ```errorLabel``` (type: ```Node``` default: ```none```)\n\n  Used to Show validation errors next to the inputs. Any ```children``` get replaced by ```getErrorMessage()```\n\n```jsx\n  <Checkbox\n    errorLabel={ <Label color=\"red\" pointing=\"left\"/> }/>\n  />\n```\n\n- ```instantValidation``` (type: ```bool``` default: ```false```)\n\n  Whether or not to show validation errors as soon as user starts typing. Only available on ```Input``` and ```Form.Input```\n\n```jsx\n  <Input\n    instantValidation\n  />\n```\n\n## Examples\nGo to the [example](/example) folder to see more examples of how the components are used.\nTo run the example app:\n```\nnpm/yarn install\nnpm/yarn run example-app\n```\nThen go to ```localhost:8080```\n\nFor more information on building and validating ```formsy-react``` forms, take a look at [Formsy-React's Dcoumentaion](https://github.com/formsy/formsy-react/blob/master/API.md)\n\n## Tests\nTests are done using Mocha, chai, sinon, and enzyme on jsdom.\nTo run the tests,\n```\nnpm/yarn install\nnpm/yarn run test (or test:watch)\n```\n\nLicense: [MIT](/LICENSE)\n","readmeFilename":"README.md"}