Skip to content

Commit

Permalink
update version info for 0.12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
EarlyH committed Mar 10, 2019
1 parent 8e54424 commit 02e9bf9
Show file tree
Hide file tree
Showing 312 changed files with 12,824 additions and 8,348 deletions.
50 changes: 49 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,53 @@
# CHANGELOG

## 0.12.6

`2019年3月10日`

#### 新特性

- 新增`ui-backtop`回到顶部组件
- `ui-datetimepicker`新增`getDate()`方法
- `ui-timepicker``ui-datepicker``ui-datetimepicker`组件新增`relative`配置,支持通过相对日期时间表达式选择日期和时间
- `ui-tip``ui-popover``trigger`配置新增`rclick`选项,可用于鼠标右键触发

#### 改进

- 优化`ui-grid`的样式文件大小
- `ui-sticky`组件现在有了默认的`z-index`值(为组件库全局初始`z-index`值减1)
- 移除了`ui-tip`组件的最大宽度限制

#### 修复

- 修复`ui-calendar`组件的`getDate`方法取值不正确的问题
- 修复`ui-grid`中的一个样式问题
- 修复`ui-calendar``ui-timepicker``ui-datepicker`文档中的一些问题
- 修复`ui-checkbox``ui-radio`文档中`形态`部分内容无法显示的问题
- 修复`ui-multiinput`组件当处于禁用状态且没有值时,高度错误的问题

#### 更多

- `ui-textleft``ui-textcenter``ui-textright`已经不再推荐使用
- 依赖库`tether`替换为`popper`,因为`tether`已经不再维护
- `date-fns`升级至`2.0.0-alpha.27`
- `css-loader`升级至`2.1.0`
- `github-markdown-css`升级至`3.0.1`
- `less`升级至`3.9.0`
- `postcss-les`升级至`3.1.1`
- `postcss-loader`升级至`3.0.0`

__升级注意事项__

- `ui-datepicker``ui-datetimepicker``ui-time`组件的`format`配置格式改变:
- `YYYY``yyyy`替代,`DD``dd`替代,因为`YYYY``DD`是一个不佳的用法(详见[date-fns: Popular mistakes](https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md#popular-mistakes)
- `d``i`替代,`do``io`替代,`dd``iiiiii`替代,`ddd``iii`替代,`dddd``iiii`,且开始日期从周一开始
- `DDD``D`替代,`DDDo``Do`替代,`DDDD``DDD`替代
- `A``a`替代,`DDDo``Do`替代,`DDDD``DDD`替代
- `ui-grid`中的`.col-[n]`元素现在从`display:flex`变为了`display:block`,这会导致子元素的排列方式改变(从横向排列变为垂直)
- `ui-textleft``ui-textcenter``ui-textright`已经不再推荐使用,替代方案详见组件文档
- `ui-tip`的默认最大宽度限制被移除,现在如果内容过宽,需要在`slot`中的元素上设置额外的样式来解决
- `ui-tip``ui-popover`组件`offset`配置现在通过`,`(逗号)来分割两个偏移量,同时第一位改为左右偏移量,第二位改为上下偏移量

## 0.12.5

`2019年3月4日`
Expand All @@ -13,7 +61,7 @@

- 统一`ui-message``ui-load`组件中含义类似的配置名(`time``close-time`现在统一为`done-time`)

<ui-label color="primary">升级注意事项</ui-label>
__升级注意事项__

- `ui-message`组件的`close-time`配置改名为`done-time`
- `ui-load`组件的`time` 配置改名为`done-time`
Expand Down
2 changes: 1 addition & 1 deletion dist/morning-ui.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/morning-ui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/guide/logs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "morning-ui",
"version": "0.12.5",
"version": "0.12.6",
"description": "modern efficient user interface, using human-friendly HTML",
"main": "dist/morning-ui.js",
"style": "dist/morning-ui.css",
Expand Down
278 changes: 152 additions & 126 deletions report/coverage/index.html

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions report/coverage/lib/common/form.js.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion report/coverage/lib/common/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 02e9bf9

Please sign in to comment.