Skip to content

Commit

Permalink
chore(*): Release-1.26.32
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Nov 16, 2023
1 parent d075499 commit 3dfe2da
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 21 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## [1.26.32](https://github.com/alibaba-fusion/next/compare/1.26.31...1.26.32) (2023-11-16)


### Bug Fixes

* **Checkbox:** support boolean value type, close [#3931](https://github.com/alibaba-fusion/next/issues/3931) ([#4519](https://github.com/alibaba-fusion/next/issues/4519)) ([26a08d8](https://github.com/alibaba-fusion/next/commit/26a08d8))
* **Search:** press enter will call onSearch once when autoHighlightFirstItem=false, close [#4049](https://github.com/alibaba-fusion/next/issues/4049) ([#4524](https://github.com/alibaba-fusion/next/issues/4524)) ([1eea155](https://github.com/alibaba-fusion/next/commit/1eea155))
* **Table:** can use Input as column.title normally, close [#4370](https://github.com/alibaba-fusion/next/issues/4370) ([#4522](https://github.com/alibaba-fusion/next/issues/4522)) ([bde3b4e](https://github.com/alibaba-fusion/next/commit/bde3b4e))
* **Table:** change the way to use of sortable ([#4514](https://github.com/alibaba-fusion/next/issues/4514)) ([d73a9f1](https://github.com/alibaba-fusion/next/commit/d73a9f1))




## [1.26.31](https://github.com/alibaba-fusion/next/compare/1.26.30...1.26.31) (2023-11-09)


Expand Down
7 changes: 5 additions & 2 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Latest Log

## [1.26.31](https://github.com/alibaba-fusion/next/compare/1.26.30...1.26.31) (2023-11-09)
## [1.26.32](https://github.com/alibaba-fusion/next/compare/1.26.31...1.26.32) (2023-11-16)


### Bug Fixes

* **Overlay:** support show-hide in nested scroll component ([#4517](https://github.com/alibaba-fusion/next/issues/4517)) ([8cef2a1](https://github.com/alibaba-fusion/next/commit/8cef2a1))
* **Checkbox:** support boolean value type, close [#3931](https://github.com/alibaba-fusion/next/issues/3931) ([#4519](https://github.com/alibaba-fusion/next/issues/4519)) ([26a08d8](https://github.com/alibaba-fusion/next/commit/26a08d8))
* **Search:** press enter will call onSearch once when autoHighlightFirstItem=false, close [#4049](https://github.com/alibaba-fusion/next/issues/4049) ([#4524](https://github.com/alibaba-fusion/next/issues/4524)) ([1eea155](https://github.com/alibaba-fusion/next/commit/1eea155))
* **Table:** can use Input as column.title normally, close [#4370](https://github.com/alibaba-fusion/next/issues/4370) ([#4522](https://github.com/alibaba-fusion/next/issues/4522)) ([bde3b4e](https://github.com/alibaba-fusion/next/commit/bde3b4e))
* **Table:** change the way to use of sortable ([#4514](https://github.com/alibaba-fusion/next/issues/4514)) ([d73a9f1](https://github.com/alibaba-fusion/next/commit/d73a9f1))


34 changes: 17 additions & 17 deletions docs/checkbox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@

### Checkbox

| 参数 | 说明 | 类型 | 默认值 | 版本支持 |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | --------- | ---- |
| id | checkbox id, 挂载在input上 | String | - | |
| checked | 选中状态 | Boolean | - | |
| defaultChecked | 默认选中状态 | Boolean | false | |
| disabled | 禁用 | Boolean | - | |
| label | 通过属性配置label, | ReactNode | - | |
| indeterminate | Checkbox 的中间状态,只会影响到 Checkbox 的样式,并不影响其 checked 属性 | Boolean | - | |
| defaultIndeterminate | Checkbox 的默认中间态,只会影响到 Checkbox 的样式,并不影响其 checked 属性 | Boolean | false | |
| onChange | 状态变化时触发的事件<br/><br/>**签名**:<br/>Function(checked: Boolean, e: Event) => void<br/>**参数**:<br/>_checked_: {Boolean} 是否选中<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| onMouseEnter | 鼠标进入enter事件<br/><br/>**签名**:<br/>Function(e: Event) => void<br/>**参数**:<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| onMouseLeave | 鼠标离开Leave事件<br/><br/>**签名**:<br/>Function(e: Event) => void<br/>**参数**:<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| 参数 | 说明 | 类型 | 默认值 | 版本支持 |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | --------- | ---- |
| id | checkbox id, 挂载在input上 | String | - | |
| checked | 选中状态 | Boolean | - | |
| defaultChecked | 默认选中状态 | Boolean | false | |
| disabled | 禁用 | Boolean | - | |
| label | 通过属性配置label, | ReactNode | - | |
| indeterminate | Checkbox 的中间状态,只会影响到 Checkbox 的样式,并不影响其 checked 属性 | Boolean | - | |
| defaultIndeterminate | Checkbox 的默认中间态,只会影响到 Checkbox 的样式,并不影响其 checked 属性 | Boolean | false | |
| onChange | 状态变化时触发的事件<br/><br/>**签名**:<br/>Function(checked: Boolean, e: Event) => void<br/>**参数**:<br/>_checked_: {Boolean} 是否选中<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| onMouseEnter | 鼠标进入enter事件<br/><br/>**签名**:<br/>Function(e: Event) => void<br/>**参数**:<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| onMouseLeave | 鼠标离开Leave事件<br/><br/>**签名**:<br/>Function(e: Event) => void<br/>**参数**:<br/>_e_: {Event} Dom 事件对象 | Function | func.noop | |
| value | checkbox 的value | String/Number/Boolean | - | |
| name | name | String | - | |
| isPreview | 是否为预览态 | Boolean | false | 1.19 |
| renderPreview | 预览态模式下渲染的内容<br/><br/>**签名**:<br/>Function(checked: Boolean, props: Object) => reactNode<br/>**参数**:<br/>_checked_: {Boolean} 是否选中<br/>_props_: {Object} 所有传入的参数<br/>**返回值**:<br/>{reactNode} Element 渲染内容<br/> | Function | - | 1.19 |
| name | name | String | - | |
| isPreview | 是否为预览态 | Boolean | false | 1.19 |
| renderPreview | 预览态模式下渲染的内容<br/><br/>**签名**:<br/>Function(checked: Boolean, props: Object) => reactNode<br/>**参数**:<br/>_checked_: {Boolean} 是否选中<br/>_props_: {Object} 所有传入的参数<br/>**返回值**:<br/>{reactNode} Element 渲染内容<br/> | Function | - | 1.19 |

### Checkbox.Group

| 参数 | 说明 | 类型 | 默认值 | 版本支持 |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | -------- | ---- |
| disabled | 整体禁用 | Boolean | - | |
| dataSource | 可选项列表, 数据项可为 String 或者 Object, 如 `['apple', 'pear', 'orange']` 或者 `[{value: 'apple', label: '苹果',}, {value: 'pear', label: '梨'}, {value: 'orange', label: '橙子'}]` | Array&lt;String>/Array&lt;Object> | \[] | |
| value | 被选中的值列表 | Array/String/Number/Boolean | - | |
| defaultValue | 默认被选中的值列表 | Array/String/Number/Boolean | - | |
| value | 被选中的值列表 | Array/String/Number/Boolean | - | |
| defaultValue | 默认被选中的值列表 | Array/String/Number/Boolean | - | |
| children | 通过子元素方式设置内部 checkbox | Array&lt;ReactElement> | - | |
| onChange | 选中值改变时的事件<br/><br/>**签名**:<br/>Function(value: Array, e: Event) => void<br/>**参数**:<br/>_value_: {Array} 选中项列表<br/>_e_: {Event} Dom 事件对象 | Function | () => {} | |
| direction | 子项目的排列方式<br/>- hoz: 水平排列 (default)<br/>- ver: 垂直排列<br/><br/>**可选值**:<br/>'hoz', 'ver' | Enum | 'hoz' | |
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var next = require('./lib/index.js');

next.version = '1.26.31';
next.version = '1.26.32';

module.exports = next;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alifd/next",
"version": "1.26.31",
"version": "1.26.32",
"description": "A configurable component library for web built on React.",
"keywords": [
"fusion",
Expand Down

0 comments on commit 3dfe2da

Please sign in to comment.