{"name":"rmc-dialog","version":"1.1.1","description":"mobile dialog ui component for react","keywords":["react","m-dialog","react-component","react-dialog","dialog","mobile dialog","ui"],"homepage":"http://github.com/react-component/m-dialog","repository":{"type":"git","url":"git+ssh://git@github.com/react-component/m-dialog.git"},"bugs":{"url":"http://github.com/react-component/m-dialog/issues"},"license":"MIT","files":["lib","es","assets/*.css"],"main":"./lib/DialogWrap","module":"./es/DialogWrap","config":{"port":8007},"scripts":{"watch-tsc":"rc-tools run watch-tsc","build":"rc-tools run build","gh-pages":"rc-tools run gh-pages","start":"rc-tools run server","compile":"rc-tools run compile --babel-runtime","pub":"rc-tools run pub --babel-runtime","lint":"rc-tools run lint --no-js-lint","karma":"rc-test run karma","saucelabs":"rc-test run saucelabs","test":"rc-test run test","chrome-test":"rc-test run chrome-test","coverage":"rc-test run coverage","rn-start":"node node_modules/react-native/local-cli/cli.js start","rn-init":"rc-tools run react-native-init"},"devDependencies":{"@types/mocha":"^2.2.32","@types/react":"~16.0.2","@types/react-dom":"15.5.1","@types/react-native":"^0.47.2","async":"^0.9.0","bluebird":"~2.9.30","bootstrap":"^3.3.6","expect.js":"~0.3.1","jquery":"^1.11.2","pre-commit":"1.x","rc-test":"^6.0.1","rc-tools":"6.x","react":"^15.5.0","react-dom":"^15.5.0","react-native":"~0.42.0","react-native-index-page":"~0.2.0"},"pre-commit":["lint"],"typings":"./lib/DialogWrap.d.ts","dependencies":{"babel-runtime":"6.x","rc-animate":"2.x"},"gitHead":"7d26e0e73737a269601f572d5527fc89a5338e5f","_id":"rmc-dialog@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"warmhug","email":"hualei5280@gmail.com"},"dist":{"integrity":"sha512-28aJqtPTX6v13Z/aU1WBy1AFIXkE74PxZXde7JvtEIy9hQDTjH8fqOi822BpzAbXCyNE7jF9iFomy3H2ClsDJA==","shasum":"1d7fbc6b2cad5b0b53fbab71fe29636d76f78217","tarball":"http://registry-npm.ywwl.com/rmc-dialog/download/rmc-dialog-1.1.1.tgz","fileCount":25,"unpackedSize":63506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF5e/CRA9TVsSAnZWagAAKiwP/2sIfL5QeGgkuiStFQbp\nefjERx4tjCo5i5cJOqDi13mdAW5ljXratbKpTAGqTwf+7j0UoPW2WDwizSmw\nJEa/Rb2kg7xBJLWx02NWc512bViMna9+h0+amyone0ZzidQsX8EUfa6Ifva/\nUwHgaUzj027ok0NHqXVTW06916TyHG9CG9xj1P7zASJUQs23ZjlJ8ZZoh2VH\nYB7diN/4sQ2D63OpcW4E0OHjYcexyIkQvlbuksOgi4cT2B81kASF85yIbUhL\nacVCrhlQhLJKKfbEhMk2KwUHZaXM/UvjINfQ+DbV85Gt8W3T1e4kRKTdDF9K\nqbd7FbOlrZ71vR73+6gBK0pu9tX5w2PIGCkNRYZ3UagIQHhstBgpefCC6xtD\nWTbLJKxEy/uVV4RWOeRGoe7rzLJx90HX3cY4T+4MAUE+usiZOFiXy2lCDGww\nRBP2lWLontk7XWcORh58bGTpsgtm8Gd4rVIb3J2ZJuyCprmcRJgp7W0urTh1\nWMZrzlMGJ2fbNhexwu/FDEla0+aXwx1rOFx0VQxiSkcX8lYv4OVEwAxsgrvl\n5eRWZ/YibFoKdkvv2KTKXtKQToHVcBgtot6+aO0FBGUje+yfMokTpalZ0PHY\nGVfYb+fmDPpidG9EfXnAFpejesymOSCoWMWNItrw+QoJVfJX1bYZc+g+etFh\nvZRZ\r\n=SWo2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClMCBul3hHkpyPvw32bHLe7sgWsbb3LXkQRfX0AIg63wIgbR33uG1r7HLY4cEHhpww/YJMy08db1Yh9/xDRyt3ycU="}],"size":12886,"noattachment":false,"key":"/rmc-dialog/-/rmc-dialog-1.1.1.tgz"},"maintainers":[{"email":"hust2012jiangkai@gmail.com","name":"paranoidjk"},{"email":"rjmuqiang@gmail.com","name":"silentcloud"},{"email":"hualei5280@gmail.com","name":"warmhug"},{"email":"zhang740@vmzclub.com","name":"zhang740"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rmc-dialog_1.1.1_1528272830535_0.020897088359494553"},"_hasShrinkwrap":false,"readme":"# m-dialog\n---\n\nreact dialog component for mobile\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![gemnasium deps][gemnasium-image]][gemnasium-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: http://img.shields.io/npm/v/rmc-dialog.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rmc-dialog\n[travis-image]: https://img.shields.io/travis/react-component/m-dialog.svg?style=flat-square\n[travis-url]: https://travis-ci.org/react-component/m-dialog\n[coveralls-image]: https://img.shields.io/coveralls/react-component/m-dialog.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/react-component/m-dialog?branch=master\n[gemnasium-image]: http://img.shields.io/gemnasium/react-component/m-dialog.svg?style=flat-square\n[gemnasium-url]: https://gemnasium.com/react-component/m-dialog\n[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/rmc-dialog.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rmc-dialog\n\n## Screenshot\n\n<img src=\"http://gtms04.alicdn.com/tps/i4/TB1dp5lHXXXXXbmXpXXyVug.FXX-664-480.png\" />\n\n## Install\n\n[![rmc-dialog](https://nodei.co/npm/rmc-dialog.png)](https://npmjs.org/package/rmc-dialog)\n\n## Usage\n\n```js\nvar Dialog = require('rmc-dialog');\n\nReactDOM.render(\n  <Dialog title={title} onClose={callback1} visible>\n      <p>first dialog</p>\n  </Dialog>\n), document.getElementById('t1'));\n\n// use dialog\n```\n\n## API\n\n### rmc-dialog(web)\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n| prefixCls | The dialog dom node's prefixCls | String | `rmc-dialog` |\n| className | additional className for dialog | String |  |\n| wrapClassName | additional className for dialog wrap | String |  |\n| style | Root style for dialog element.Such as width, height | Object | {} |\n| zIndex | z-index | Number |  |\n| bodyStyle | body style for dialog body element.Such as height | Object | {} |\n| maskStyle | style for mask element. | Object | {} |\n| visible | current dialog's visible status | Boolean | false |\n| animation | part of dialog animation css class name | String |  |\n| maskAnimation | part of dialog's mask animation css class name | String |  |\n| transitionName | dialog animation css class name | String |  |\n| maskTransitionName | mask animation css class name | String |  |\n| title | Title of the dialog | String|React.Element |  |\n| footer | footer of the dialog | React.Element |  |\n| closable | whether show close button | Boolean | true |\n| mask | whether show mask | Boolean | true |\n| maskClosable | whether click mask to close | Boolean | true |\n| onClose | called when click close button or mask | function |  |\n\n### rmc-dialog/lib/Dialog (react-native)\n\n| name     | description    | type     | default      |\n|----------|----------------|----------|--------------|\n| wrapStyle | style for modal wrap | Object | {} |\n| maskStyle | style for modal mask | Object | {} |\n| style | style for modal | Object | {} |\n| animationType | animation type for modal content, can be one of `none|fade|slide-up|slide-down` | String | slide-up |\n| animationDuration | animation duration | number | 300 |\n| visible | visible state | boolean | false |\n| animateAppear | whether animation on first show | boolean | false |\n| onClose | called when close | Function | ()=>void |\n| onAnimationEnd | called when animation end | Function | (visible:boolean)=>void (animationType !== 'none') |\n\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://localhost:8007/examples/\n\nonline example: http://react-component.github.io/m-dialog/\n\n## react-native\n\n```\nnpm run rn-init\nnpm run watch-tsc\nreact-native start\nreact-native run-ios\n```\n\n## Test Case\n\n```\nnpm test\nnpm run chrome-test\n```\n\n## Coverage\n\n```\nnpm run coverage\n```\n\nopen coverage/ dir\n\n\n## License\n\nrmc-dialog is released under the MIT license.\n","publish_time":1528272830588,"_cnpm_publish_time":1528272830588,"dist-tags":{"beta":"0.0.1-alpha.4","latest":"1.1.1"}}