demo修改

This commit is contained in:
liushaozhen 2019-03-21 10:02:36 +08:00
parent f18d420e91
commit 4f0325233f
8 changed files with 9448 additions and 891 deletions

View File

@ -22,13 +22,13 @@ hue-6-2: #e6c07b
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
color: #424242;
background: #FAFAFA;
}
.hljs-comment,
.hljs-quote {
color: #5c6370;
color: #424242;
font-style: italic;
}
@ -94,3 +94,129 @@ hue-6-2: #e6c07b
.hljs-link {
text-decoration: underline;
}
.component-demo .u-panel {
padding: 18px 20px;
border: 1px solid #F0F0F0;
}
.component-demo .u-panel-default .u-panel-heading{
background-color: #fff;
padding: 0;
position: relative;
margin-bottom: 20px;
}
.component-demo p{
margin: 0;
font-size: 14px;
}
.component-demo .component-title{
font-size: 14px;
font-weight: bold;
}
.component-demo .component-code{
position: absolute;
right: 0;
top: 0;
color: #E14C46;
font-size: 14px;
cursor: pointer;
}
.component-demo .u-panel .u-panel-body{
padding: 0;
}
.component-drawerc .pre-js,.component-drawerc .pre-css{
margin: 0;
}
.component-drawerc .drawer-body {
padding: 20px 20px;
}
.component-drawerc .component-code-copy {
font-size: 14px;
font-weight: 800;
color: #424242;
padding: 10px 0;
position: relative;
}
.component-drawerc .component-code-copy .uf-copy::before{
content: "\e6fc";
}
.component-drawerc .component-code-copy .uf{
font-weight: 100;
}
.component-drawerc .component-code-copy.copy-css{
margin-top: 20px;
}
.component-drawerc .component-code-copy .u-clipboard{
position: absolute;
right: 0;
}
/* 抽屉组件样式覆盖 */
.component-drawerc{
position: fixed;
top: 0;
left: 0;
z-index: 100000;
width: 0;
height: 100%;
}
.component-drawerc .drawer-mask{
background-color: rgba(0,0,0,.3);
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
transition: transform 300ms ease-in-out, opacity 300ms ease-in-out;
}
.component-drawerc .drawer-close{
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}
.component-drawerc .drawer{
position: fixed;
background-color: #fff;
transition: transform 300ms ease-in-out;
overflow: auto;
}
.component-drawerc .drawer-left{
top: 0;
left: 0;
height: 100%;
}
.component-drawerc .drawer-right{
top: 0;
right: 0;
height: 100%;
}
.component-drawerc .drawer-top{
top: 0;
left: 0;
width: 100%;
}
.component-drawerc .drawer-bottom{
bottom: 0;
left: 0;
width: 100%;
}
.component-drawerc .drawer-header{
padding: 0 20px;
border-radius: 0;
background: #E14C46;
color: #fff;
border-bottom: 1px solid #e8e8e8;
}
.component-drawerc .drawer-header-title{
margin: 0;
color: #fff;
height: 40px;
line-height: 40px;
}

View File

