# bdos-ui

> ## 说明 根据业务实际情况,封装的`React`组件库, 主要针对本公司业务.

Latest version **0.0.4** (published 2016-08-11) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bdos-ui
pnpm add bdos-ui
yarn add bdos-ui
bun add bdos-ui
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2016-08-11 |
| First published | 2016-07-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 25 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | zhongxia |
| Maintainers | zhongxia |
| Keywords | react, react component, bdos-ui |

## Links

- npm: https://www.npmjs.com/package/bdos-ui
- Repository: https://github.com/zhongxia245/bdos-ui
- Homepage: https://github.com/zhongxia245/bdos-ui#readme
- Issues: https://github.com/zhongxia245/bdos-ui/issues
- npm.io page: https://npm.io/package/bdos-ui

## Dependencies (25)

- [d3](https://npm.io/package/d3.md) ^3.5.11
- [npm](https://npm.io/package/npm.md) ^3.9.5
- [less](https://npm.io/package/less.md) ^2.6.0
- [react](https://npm.io/package/react.md) ^0.14.3
- [bfd-ui](https://npm.io/package/bfd-ui.md) ^0.7.1
- [history](https://npm.io/package/history.md) ^1.17.0
- [install](https://npm.io/package/install.md) ^0.8.1
- [warning](https://npm.io/package/warning.md) ^2.1.0
- [react-dom](https://npm.io/package/react-dom.md) ^0.14.3
- [classnames](https://npm.io/package/classnames.md) ^2.2.3
- [css-loader](https://npm.io/package/css-loader.md) ^0.23.0
- [sortablejs](https://npm.io/package/sortablejs.md) ^1.4.2
- [file-loader](https://npm.io/package/file-loader.md) ^0.8.5
- [json-loader](https://npm.io/package/json-loader.md) ^0.5.4
- [less-loader](https://npm.io/package/less-loader.md) ^2.2.2
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^6.3.5
- [font-awesome](https://npm.io/package/font-awesome.md) ^4.6.3
- [react-router](https://npm.io/package/react-router.md) ^1.0.2
- [style-loader](https://npm.io/package/style-loader.md) ^0.13.0
- [bfd-bootstrap](https://npm.io/package/bfd-bootstrap.md) 0.0.22
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^0.8.2
- [react-addons-update](https://npm.io/package/react-addons-update.md) ^0.14.8
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) ^6.4.3
- [react-addons-pure-render-mixin](https://npm.io/package/react-addons-pure-render-mixin.md) ^0.14.7
- [react-addons-css-transition-group](https://npm.io/package/react-addons-css-transition-group.md) ^0.14.7

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2016-08-11
- 0.0.3 — 2016-08-11
- 0.0.1 — 2016-07-23

## README

# bdos-ui

## 说明 
根据业务实际情况,封装的`React`组件库, 主要针对本公司业务. 

### 1. 如何使用?

**安装bdos-ui组件库**
```
npm install bdos-ui
```

### 2. 如何发布到npm库
```
npm run release
```

### 3. 如何部署组件展示说明网站
```
npm run pack  //会在根目录生成  site_dist 目录,把该目录上传到web服务器下即可 
```

### 4.  如何把组件编译成ES5
```
npm run compile
```

### 5. 如何创建新组件
```
npm run create ComponentName  //会生成组件基本脚手架 和 相关文档说明
```


react使用例子
```
import React from 'react'
import message from 'bdos-ui/lib/message'
import TreeSelect from 'bdos-ui/lib/treeselect'

class Demo extends React.Component{
    constructor()prop){
      super(prop);
      this.state = {
      	data:[{id:1,name:'demo'},{id:2,name:'demo2'}]
      };
      
      this.handleClick = this.handleClick.bind(this);
    }
    
    handleClick(e){
      message.success('弹出提示信息');
    }
    
	render(){
		return (
			<div>
				<TreeSelect data={this.state.data}/>
				<button onClick={this.handleClick}>Click Me!</button>
			</div>
		)
	}
}
```


## 更新日志
时间 				 | 版本号        | 更新内容        |
 -------------------| :----------: | -------------: |
 2016-08-12 05:54:42 | 0.0.3 | 清除未使用的组件,组件文件夹名称改成帕斯卡命名法,添加布局组件 
 2016-08-08 23:54:24 | 0.0.2 | 增加了组件, 并且编译成 es5 , 组件还在整理【待完善】
 2016-07-23 17:07:48  | 0.0.1 | 初始化bdos-ui

---
_Source: https://npm.io/package/bdos-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
