{"_id":"bee-overlay-modal","_rev":"26-16f1990c756ce2eb8b0436ed28af45bb","name":"bee-overlay-modal","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"bee-overlay-modal","version":"0.0.1","keywords":["react","react-component","react-overlay","iuap-design","neoui-react","overlay"],"author":{"name":"zhouboyu"},"license":"MIT","_id":"bee-overlay-modal@0.0.1","maintainers":[{"name":"liushaozhen","email":"804199994@qq.com"}],"homepage":"https://github.com/tinper-bee/overlay","bugs":{"url":"https://github.com/tinper-bee/overlay/issues"},"dist":{"shasum":"ad5a9de91884aa7804c49f38bff404f219b0d967","tarball":"https://registry.npmjs.org/bee-overlay-modal/-/bee-overlay-modal-0.0.1.tgz","fileCount":71,"integrity":"sha512-u5fNX/IqGIkI9e2fGq/Pnn/l0+R/p41r00knMviLc3yAPRzXBgr7Obuix1G28qtsMl84Tno9dTvui5kMrPvX4w==","signatures":[{"sig":"MEUCIQDWip2teU3fkyO3GlElN4otR7DBevv5uVHVBqS5hHHgMAIgOCh71xySbBD3oIzd0Nn1qReExKZMLZ+3y72BSG9lxJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":270694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3LxICRA9TVsSAnZWagAAhtwP/2JvLwkegBHYnUdxT5FT\nKTvJ5wZLKF1fDArbvQqPcm0/DYQAOfha/CDghAAs1poFTOs7hwjKHj0gmI/q\ndkvnyqFjh7LUItozSECDiA25/e4Wxg6Degk2+ZqezGKe/iuFFX2ilMvxpuxp\n1qNRscqf+VNzNBK325RKqT658k280QQEWt432fl5Dnh1c+OMvJetsbKikYfu\n7cawfOwLXWN0aZ/Pfilis5t+QUSFp5i93zBdjJq1jBWDRh+2N8RlmEMVNXTm\no/2ZZvZETt6BHkWfMWn14fVBIh4OdlXHlMN/qYgZxdftm4xPiAi/Ah4kRYfZ\n8HugalWEo8ICwUCxrvGyE7ft+t84LjVe7ZQj4tJasLybsMwD5/zx9y1w+KTq\nR1PshMbwmhpOH+R3ioA3GQIuTQC/ahp394/XH+TJk2Nuaotn/IvtLES5ojIr\n+JX3/Hk565hHDtnFPXMiGhSuYG811p8xOSjvI3fsMTqxGqGAL/rImK/vglzc\nGBvv3rolOdz/V4gaFqK0g7qCgi0UylA2AgQkPiLOZGbMeXuX2UyFdOZTUBwG\nvWhsav/3SmsdvWR9KUQuXNk9u+XoHNkvKFqJcTKiphDYugy/GnpR7iCukFIJ\nGhq2mMFuZFiJ+NAmZgvheYUY1cLOMoCAdxumDNEabO+M1IqeDf74ZiW0jQwW\n05IN\r\n=wBiT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index","config":{"port":8000,"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4.0.0"},"scripts":{"dev":"bee-tools run start","pub":"bee-tools run pub","lint":"bee-tools run lint","test":"bee-tools run test","build":"bee-tools run build","chrome":"bee-tools run chrome","browsers":"bee-tools run browsers"},"_npmUser":{"name":"liushaozhen","email":"804199994@qq.com"},"repository":{"url":"git+ssh://git@github.com/tinper-bee/overlay.git","type":"git"},"_npmVersion":"6.1.0","description":"overlay ui component for react","directories":{},"_nodeVersion":"8.10.0","dependencies":{"warning":"^3.0.0","classnames":"^2.2.5","bee-animate":"latest","dom-helpers":"^3.0.0","tinper-bee-core":"latest"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","enzyme":"^2.4.1","es5-shim":"~4.1.10","console-polyfill":"~0.2.1","react-addons-test-utils":"^15.3.2","cz-conventional-changelog":"^2.1.0"},"peerDependencies":{"react":"^15.3.0 || ^16.0","react-dom":"^15.3.0 || ^16.0","prop-types":"15.6.0"},"_npmOperationalInternal":{"tmp":"tmp/bee-overlay-modal_0.0.1_1557969991008_0.7036338764394021","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"bee-overlay-modal","version":"0.0.2","keywords":["react","react-component","react-overlay","iuap-design","neoui-react","overlay"],"author":{"name":"zhouboyu"},"license":"MIT","_id":"bee-overlay-modal@0.0.2","maintainers":[{"name":"guoxj9966","email":"2411376122@qq.com"},{"name":"guoyongfeng","email":"13552329235@163.com"},{"name":"jonyw","email":"jonyshi@126.com"},{"name":"kvkens","email":"kvkens@qq.com"},{"name":"liushaozhen","email":"804199994@qq.com"},{"name":"loongma","email":"malong19901016@sina.com"},{"name":"lzp979822781","email":"979822781@qq.com"},{"name":"npm_yx","email":"1600714656@qq.com"},{"name":"whizbz","email":"whizbz11@sina.com"},{"name":"whynotgonow","email":"whynotgonow@163.com"},{"name":"yangchch","email":"yangchch6@yonyou.com"},{"name":"yonyoufed","email":"guoyff@yonyou.com"},{"name":"zhaoyuchief","email":"zhaoyuchief@163.com"}],"homepage":"https://github.com/tinper-bee/overlay","bugs":{"url":"https://github.com/tinper-bee/overlay/issues"},"dist":{"shasum":"9ef743f2cb2e67e2d775283bbe7488dcf35521cf","tarball":"https://registry.npmjs.org/bee-overlay-modal/-/bee-overlay-modal-0.0.2.tgz","fileCount":71,"integrity":"sha512-puHG9E2TK18Q/AJPiB+5lAyHGGVxiAAq2MtaHLsnsHu0ikmpOaJO5R/DFF7IbEmM/in7rrSIH5arTz07Ebj/sA==","signatures":[{"sig":"MEUCIA3pQXk1yVqKW3ktZDVCVhkOYB3bhdRpByHxWTteJrZRAiEA7f/4MVX7umZqUqhjOqgTDLk6RgnXXqMqq7cGMEXOQUQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":270824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdIFjsCRA9TVsSAnZWagAA7zcQAIHIg/gY1uPkiZ76CO14\nPSUIlxYp9yJcHgGSTz2GQaJGd9lwtA1NVA9tdhrkyLzEoabPDTro5eLu6kJy\nITW+q9AFRj4ABfF7O3doI9K6glHIwzd8IN1hAIpzs+8ZQuL7NU7Ax9tY2Bzx\nMW1F+9fNwVc7qalEHm9n5qgZCG93+xVxsYxULU7oRHLdc/Pu9TIKX0yJvl5U\nzOHDhc5r7CUG6k17Gt0Jh3DOxpig1anKxny3nYUJMZ0dHYWlWPPF5xKKSZKb\nR/tL3Do/LZAhJQUxBRwE52iGYlCOeT8WwI0J46NDvLNonNJ/6oq5nwyaWWqR\nOHA/L2TM+VfPDCQVdWX5ES04m6xNh0o977l+zswsKXMDQFZ24JFOyrjBkRtD\nyjXt9GeG91jc89sWu0DwImf8NoroU2bEdxODe/LJ1vR/Alu87E+b7GztGOwS\nHdZ3OInHKFCdTl7ax+Z5nhwYTTJsY9DQ4QWewXu5gsnAxDuatd3EIOsDcxdH\nOGmLy9F7Dp2DkLjTDoQjK0UtGRHwBXoHdcUHhEPxUQKXuuVeeU/nfysLpqKk\nNmjxseRP7eSxbqOj1z9Wk5Q12NlmsJPayr5Rith//U0lXyLz6s1wEDbSwlye\nhG9xYOpwQegbbhHLyJVUXdKqyM9EIIz1m8eX1Pb94iFZfXiQgF0hVQ/mzlgS\nvQWs\r\n=7elX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index","config":{"port":8000,"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=4.0.0"},"gitHead":"27acf545daa8465efae5aadd5946699ab09ddf2a","scripts":{"dev":"bee-tools run start","pub":"bee-tools run pub","lint":"bee-tools run lint","test":"bee-tools run test","build":"bee-tools run build","chrome":"bee-tools run chrome","browsers":"bee-tools run browsers"},"_npmUser":{"name":"whizbz","email":"whizbz11@sina.com"},"repository":{"url":"git+ssh://git@github.com/tinper-bee/overlay.git","type":"git"},"_npmVersion":"6.4.1","description":"overlay ui component for react","directories":{},"_nodeVersion":"6.11.5","dependencies":{"warning":"^3.0.0","classnames":"^2.2.5","bee-animate":"latest","dom-helpers":"^3.0.0","tinper-bee-core":"latest"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","enzyme":"^2.4.1","es5-shim":"~4.1.10","console-polyfill":"~0.2.1","react-addons-test-utils":"^15.3.2","cz-conventional-changelog":"^2.1.0"},"peerDependencies":{"react":"^15.3.0 || ^16.0","react-dom":"^15.3.0 || ^16.0","prop-types":"15.6.0"},"_npmOperationalInternal":{"tmp":"tmp/bee-overlay-modal_0.0.2_1562401003680_0.23781974721241772","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-05-16T01:26:31.007Z","modified":"2024-08-30T07:17:05.792Z","0.0.1":"2019-05-16T01:26:31.171Z","0.0.2":"2019-07-06T08:16:43.885Z"},"bugs":{"url":"https://github.com/tinper-bee/overlay/issues"},"author":{"name":"zhouboyu"},"license":"MIT","homepage":"https://github.com/tinper-bee/overlay","keywords":["react","react-component","react-overlay","iuap-design","neoui-react","overlay"],"repository":{"url":"git+ssh://git@github.com/tinper-bee/overlay.git","type":"git"},"description":"overlay ui component for react","maintainers":[{"email":"15330079920@163.com","name":"rongqb"},{"email":"1479605026@qq.com","name":"duxue"},{"email":"wang1084@126.com","name":"jwangyangls"},{"email":"18810786213@163.com","name":"shaohlr"},{"email":"474733244@qq.com","name":"honely1314"},{"email":"liu_xiangyang@sina.cn","name":"xiaoshutong"},{"email":"guoyff@yonyou.com","name":"yonyoufed"},{"email":"jonyshi@126.com","name":"jonyw"},{"email":"13552329235@163.com","name":"guoyongfeng"},{"email":"kvkens@qq.com","name":"kvkens"},{"email":"731215820@qq.com","name":"whizbz"},{"email":"1600714656@qq.com","name":"npm_yx"},{"email":"SLA0630@163.com","name":"bjyxszd"},{"email":"banyudu+tinper@gmail.com","name":"tinper-bot"},{"email":"gaox2025f@gmail.com","name":"gaox2025f"},{"email":"gcht@163.com","name":"gcht163"},{"email":"kvkens@gmail.com","name":"cnkvkens"},{"email":"zzjbarry@126.com","name":"diozhu"},{"email":"617065682@qq.com","name":"wangjings123"},{"email":"804199994@qq.com","name":"liushaozhen"}],"readme":"# bee-overlay-modal\n[![npm version](https://img.shields.io/npm/v/bee-overlay-modal.svg)](https://www.npmjs.com/package/bee-overlay-modal)\n[![Build Status](https://img.shields.io/travis/tinper-bee/bee-overlay-modal/master.svg)](https://travis-ci.org/tinper-bee/bee-overlay-modal)\n[![Coverage Status](https://coveralls.io/repos/github/tinper-bee/bee-overlay-modal/badge.svg?branch=master)](https://coveralls.io/github/tinper-bee/bee-overlay-modal?branch=master)\n\nbee-overlay modal版本\n\n\n## 使用方法\n\n```js\n\n```\n\n\n\n## API\n- Portal 入口，将子组件放入指定的容器\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|container|目标容器|DOM元素\\react组件\\或是返回组件的函数|''|\n\n- Position 定位组件\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|target|要定位元素|DOM元素\\react组件\\或是返回组件的函数|''|\n|container|目标容器|DOM元素\\react组件\\或是返回组件的函数|''|\n|containerPadding|设置目标容器的内边距|number|0|\n|placement|显示位置设置|top\\left\\bottom\\right|right|\n|shouldUpdatePosition|是否需要更新位置|boolean|false|\n\n- BaseOverlay 基础悬浮组件，依赖于Portal，Position组件，继承Portal，Position组件接口。\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|show|是否显示|boolean|false|\n|rootClose|是否点击除弹出层任意地方隐藏|boolean|true|\n|onHide|当rootClose设置为false时，可设置为隐藏方法|function|-|\n|transition|过度动画组件|component|-|\n|onEnter|开始显示时的钩子函数|function|-|\n|onEntering|显示时的钩子函数|function|-|\n|onEntered|显示完成后的钩子函数|function|-|\n|onExit|隐藏开始时的钩子函数|function|-|\n|onExiting|隐藏进行时的钩子函数|function|-|\n|onExited|隐藏结束时的钩子函数|function|-|\n\n- Overlay 悬浮组件，依赖于BaseOverlay，继承BaseOverlay的组件接口\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|show|是否显示|boolean|false|\n|rootClose|是否点击除弹出层任意地方隐藏|boolean|true|\n|onHide|当rootClose设置为false时，可设置为隐藏方法|function|-|\n|transition|过度动画组件|component|-|\n|onEnter|开始显示时的钩子函数|function|-|\n|onEntering|显示时的钩子函数|function|-|\n|onEntered|显示完成后的钩子函数|function|-|\n|onExit|隐藏开始时的钩子函数|function|-|\n|onExiting|隐藏进行时的钩子函数|function|-|\n|onExited|隐藏结束时的钩子函数|function|-|\n|placement|显示位置设置|top\\left\\bottom\\right|right|\n|placement|第二优先级显示位置设置|top\\left\\bottom\\right|right|\n\n- OverlayTrigger 挂载组件，依赖Overlay组件，继承Overlay组件的接口\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|trigger|触发叠加层的事件|click/hover/focus|hover/focus|\n|delay|叠加层显示和隐藏的延迟时间|number|-|\n|delayShow|叠加层显示的延迟时间|number|-|\n|delayHide|叠加层隐藏的延迟时间|number|-|\n|defaultOverlayShown|覆盖Overlay设置的默认显隐状态|boolean|false|\n|overlay|叠加层|element/string/function|-|\n|onBlur|失去焦点触发的时间|function|-|\n|onClick|点击事件|function|-|\n|onFocus|焦点事件|function|-|\n|onMouseOut|鼠标离开事件|function|-|\n|onMouseOver|鼠标滑过事件|function|-|\n|popData|trigger的自定义属性，例如 `{\"data-name\":\"lucian\",\"data-sex\":\"man\"}`，属性名不能和其它属性名重复，否则会被覆盖|Object|-|\n\n\n- RootCloseWrapper 代理外部组件事件\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|onRootClose|关闭时触发的方法|function|-|\n|children|内部包含元素|DOM元素|-|\n|disabled|是否禁用|boolean|-|\n|event|触发事件|click/mousedown|click|\n\n- Affix 固定定位组件\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|offsetTop|到屏幕顶部像素|number|-|\n|viewportOffsetTop|到窗口的偏移像素|number|-|\n|offsetBottom|到屏幕的底部的偏移像素|number|-|\n|topClassName|在顶部时添加的class|class|-|\n|topStyle|在顶部添加的style|style|-|\n|affixClassName|当固定定位时，添加的class|class|-|\n|affixStyle|当固定定位时，添加的style|style|-|\n|bottomClassName|在底部时添加的class|class|-|\n|bottomStyle|在底部时添加的style|style|-|\n|onAffix|在affixstyle和affixClassName添加之前的钩子函数|function|-|\n|onAffixed|在affixstyle和affixClassName添加之后的钩子函数|function|-|\n|onAffixTop|在topStyle和topClassName添加之前的钩子函数|function|-|\n|onAffixedTop|在topStyle和topClassName添加之后的钩子函数|function|-|\n|onAffixBottom|在bottomStyle和bottomClassName添加之前的钩子函数|function|-|\n|onAffixedBottom|在bottomStyle和bottomClassName添加之后的钩子函数|function|-|\n\n\n\n\n- AutoAffix 对Affix进行包装，提供自动计算偏移量，因为包装Affix，包含所有Affix组件的接口\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|container|容器元素|DOM元素\\React组件\\或者返回React组件的函数|---:|\n|autoWidth|是否自适应宽度|boolean|---:|\n\n\n- BaseModal 模态框，建立在Protal之上，包含所有Protal组件接口\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|show|是否显示|boolean|false|\n|container|容器|DOM元素\\React组件\\或者返回React组件的函数|-|\n|onShow|当模态框显示时的钩子函数|function|-|\n|onHide|当模态框关闭时的钩子函数|function|-|\n|backdrop|显示时，是否包含背景|boolean|true|\n|renderBackdrop|返回背景元素的函数|function|-|\n|onEscapeKeyUp|响应ESC键时的钩子函数|function|-|\n|onBackdropClick|点击背景元素的函数|function|-|\n|backdropStyle|添加到背景元素的style|function|-|\n|backdropClassName|添加到背景元素的class|function|-|\n|containerClassName|添加到外部容器的class|function|-|\n|keyboard|ESC键是否关闭模态框|boolean|true|\n|transition|动画组件|function|-|\n|dialogTransitionTimeout|设置动画超时时间|function|-|\n|backdropTransitionTimeout|设置背景动画超时时间|function|-|\n|autoFocus|显示时是否自动设置焦点|function|-|\n|enforceFocus|不让焦点离开模态框|function|-|\n|onEnter|模态框显示时的钩子函数|function|-|\n|onEntering|模态框进入中的钩子函数|function|-|\n|onEntered|模态框显示后的钩子函数|function|-|\n|onExit|模态框关闭时的钩子函数|function|-:|\n|onExiting|模态框关闭中的钩子函数|function|-|\n|onExited|模态框关闭后的钩子函数|function|-|\n|manager|管理模态框状态的组件|required|-|\n\n- Transtion\n\n|参数|说明|类型|默认值|\n|:--|:---:|:--:|---:|\n|in|是否触发动画|boolean|false|\n|unmountOnExit|不显示的时候是否销毁组件|boolean:|false|\n|transitionAppear|默认显示是否加载动画|boolean|false|\n|timeout|超时时间|number|5000|\n|exitedClassName|退出动画时添加的class|class|-|\n|exitingClassName|退出组件中添加的class|class|-|\n|enteredClassName|进入动画时添加的class|class|-|\n|enteringClassName|进入动画中添加的class|class|-|\n|onEnter|动画显示时的钩子函数|function|空函数|\n|onEntering|动画进入中的钩子函数|function|空函数|\n|onEntered|动画显示后的钩子函数|function|空函数|\n|onExit|动画关闭时的钩子函数|function|空函数|\n|onExiting|动画关闭中的钩子函数|function|空函数|\n|onExited|动画关闭后的钩子函数|function|空函数|\n\n#### 开发调试\n\n```sh\n$ git clone https://github.com/tinper-bee/bee-overlay-modal\n$ cd bee-overlay-modal\n$ npm install\n$ npm run dev\n```\n","readmeFilename":"README.md"}