@ -1,76 +1,82 @@
import {Col, Row} from 'bee-layout';
import {Panel} from 'bee-panel';
import Button from 'bee-button';
import React, {Component} from 'react';
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { Con, Row, Col } from 'bee-layout';
import { Panel } from 'bee-panel';
import Drawer from 'bee-drawer';
import Clipboard from 'bee-clipboard';
import Button from '../src';
const CARET = <i className="uf uf-arrow-down"></i>;
const CARETUP = <i className="uf uf-arrow-up"></i>;
{demolist}
class Demo extends Component {
constructor(props) {
constructor(props){
super(props);
this.state = {
open: false
}
this.handleClick = this.handleClick.bind(this);
}
handleClick=()=> {
this.setState({ open: !this.state.open })
}
fCloseDrawer=()=>{
this.setState({
open: false
})
}
handleClick() {
this.setState({open: !this.state.open})
}
render() {
const {title, example, code, desc, scss_code} = this.props;
let caret = this.state.open ? CARETUP : CARET;
let text = this.state.open ? "隐藏代码" : "查看代码";
render () {
const { title, example, code, desc, scss_code } = this.props;
const header = (
<div>
{example}
<Button style={{"marginTop": "10px"}} shape="block" onClick={this.handleClick}>
{caret}
{text}
</Button>
<p className='component-title'>{ title }</p>
<p>{ desc }</p>
<span className='component-code' onClick={this.handleClick}> 查看源码 <i className='uf uf-arrow-right'/> </span>
</div>
);
return (
<Col md={12} id={title.trim()} >
<h3>{title}</h3>
<p>{desc}</p>
<Panel collapsible headerContent expanded={this.state.open} colors='bordered' header={header}
footerStyle={{padding: 0}}>
<pre><code className="hljs javascript">{code}</code></pre>
{!!scss_code ? <pre><code className="hljs css">{scss_code}</code></pre> : null}
</Panel>
</Col>
)
<Col md={12} id={title.trim()} className='component-demo'>
<Panel header={header}>
{example}
</Panel>
<Drawer className='component-drawerc' title={title} show={this.state.open} placement='right' onClose={this.fCloseDrawer}>
<div className='component-code-copy'> JS代码
<Clipboard action="copy" text={code}/>
</div>
<pre className="pre-js">
<code className="hljs javascript">{ code }</code>
</pre >
{!!scss_code ?<div className='component-code-copy copy-css'> SCSS代码
<Clipboard action="copy" text={scss_code}/>
</div>:null }
{ !!scss_code ? <pre className="pre-css">
<code className="hljs css">{ scss_code }</code>
</pre> : null }
</Drawer>
</Col>
)
}
}
class DemoGroup extends Component {
constructor(props) {
constructor(props){
super(props)
}
render() {
render () {
return (
<Row>
{DemoArray.map((child, index) => {
{DemoArray.map((child,index) => {
return (
<Demo example={child.example} title={child.title} code={child.code} scss_code={child.scss_code}
desc={child.desc} key={index}/>
)
return (
<Demo example= {child.example} title= {child.title} code= {child.code} scss_code= {child.scss_code} desc= {child.desc} key= {index}/>
)
})}
</Row>
)
})}
</Row>
)
}
}

File diff suppressed because one or more lines are too long

9505
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -2,23 +2,23 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>tinper-bee demo</title>
<title>neoui-react-button</title>
<link rel="stylesheet" href="./dist/demo.css">
<link rel="stylesheet" href="./demo/atom-one-dark.css">
<link href="//design.yonyoucloud.com/static/tinper-bee/latest/assets/tinper-bee.css" rel="stylesheet" media="screen" />
</head>
<body style="background: #eceff1">
<div id="tinperBeeDemo"></div>
<script src="//cdn.jsdelivr.net/highlight.js/9.8.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script src="//design.yonyoucloud.com/static/console-polyfill/console-polyfill.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-shim.min.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-sham.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react.development.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react-dom.development.js"></script>
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>
<script src="./dist/demo.js"></script>
<div id="tinperBeeDemo"></div>
<script src="//cdn.jsdelivr.net/highlight.js/9.8.0/highlight.min.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
<script src="//design.yonyoucloud.com/static/console-polyfill/console-polyfill.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-shim.min.js"></script>
<script src="//design.yonyoucloud.com/static/es5-shim/es5-sham.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react.production.min.js"></script>
<script src="//design.yonyoucloud.com/static/react/16.8.4/umd/react-dom.production.min.js"></script>
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>
<script src="./dist/demo.js"></script>
</body>
</html>

478
package-lock.json generated
View File

@ -95,6 +95,63 @@
"tinper-bee-core": "^2.0.24"
}
},
"bee-clipboard": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bee-clipboard/-/bee-clipboard-2.0.0.tgz",
"integrity": "sha512-Ghh5VjVeL8/8n7iZ2eshGRp8zpoQyfQX0alyiSQjhj70YA0sTG7EelLefHiNUIXl8RZrZshiFFVOnlhxzqsCVw==",
"dev": true,
"requires": {
"babel-runtime": "^6.26.0",
"bee-button": "^2.0.9",
"bee-form-control": "^2.0.1",
"bee-icon": "^1.0.10",
"bee-locale": "^0.0.12",
"bee-modal": "^2.0.0",
"bee-tooltip": "^2.0.3",
"classnames": "^2.2.5",
"clipboard": "^1.6.1",
"tinper-bee-core": "^2.0.24"
},
"dependencies": {
"babel-runtime": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
"integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
"dev": true,
"requires": {
"core-js": "^2.4.0",
"regenerator-runtime": "^0.11.0"
}
}
}
},
"bee-datepicker": {
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/bee-datepicker/-/bee-datepicker-2.0.12.tgz",
"integrity": "sha512-FTrjJhj3AqljMFuYOu33Ozg3UpfAcLa0/3bmXmpgxVhZ7QZbF9KanwMn+6yGQe6m6m2C8UwL6jpMCDn1+0fv0Q==",
"dev": true,
"requires": {
"bee-button": "^2.0.9",
"bee-form-control": "^2.0.1",
"bee-input-group": "^2.0.1",
"classnames": "^2.2.5",
"moment": "^2.17.1",
"rc-time-picker": "^3.1.0",
"tinper-bee-core": "^2.0.24"
}
},
"bee-drawer": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/bee-drawer/-/bee-drawer-0.0.2.tgz",
"integrity": "sha512-w8C4XTpiD1AYuxBDQucvFLEMCfptDqccwaNll+CWF2Tx7BGgRlzxSFbcRxSkMqa2GP3cLfBEup+W1+GKA7wvPw==",
"dev": true,
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.6",
"react-transition-group": "^2.6.1",
"tinper-bee-core": "^2.0.24"
}
},
"bee-form-control": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/bee-form-control/-/bee-form-control-2.0.1.tgz",
@ -119,6 +176,27 @@
"tinper-bee-core": "^2.0.24"
}
},
"bee-input-group": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/bee-input-group/-/bee-input-group-2.0.1.tgz",
"integrity": "sha512-k80QBWSaPuNYm96zk7Az0BFdAMVurc8Z/sSviJfREIAXAwHHPqgr2YeC/cWjGNEpeawWg49VBF/9fkNy4hskag==",
"dev": true,
"requires": {
"bee-input-group-addon": "^1.0.0",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
},
"bee-input-group-addon": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/bee-input-group-addon/-/bee-input-group-addon-1.0.0.tgz",
"integrity": "sha512-KiiXrNkmV/dayezbTxu7Diu4klu5+HpIV0EdzYVvz20fHypgM2REDvJEpmuEvD4sNgDHd5jQH5ZC1plB7LRBhg==",
"dev": true,
"requires": {
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
},
"bee-layout": {
"version": "1.2.7",
"resolved": "https://registry.npmjs.org/bee-layout/-/bee-layout-1.2.7.tgz",
@ -129,6 +207,56 @@
"tinper-bee-core": "^2.0.24"
}
},
"bee-loading": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/bee-loading/-/bee-loading-1.0.6.tgz",
"integrity": "sha512-zdfoW7W+LhpaMVFrfP1t3LBvoZ3KjeF5udpxIf0NCzicYF+ZjFV1sCSWzTkfz5JCqbBJZPOaTXW85obMJVWbJg==",
"dev": true,
"requires": {
"bee-icon": "^1.0.10",
"bee-overlay": "^1.0.2",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
},
"bee-locale": {
"version": "0.0.12",
"resolved": "https://registry.npmjs.org/bee-locale/-/bee-locale-0.0.12.tgz",
"integrity": "sha512-2TpBQdqLUm9iR8nfV9TnxB4RNdyKKhxhveyY34Q/utWiup/JVb7Z0xHWfFQI7qNLsNGgj3dNqgF1ofZyNCuLFQ==",
"dev": true,
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
},
"bee-menus": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/bee-menus/-/bee-menus-2.0.4.tgz",
"integrity": "sha512-3/3lLXezobnnJC0Bt6qjcxIGzGYc1wYGiCuh0zVkEwlHLFZZ2AAl8bnKecgEVCIopG+291zbCc3QhVSzOzif+A==",
"dev": true,
"requires": {
"babel-runtime": "6.x",
"bee-animate": "^1.0.0",
"classnames": "^2.2.5",
"dom-scroll-into-view": "^1.2.1",
"mini-store": "^2.0.0",
"mutationobserver-shim": "^0.3.3",
"rc-trigger": "^2.6.2",
"rc-util": "^4.6.0",
"react-addons-test-utils": "15.3.2",
"resize-observer-polyfill": "^1.5.1",
"tinper-bee-core": "^2.0.24"
},
"dependencies": {
"react-addons-test-utils": {
"version": "15.3.2",
"resolved": "https://registry.npmjs.org/react-addons-test-utils/-/react-addons-test-utils-15.3.2.tgz",
"integrity": "sha1-wJpE9YNCWkqcGzhETXpsPm8PQfY=",
"dev": true
}
}
},
"bee-message": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bee-message/-/bee-message-2.0.0.tgz",
@ -141,6 +269,42 @@
"tinper-bee-core": "^2.0.24"
}
},
"bee-modal": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bee-modal/-/bee-modal-2.0.0.tgz",
"integrity": "sha512-wThvkAl/boqHlS3QWXcXglGbkVs24/aMMiWJcsuQAPMu5aReTM70k0Vl7NqFZ0Pj1PtlP2UMFpiPVomlpnxtkA==",
"dev": true,
"requires": {
"bee-datepicker": "^2.0.6",
"bee-loading": "^1.0.4",
"bee-overlay": "^1.0.2",
"bee-popconfirm": "^2.0.0",
"bee-select": "^2.0.4",
"bee-transition": "^0.2.2",
"classnames": "^2.2.5",
"dom-helpers": "3.0.0",
"tinper-bee-core": "^2.0.24"
},
"dependencies": {
"bee-transition": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/bee-transition/-/bee-transition-0.2.4.tgz",
"integrity": "sha1-wwBNv1M5nUYnVu4Yn5TkmV3C0Xc=",
"dev": true,
"requires": {
"classnames": "^2.2.5",
"dom-helpers": "^3.0.0",
"tinper-bee-core": "^2.0.24"
}
},
"dom-helpers": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.0.0.tgz",
"integrity": "sha1-EkhpzqPwnb/4Qlb+3n82YWzP7iM=",
"dev": true
}
}
},
"bee-notification": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bee-notification/-/bee-notification-2.0.0.tgz",
@ -213,6 +377,62 @@
}
}
},
"bee-popconfirm": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/bee-popconfirm/-/bee-popconfirm-2.0.0.tgz",
"integrity": "sha512-cja076sh+ApAqHwVBZBLd8IN00+HK8mmtmgkdKFj09vjF5TjB1S+4RBfeZfkOBT37gr8xM4mo78K95yI8BcbVA==",
"dev": true,
"requires": {
"babel-runtime": "^6.20.0",
"bee-locale": "^0.0.2",
"bee-overlay": "^1.0.22",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
},
"dependencies": {
"bee-locale": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/bee-locale/-/bee-locale-0.0.2.tgz",
"integrity": "sha1-fPsA15n3Ze4ceA4GRn5yx+9GtaE=",
"dev": true,
"requires": {
"babel-runtime": "^6.23.0",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
}
}
},
"bee-select": {
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/bee-select/-/bee-select-2.0.8.tgz",
"integrity": "sha512-byRzi13rbGfAg+ELRWBLyRNgqxY+3Qwpse4cxMBGLjG9dHxcHPMzA0FnWWIVP/bpntEF9CyFN+YvWwI25Y4jkQ==",
"dev": true,
"requires": {
"bee-animate": "^1.0.0",
"bee-menus": "^2.0.2",
"bee-overlay": "^1.0.4",
"classnames": "^2.2.5",
"component-classes": "1.x",
"dom-scroll-into-view": "1.x",
"rc-menu": "^7.4.19",
"react-lifecycles-compat": "^3.0.4",
"tinper-bee-core": "^2.0.24",
"warning": "^3.0.0"
}
},
"bee-tooltip": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/bee-tooltip/-/bee-tooltip-2.0.3.tgz",
"integrity": "sha512-+QJcalbo8EeXyYz0hPH95p8/P8fnoE5FTxkc4kviQixpgk9OeAQHQhXCt7Cwld5js7+dHUZN/0uFYWQ/3nicrA==",
"dev": true,
"requires": {
"babel-runtime": "^6.20.0",
"bee-overlay": "^1.0.20",
"classnames": "^2.2.5",
"tinper-bee-core": "^2.0.24"
}
},
"bee-transition": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/bee-transition/-/bee-transition-1.0.0.tgz",
@ -305,6 +525,17 @@
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
},
"clipboard": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-1.7.1.tgz",
"integrity": "sha1-Ng1taUbpmnof7zleQrqStem1oWs=",
"dev": true,
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
"tiny-emitter": "^2.0.0"
}
},
"component-classes": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/component-classes/-/component-classes-1.2.6.tgz",
@ -378,6 +609,16 @@
"object-assign": "^4.1.1"
}
},
"css-animation": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/css-animation/-/css-animation-1.5.0.tgz",
"integrity": "sha512-hWYoWiOZ7Vr20etzLh3kpWgtC454tW5vn4I6rLANDgpzNSkO7UfOqyCEeaoBSG9CYWQpRkFWTWbWW8o3uZrNLw==",
"dev": true,
"requires": {
"babel-runtime": "6.x",
"component-classes": "^1.2.5"
}
},
"css-select": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
@ -444,6 +685,12 @@
"object-keys": "^1.0.12"
}
},
"delegate": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==",
"dev": true
},
"depd": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
@ -470,6 +717,12 @@
"@babel/runtime": "^7.1.2"
}
},
"dom-scroll-into-view": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-1.2.1.tgz",
"integrity": "sha1-6PNnMt0ImwIBqI14Fdw/iObWbH4=",
"dev": true
},
"dom-serializer": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
@ -695,6 +948,15 @@
"is-callable": "^1.1.3"
}
},
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
"integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=",
"dev": true,
"requires": {
"delegate": "^3.1.2"
}
},
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@ -710,6 +972,12 @@
"integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=",
"dev": true
},
"hoist-non-react-statics": {
"version": "2.5.5",
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz",
"integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw==",
"dev": true
},
"htmlparser2": {
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz",
@ -797,6 +1065,12 @@
"has-symbols": "^1.0.0"
}
},
"ismobilejs": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/ismobilejs/-/ismobilejs-0.5.1.tgz",
"integrity": "sha512-QX4STsOcBYqlTjVGuAdP1MiRVxtiUbRHOKH0v7Gn1EvfUVIQnrSdgCM4zB4VCZuIejnb2NUMUx0Bwd3EIG6yyA==",
"dev": true
},
"isomorphic-fetch": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
@ -817,6 +1091,12 @@
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
"dev": true
},
"lodash._getnative": {
"version": "3.9.1",
"resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz",
"integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=",
"dev": true
},
"lodash.assignin": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/lodash.assignin/-/lodash.assignin-4.2.0.tgz",
@ -853,11 +1133,34 @@
"integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM=",
"dev": true
},
"lodash.isarguments": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
"integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=",
"dev": true
},
"lodash.isarray": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz",
"integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=",
"dev": true
},
"lodash.isequal": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
"integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA="
},
"lodash.keys": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
"integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
"dev": true,
"requires": {
"lodash._getnative": "^3.0.0",
"lodash.isarguments": "^3.0.0",
"lodash.isarray": "^3.0.0"
}
},
"lodash.map": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz",
@ -947,12 +1250,44 @@
"mime-db": "~1.38.0"
}
},
"mini-store": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/mini-store/-/mini-store-2.0.0.tgz",
"integrity": "sha512-EG0CuwpQmX+XL4QVS0kxNwHW5ftSbhygu1qxQH0pipugjnPkbvkalCdQbEihMwtQY6d3MTN+MS0q+aurs+RfLQ==",
"dev": true,
"requires": {
"hoist-non-react-statics": "^2.3.1",
"prop-types": "^15.6.0",
"react-lifecycles-compat": "^3.0.4",
"shallowequal": "^1.0.2"
},
"dependencies": {
"shallowequal": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
"integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==",
"dev": true
}
}
},
"moment": {
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
"integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==",
"dev": true
},
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
},
"mutationobserver-shim": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.3.tgz",
"integrity": "sha512-gciOLNN8Vsf7YzcqRjKzlAJ6y7e+B86u7i3KXes0xfxx/nfLmozlW1Vn+Sc9x3tPIePFgc1AeIFhtRgkqTjzDQ==",
"dev": true
},
"negotiator": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
@ -1051,6 +1386,12 @@
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",
"dev": true
},
"performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=",
"dev": true
},
"promise": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
@ -1086,6 +1427,15 @@
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==",
"dev": true
},
"raf": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
"integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
"dev": true,
"requires": {
"performance-now": "^2.1.0"
}
},
"range-parser": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
@ -1115,6 +1465,89 @@
}
}
},
"rc-align": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/rc-align/-/rc-align-2.4.5.tgz",
"integrity": "sha512-nv9wYUYdfyfK+qskThf4BQUSIadeI/dCsfaMZfNEoxm9HwOIioQ+LyqmMK6jWHAZQgOzMLaqawhuBXlF63vgjw==",
"dev": true,
"requires": {
"babel-runtime": "^6.26.0",
"dom-align": "^1.7.0",
"prop-types": "^15.5.8",
"rc-util": "^4.0.4"
}
},
"rc-animate": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/rc-animate/-/rc-animate-2.6.0.tgz",
"integrity": "sha512-JXDycchgbOI+7T/VKmFWnAIn042LLScK1fNkmNunb0jz5q5aPGCAybx2bTo7X5t31Jkj9OsxKNb/vZPDPWufCg==",
"dev": true,
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.6",
"css-animation": "^1.3.2",
"prop-types": "15.x",
"raf": "^3.4.0",
"react-lifecycles-compat": "^3.0.4"
}
},
"rc-menu": {
"version": "7.4.21",
"resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-7.4.21.tgz",
"integrity": "sha512-TfcwybKLuw2WhEkplYH7iFMGlDbH6KhPcd+gv5J2oLQcgiGeUECzyOWSVaFRRlkpB7g2eNzXbha/AXN/Xyzvnw==",
"dev": true,
"requires": {
"babel-runtime": "6.x",
"classnames": "2.x",
"dom-scroll-into-view": "1.x",
"ismobilejs": "^0.5.1",
"mini-store": "^2.0.0",
"mutationobserver-shim": "^0.3.2",
"prop-types": "^15.5.6",
"rc-animate": "2.x",
"rc-trigger": "^2.3.0",
"rc-util": "^4.1.0",
"resize-observer-polyfill": "^1.5.0"
}
},
"rc-time-picker": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/rc-time-picker/-/rc-time-picker-3.6.2.tgz",
"integrity": "sha512-SyGEVXO0ImeG2mz+7fkVmDoVM0+OrX6uYGpKYijNr/lAah7c5p310ZR6fVrblXOl4TpqVnfWR67RMJ3twAyM7w==",
"dev": true,
"requires": {
"classnames": "2.x",
"moment": "2.x",
"prop-types": "^15.5.8",
"rc-trigger": "^2.2.0"
}
},
"rc-trigger": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-2.6.2.tgz",
"integrity": "sha512-op4xCu95/gdHVaysyxxiYxbY+Z+UcIBSUY9nQfLqm1FlitdtnAN+owD5iMPfnnsRXntgcQ5+RdYKNUFQT5DjzA==",
"dev": true,
"requires": {
"babel-runtime": "6.x",
"classnames": "^2.2.6",
"prop-types": "15.x",
"rc-align": "^2.4.0",
"rc-animate": "2.x",
"rc-util": "^4.4.0"
}
},
"rc-util": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/rc-util/-/rc-util-4.6.0.tgz",
"integrity": "sha512-rbgrzm1/i8mgfwOI4t1CwWK7wGe+OwX+dNa7PVMgxZYPBADGh86eD4OcJO1UKGeajIMDUUKMluaZxvgraQIOmw==",
"dev": true,
"requires": {
"add-dom-event-listener": "^1.1.0",
"babel-runtime": "6.x",
"prop-types": "^15.5.10",
"shallowequal": "^0.2.2"
}
},
"react": {
"version": "16.8.3",
"resolved": "https://registry.npmjs.org/react/-/react-16.8.3.tgz",
@ -1151,6 +1584,24 @@
"integrity": "sha512-PVadd+WaUDOAciICm/J1waJaSvgq+4rHE/K70j0PFqKhkTBsPv/82UGQJNXAngz1fOQLLxI6z1sEDmJDQhCTAA==",
"dev": true
},
"react-lifecycles-compat": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==",
"dev": true
},
"react-transition-group": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.6.1.tgz",
"integrity": "sha512-9DHwCy0aOYEe35frlEN68N9ut/THDQBLnVoQuKTvzF4/s3tk7lqkefCqxK2Nv96fOh6JXk6tQtliygk6tl3bQA==",
"dev": true,
"requires": {
"dom-helpers": "^3.3.1",
"loose-envify": "^1.4.0",
"prop-types": "^15.6.2",
"react-lifecycles-compat": "^3.0.4"
}
},
"readable-stream": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.2.0.tgz",
@ -1167,6 +1618,12 @@
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
},
"resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==",
"dev": true
},
"right-pad": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/right-pad/-/right-pad-1.0.1.tgz",
@ -1194,6 +1651,12 @@
"object-assign": "^4.1.1"
}
},
"select": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz",
"integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=",
"dev": true
},
"send": {
"version": "0.16.2",
"resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
@ -1238,6 +1701,15 @@
"integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==",
"dev": true
},
"shallowequal": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-0.2.2.tgz",
"integrity": "sha1-HjL9W8q2rWiKSBLLDMBO/HXHAU4=",
"dev": true,
"requires": {
"lodash.keys": "^3.1.2"
}
},
"statuses": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
@ -1265,6 +1737,12 @@
"warning": "^3.0.0"
}
},
"tiny-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.1.0.tgz",
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
"dev": true
},
"toggle-selection": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",

View File

@ -49,11 +49,13 @@
"prop-types": "15.6.0"
},
"devDependencies": {
"bee-form-control": "latest",
"bee-button": "latest",
"bee-clipboard": "^2.0.0",
"bee-drawer": "0.0.2",
"bee-form-control": "latest",
"bee-icon": "latest",
"bee-layout": "latest",
"bee-panel": "latest",
"bee-icon": "latest",
"chai": "^3.5.0",
"console-polyfill": "~0.2.1",
"cz-conventional-changelog": "^2.1.0",