@kopkong/web-ui
v1.0.15
Published
WEB UI Library used in greenhouse projects.
Downloads
5
Readme
WebUI
Greenhouse UI库。可用组件有(v0.7.2):
- Action Button
- Button
- Calendar
- Checkbox
- Confirm
- Context Menu
- Control Box(Form Control的容器)
- Cropper(图片裁剪)
- Dialog
- Drop Down(下拉列表)
- Grid
- Icon
- Input File
- List
- Loading
- Location(省市区选择)
- Message(从页面底部或上部弹出的消息,同一时间只有一个存在)
- Modal
- Notification(从右上角弹出的通知,可以同时有多个一起存在)
- Radio
- Search
- Step
- Switch
- Tab
- Tooltip
项目目录
-- demo UI库示例代码
-- src UI库源代码
命令行
编译打包示例项目: npm run build 发布部署示例项目:npm run deploy 打包Angular库: npm run build:lib
发布/引用 UI库
- 打包为Angular库之后,切换到publish分支,运行
node publish.js
。 - 在需要引用UI库的项目中添加依赖
"web-ui": "git+https://bitbucket.honeywell.com/scm/grhse/webui.git#publish"