Skip to content

Commit

Permalink
chore(*): Release-1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Dec 5, 2018
1 parent 5926fd4 commit feede20
Show file tree
Hide file tree
Showing 14 changed files with 139 additions and 74 deletions.
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
# Change Log
# Change Log

<a name="1.11.0"></a>
# [1.11.0](https://github.com/alibaba-fusion/next/compare/1.10.3...1.11.0) (2018-12-05)


### Features

* **Select/Input/Message:** rtl supported in Select/Input/Message ([3bb15c8](https://github.com/alibaba-fusion/next/commit/3bb15c8))
* **Affix:** implement affix by {position: absolute} ([da3e3ec](https://github.com/alibaba-fusion/next/commit/da3e3ec))
* **Balloon:** support rtl ([64522d1](https://github.com/alibaba-fusion/next/commit/64522d1))
* **Button:** support rtl ([d863787](https://github.com/alibaba-fusion/next/commit/d863787))
* **Calendar:** support rtl ([d1c1e44](https://github.com/alibaba-fusion/next/commit/d1c1e44))
* **ConfigProvider:** config-provider support rtl ([e91591a](https://github.com/alibaba-fusion/next/commit/e91591a))
* **ConfigProvider:** support set global rtl ([622dda4](https://github.com/alibaba-fusion/next/commit/622dda4))
* **DatePicker:** support rtl ([2d140fb](https://github.com/alibaba-fusion/next/commit/2d140fb))
* **Dialog:** add rtl support ([bd3a66e](https://github.com/alibaba-fusion/next/commit/bd3a66e))
* **Icon:** support rtl ([027fa40](https://github.com/alibaba-fusion/next/commit/027fa40)) ([fc5c02b](https://github.com/alibaba-fusion/next/commit/fc5c02b))
* **Menu:** support rtl ([5241d7b](https://github.com/alibaba-fusion/next/commit/5241d7b))
* **Nav:** support rtl ([923593a](https://github.com/alibaba-fusion/next/commit/923593a))
* **Overlay:** add rtl prop for overlay ([6d77142](https://github.com/alibaba-fusion/next/commit/6d77142)) ([e5630de](https://github.com/alibaba-fusion/next/commit/e5630de))
* **Pagination:** support rtl ([d34959c](https://github.com/alibaba-fusion/next/commit/d34959c))
* **Progress:** add color & backgroundColor props ([1e9cd94](https://github.com/alibaba-fusion/next/commit/1e9cd94))
* **Progress:** add rtl support ([cbe6747](https://github.com/alibaba-fusion/next/commit/cbe6747))
* **Radio:** support rtl ([6a906a9](https://github.com/alibaba-fusion/next/commit/6a906a9))
* **Search:** add rtl to search ([931729a](https://github.com/alibaba-fusion/next/commit/931729a))
* **Slider:** support rtl ([c7416ab](https://github.com/alibaba-fusion/next/commit/c7416ab))
* **Step:** support rtl ([a0645a0](https://github.com/alibaba-fusion/next/commit/a0645a0))
* **Timeline:** support rtl ([0f3860b](https://github.com/alibaba-fusion/next/commit/0f3860b))
* **TimePicker:** support rtl ([310155a](https://github.com/alibaba-fusion/next/commit/310155a))


<a name="1.10.3"></a>
## [1.10.3](https://github.com/alibaba-fusion/next/compare/1.10.2...1.10.3) (2018-12-05)
Expand Down
30 changes: 28 additions & 2 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Latest Log
# Latest Log

## [1.10.3](https://github.com/alibaba-fusion/next/compare/1.10.2...1.10.3) (2018-12-05)
# [1.11.0](https://github.com/alibaba-fusion/next/compare/1.10.3...1.11.0) (2018-12-05)


### Features

* **Select/Input/Message:** rtl supported in Select/Input/Message ([3bb15c8](https://github.com/alibaba-fusion/next/commit/3bb15c8))
* **Affix:** implement affix by {position: absolute} ([da3e3ec](https://github.com/alibaba-fusion/next/commit/da3e3ec))
* **Balloon:** support rtl ([64522d1](https://github.com/alibaba-fusion/next/commit/64522d1))
* **Button:** support rtl ([d863787](https://github.com/alibaba-fusion/next/commit/d863787))
* **Calendar:** support rtl ([d1c1e44](https://github.com/alibaba-fusion/next/commit/d1c1e44))
* **ConfigProvider:** config-provider support rtl ([e91591a](https://github.com/alibaba-fusion/next/commit/e91591a))
* **ConfigProvider:** support set global rtl ([622dda4](https://github.com/alibaba-fusion/next/commit/622dda4))
* **DatePicker:** support rtl ([2d140fb](https://github.com/alibaba-fusion/next/commit/2d140fb))
* **Dialog:** add rtl support ([bd3a66e](https://github.com/alibaba-fusion/next/commit/bd3a66e))
* **Icon:** support rtl ([027fa40](https://github.com/alibaba-fusion/next/commit/027fa40)) ([fc5c02b](https://github.com/alibaba-fusion/next/commit/fc5c02b))
* **Menu:** support rtl ([5241d7b](https://github.com/alibaba-fusion/next/commit/5241d7b))
* **Nav:** support rtl ([923593a](https://github.com/alibaba-fusion/next/commit/923593a))
* **Overlay:** add rtl prop for overlay ([6d77142](https://github.com/alibaba-fusion/next/commit/6d77142)) ([e5630de](https://github.com/alibaba-fusion/next/commit/e5630de))
* **Pagination:** support rtl ([d34959c](https://github.com/alibaba-fusion/next/commit/d34959c))
* **Progress:** add color & backgroundColor props ([1e9cd94](https://github.com/alibaba-fusion/next/commit/1e9cd94))
* **Progress:** add rtl support ([cbe6747](https://github.com/alibaba-fusion/next/commit/cbe6747))
* **Radio:** support rtl ([6a906a9](https://github.com/alibaba-fusion/next/commit/6a906a9))
* **Search:** add rtl to search ([931729a](https://github.com/alibaba-fusion/next/commit/931729a))
* **Slider:** support rtl ([c7416ab](https://github.com/alibaba-fusion/next/commit/c7416ab))
* **Step:** support rtl ([a0645a0](https://github.com/alibaba-fusion/next/commit/a0645a0))
* **Timeline:** support rtl ([0f3860b](https://github.com/alibaba-fusion/next/commit/0f3860b))
* **TimePicker:** support rtl ([310155a](https://github.com/alibaba-fusion/next/commit/310155a))


14 changes: 7 additions & 7 deletions docs/affix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

### Affix

| 参数 | 说明 | 类型 | 默认值 |
| ------------- | ------------------------------------------------------------------------------------------------------------------- | -------- | ------------ |
| container | 设置 Affix 需要监听滚动事件的容器元素<br><br>**签名**:<br>Function() => ReactElement<br>**返回值**:<br>{ReactElement} 目标容器元素的实例<br> | Function | () => window |
| offsetTop | 距离窗口顶部达到指定偏移量后触发 | Number | - |
| offsetBottom | 距离窗口底部达到制定偏移量后触发 | Number | - |
| onAffix | 当元素的样式发生固钉样式变化时触发的回调函数<br><br>**签名**:<br>Function(元素是否被固钉: Boolean) => void<br>**参数**:<br>_元素是否被固钉_: {Boolean} null | Function | func.noop |
| useAbsolute | 是否启用绝对布局实现 affix | Boolean | - |
| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ------------------------------------------------------------------------------------------------------------------- | -------- | ------------ |
| container | 设置 Affix 需要监听滚动事件的容器元素<br><br>**签名**:<br>Function() => ReactElement<br>**返回值**:<br>{ReactElement} 目标容器元素的实例<br> | Function | () => window |
| offsetTop | 距离窗口顶部达到指定偏移量后触发 | Number | - |
| offsetBottom | 距离窗口底部达到制定偏移量后触发 | Number | - |
| onAffix | 当元素的样式发生固钉样式变化时触发的回调函数<br><br>**签名**:<br>Function(元素是否被固钉: Boolean) => void<br>**参数**:<br>_元素是否被固钉_: {Boolean} null | Function | func.noop |
| useAbsolute | 是否启用绝对布局实现 affix | Boolean | - |
3 changes: 1 addition & 2 deletions docs/balloon/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@

| 参数 | 说明 | 类型 | 默认值 |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------- |
| pure | 是否pure render | Boolean | false |
| type | 样式类型<br><br>**可选值**:<br>'normal', 'primary' | Enum | 'normal' |
| children | 浮层的内容 | any | - |
| type | 样式类型<br><br>**可选值**:<br>'normal', 'primary' | Enum | 'normal' |
| visible | 弹层当前显示的状态 | Boolean | - |
| defaultVisible | 弹层默认显示的状态 | Boolean | false |
| onVisibleChange | 弹层在显示和隐藏触发的事件<br><br>**签名**:<br>Function(visible: Boolean) => void<br>**参数**:<br>_visible_: {Boolean} 弹层是否隐藏和显示 | Function | func.noop |
Expand Down
12 changes: 6 additions & 6 deletions docs/config-provider/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ export default config(Component);

### ConfigProvider

| 参数 | 说明 | 类型 | 默认值 |
| -------- | ----------------------------------- | ------------ | ----- |
| pure | 是否开启 Pure Render 模式,会提高性能,但是也会带来副作用 | Boolean | - |
| warning | 是否在开发模式下显示组件属性被废弃的 warning 提示 | Boolean | true |
| rtl | 是否开启 rtl 模式 | Boolean | false |
| children | 组件树 | ReactElement | - |
| 参数 | 说明 | 类型 | 默认值 |
| -------- | ----------------------------------- | ------------ | ---- |
| pure | 是否开启 Pure Render 模式,会提高性能,但是也会带来副作用 | Boolean | - |
| warning | 是否在开发模式下显示组件属性被废弃的 warning 提示 | Boolean | true |
| rtl | 是否开启 rtl 模式 | Boolean | - |
| children | 组件树 | ReactElement | - |

<!-- api-extra-start -->

Expand Down
1 change: 1 addition & 0 deletions docs/input/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
| addonBeforeClassName | 输入框前附加内容css | String | - |
| addonAfter | 输入框后附加内容 | ReactNode | - |
| addonAfterClassName | 输入框后额外css | String | - |
| rtl | rtl | Boolean | - |

## Input/TextArea 内部函数(通过refs获取)

Expand Down
4 changes: 2 additions & 2 deletions docs/overlay/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Overlay 提供了点击弹层外文档中节点隐藏该弹层的功能,如果

2. align 支持的 Boolean 值仅为 false,在设置为 false 时,不使用 JS 定位,这样你可以根据你的需要传入 style 或者 className 进行 CSS 定位。

3. rtl情况下会自动翻转 r(right)与 l(left), 例如 rtl状态下`tl bl`与 非rtl状态下`tr br`等效
下面的例子演示了如何将弹层定位到页面的右上角:
3. rtl情况下会自动翻转 r(right)与 l(left), 例如 rtl状态下`tl bl`与 非rtl状态下`tr br`等效
下面的例子演示了如何将弹层定位到页面的右上角:

```html
<Overlay visible align="tr tr"><span>123</span></Overlay>
Expand Down
21 changes: 11 additions & 10 deletions docs/progress/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@

### Progress

| 参数 | 说明 | 类型 | 默认值 |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------ |
| size | 尺寸<br><br>**可选值**:<br>'small', 'medium', 'large' | Enum | 'medium' |
| shape | 形态<br><br>**可选值**:<br>'circle', 'line' | Enum | 'line' |
| percent | 所占百分比 | Number | 0 |
| state | 进度状态, 显示优先级: color > progressive > state<br><br>**可选值**:<br>'normal', 'success', 'error' | Enum | 'normal' |
| progressive | 是否为色彩阶段变化模式, 显示优先级: color > progressive > state | Boolean | false |
| hasBorder | 是否添加 Border(只适用于 Line Progress) | Boolean | false |
| textRender | 文本渲染函数<br><br>**签名**:<br>Function(percent: Number) => ReactNode<br>**参数**:<br>_percent_: {Number} 当前的进度信息<br>**返回值**:<br>{ReactNode} 返回文本节点<br> | Function | percent => `${Math.floor(percent)}%` |
| color | 进度条颜色, 显示优先级: color > progressive > state | String | '' |
| 参数 | 说明 | 类型 | 默认值 |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------ |
| size | 尺寸<br><br>**可选值**:<br>'small', 'medium', 'large' | Enum | 'medium' |
| shape | 形态<br><br>**可选值**:<br>'circle', 'line' | Enum | 'line' |
| percent | 所占百分比 | Number | 0 |
| state | 进度状态, 显示优先级: color > progressive > state<br><br>**可选值**:<br>'normal', 'success', 'error' | Enum | 'normal' |
| progressive | 是否为色彩阶段变化模式, 显示优先级: color > progressive > state | Boolean | false |
| hasBorder | 是否添加 Border(只适用于 Line Progress) | Boolean | false |
| textRender | 文本渲染函数<br><br>**签名**:<br>Function(percent: Number, option: Object) => ReactNode<br>**参数**:<br>_percent_: {Number} 当前的进度信息<br>_option_: {Object} 额外的参数<br>**返回值**:<br>{ReactNode} 返回文本节点<br> | Function | percent => `${Math.floor(percent)}%` |
| color | 进度条颜色, 显示优先级: color > progressive > state | String | - |
| backgroundColor | 背景色 | String | - |
3 changes: 1 addition & 2 deletions docs/switch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@

| 参数 | 说明 | 类型 | 默认值 |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- |
| pure | 是否开启shouldComponentUpdate优化 | Boolean | - |
| size | switch的尺寸<br><br>**可选值**:<br>'medium'(正常大小)<br>'small'(缩小版大小) | Enum | 'medium' |
| checkedChildren | 打开时的内容 | any | - |
| size | switch的尺寸<br><br>**可选值**:<br>'medium'(正常大小)<br>'small'(缩小版大小) | Enum | 'medium' |
| unCheckedChildren | 关闭时的内容 | any | - |
| onChange | 开关状态改变是触发此事件<br><br>**签名**:<br>Function(checked: Boolean, e: Event) => void<br>**参数**:<br>_checked_: {Boolean} 是否为打开状态<br>_e_: {Event} DOM事件对象 | Function | () => { } |
| checked | 开关当前的值(针对受控组件) | Boolean | - |
Expand Down
Loading

0 comments on commit feede20

Please sign in to comment.