Skip to content

Commit

Permalink
chore(*): Release-1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lakerswgq committed Nov 22, 2021
1 parent 9a724fc commit dafa4aa
Show file tree
Hide file tree
Showing 15 changed files with 85 additions and 32 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Change Log

# [1.25.0](https://github.com/alibaba-fusion/next/compare/1.24.17...1.25.0) (2021-11-22)


### Bug Fixes

* **DatePicker:** should not close popup while click input ([0c20a92](https://github.com/alibaba-fusion/next/commit/0c20a92))
* **DatePicker2:** double style margin on button ([372412f](https://github.com/alibaba-fusion/next/commit/372412f))
* **Dialog:** auto height/width fix [#941](https://github.com/alibaba-fusion/next/issues/941) ([f47f15b](https://github.com/alibaba-fusion/next/commit/f47f15b))
* **Dialog:** autoFocus for v2 ([8eafba7](https://github.com/alibaba-fusion/next/commit/8eafba7))
* **Dialog:** body padding without title fix [#2777](https://github.com/alibaba-fusion/next/issues/2777) ([72d1a66](https://github.com/alibaba-fusion/next/commit/72d1a66))
* **Dialog:** btn global loading fix [#2576](https://github.com/alibaba-fusion/next/issues/2576) ([b4caa8d](https://github.com/alibaba-fusion/next/commit/b4caa8d))
* **Dialog:** overflow while set height fix [#3262](https://github.com/alibaba-fusion/next/issues/3262) ([463ceea](https://github.com/alibaba-fusion/next/commit/463ceea))
* **Dialog:** update onClose usage ([a3f9690](https://github.com/alibaba-fusion/next/commit/a3f9690))
* **overlay:** compatible with react17, fix [#2959](https://github.com/alibaba-fusion/next/issues/2959) ([#3519](https://github.com/alibaba-fusion/next/issues/3519)) ([1583e14](https://github.com/alibaba-fusion/next/commit/1583e14))
* **Select:** autoHighlightFirstItem while search ([#3502](https://github.com/alibaba-fusion/next/issues/3502)) ([be28f95](https://github.com/alibaba-fusion/next/commit/be28f95))


### Features

* **Balloon:** new api v2 for Overlay v2 ([756fee1](https://github.com/alibaba-fusion/next/commit/756fee1))
* **DatePicker2:** move Popup panel when RangePicker focus change, close [#3492](https://github.com/alibaba-fusion/next/issues/3492) ([#3525](https://github.com/alibaba-fusion/next/issues/3525)) ([6d321bd](https://github.com/alibaba-fusion/next/commit/6d321bd))
* **Dialog:** add type succss/error/warning/notice/help fix [#3488](https://github.com/alibaba-fusion/next/issues/3488) ([38de821](https://github.com/alibaba-fusion/next/commit/38de821))
* **Dialog:** new Component for fixed Dialog ([f39034e](https://github.com/alibaba-fusion/next/commit/f39034e))
* **Dialog:** support draggable for Dialog fix [#231](https://github.com/alibaba-fusion/next/issues/231) ([d35f067](https://github.com/alibaba-fusion/next/commit/d35f067))
* **Overlay:** v2 fix [#3070](https://github.com/alibaba-fusion/next/issues/3070),[#3054](https://github.com/alibaba-fusion/next/issues/3054),[#2797](https://github.com/alibaba-fusion/next/issues/2797),[#2689](https://github.com/alibaba-fusion/next/issues/2689),[#2606](https://github.com/alibaba-fusion/next/issues/2606),[#2598](https://github.com/alibaba-fusion/next/issues/2598),[#2533](https://github.com/alibaba-fusion/next/issues/2533),[#2500](https://github.com/alibaba-fusion/next/issues/2500),[#742](https://github.com/alibaba-fusion/next/issues/742) ([e11555d](https://github.com/alibaba-fusion/next/commit/e11555d))
* **Select:** popupProps={{v2:true}} for v2 popup ([62c05ed](https://github.com/alibaba-fusion/next/commit/62c05ed))
* **TimePicker:** refacor & add TimePicker.RangePicker ([29a8c80](https://github.com/alibaba-fusion/next/commit/29a8c80))
* **TreeSelect:** support preserveNonExistentValue props ([#3424](https://github.com/alibaba-fusion/next/issues/3424)), close [#3375](https://github.com/alibaba-fusion/next/issues/3375) ([04abd78](https://github.com/alibaba-fusion/next/commit/04abd78))




## [1.24.17](https://github.com/alibaba-fusion/next/compare/1.24.16...1.24.17) (2021-11-19)


Expand Down
27 changes: 24 additions & 3 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
# Latest Log

## [1.24.17](https://github.com/alibaba-fusion/next/compare/1.24.16...1.24.17) (2021-11-19)
# [1.25.0](https://github.com/alibaba-fusion/next/compare/1.24.17...1.25.0) (2021-11-22)


### Bug Fixes

* **Affix:** suport resize container width fix [#3536](https://github.com/alibaba-fusion/next/issues/3536) ([218c07d](https://github.com/alibaba-fusion/next/commit/218c07d))
* **Affix:** update container async to wait ref called ([62c3ba7](https://github.com/alibaba-fusion/next/commit/62c3ba7))
* **DatePicker:** should not close popup while click input ([0c20a92](https://github.com/alibaba-fusion/next/commit/0c20a92))
* **DatePicker2:** double style margin on button ([372412f](https://github.com/alibaba-fusion/next/commit/372412f))
* **Dialog:** auto height/width fix [#941](https://github.com/alibaba-fusion/next/issues/941) ([f47f15b](https://github.com/alibaba-fusion/next/commit/f47f15b))
* **Dialog:** autoFocus for v2 ([8eafba7](https://github.com/alibaba-fusion/next/commit/8eafba7))
* **Dialog:** body padding without title fix [#2777](https://github.com/alibaba-fusion/next/issues/2777) ([72d1a66](https://github.com/alibaba-fusion/next/commit/72d1a66))
* **Dialog:** btn global loading fix [#2576](https://github.com/alibaba-fusion/next/issues/2576) ([b4caa8d](https://github.com/alibaba-fusion/next/commit/b4caa8d))
* **Dialog:** overflow while set height fix [#3262](https://github.com/alibaba-fusion/next/issues/3262) ([463ceea](https://github.com/alibaba-fusion/next/commit/463ceea))
* **Dialog:** update onClose usage ([a3f9690](https://github.com/alibaba-fusion/next/commit/a3f9690))
* **overlay:** compatible with react17, fix [#2959](https://github.com/alibaba-fusion/next/issues/2959) ([#3519](https://github.com/alibaba-fusion/next/issues/3519)) ([1583e14](https://github.com/alibaba-fusion/next/commit/1583e14))
* **Select:** autoHighlightFirstItem while search ([#3502](https://github.com/alibaba-fusion/next/issues/3502)) ([be28f95](https://github.com/alibaba-fusion/next/commit/be28f95))


### Features

* **Balloon:** new api v2 for Overlay v2 ([756fee1](https://github.com/alibaba-fusion/next/commit/756fee1))
* **DatePicker2:** move Popup panel when RangePicker focus change, close [#3492](https://github.com/alibaba-fusion/next/issues/3492) ([#3525](https://github.com/alibaba-fusion/next/issues/3525)) ([6d321bd](https://github.com/alibaba-fusion/next/commit/6d321bd))
* **Dialog:** add type succss/error/warning/notice/help fix [#3488](https://github.com/alibaba-fusion/next/issues/3488) ([38de821](https://github.com/alibaba-fusion/next/commit/38de821))
* **Dialog:** new Component for fixed Dialog ([f39034e](https://github.com/alibaba-fusion/next/commit/f39034e))
* **Dialog:** support draggable for Dialog fix [#231](https://github.com/alibaba-fusion/next/issues/231) ([d35f067](https://github.com/alibaba-fusion/next/commit/d35f067))
* **Overlay:** v2 fix [#3070](https://github.com/alibaba-fusion/next/issues/3070),[#3054](https://github.com/alibaba-fusion/next/issues/3054),[#2797](https://github.com/alibaba-fusion/next/issues/2797),[#2689](https://github.com/alibaba-fusion/next/issues/2689),[#2606](https://github.com/alibaba-fusion/next/issues/2606),[#2598](https://github.com/alibaba-fusion/next/issues/2598),[#2533](https://github.com/alibaba-fusion/next/issues/2533),[#2500](https://github.com/alibaba-fusion/next/issues/2500),[#742](https://github.com/alibaba-fusion/next/issues/742) ([e11555d](https://github.com/alibaba-fusion/next/commit/e11555d))
* **Select:** popupProps={{v2:true}} for v2 popup ([62c05ed](https://github.com/alibaba-fusion/next/commit/62c05ed))
* **TimePicker:** refacor & add TimePicker.RangePicker ([29a8c80](https://github.com/alibaba-fusion/next/commit/29a8c80))
* **TreeSelect:** support preserveNonExistentValue props ([#3424](https://github.com/alibaba-fusion/next/issues/3424)), close [#3375](https://github.com/alibaba-fusion/next/issues/3375) ([04abd78](https://github.com/alibaba-fusion/next/commit/04abd78))


2 changes: 1 addition & 1 deletion docs/dialog/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Demo extends React.Component {
};

onClose = e => {
console.log(e.triggerType)
console.log(e.triggerType);
this.setState({
visible: false
});
Expand Down
2 changes: 1 addition & 1 deletion docs/dialog/demo/draggable.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class App extends React.Component {
if (disabled === this.state.disabled) {
return;
}
this.setState({disabled})
this.setState({disabled});
}

render() {
Expand Down
4 changes: 2 additions & 2 deletions docs/dialog/demo/large-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ class Demo extends React.Component {
onClose={this.onClose}
>
{Array(count).fill().map((_, index) =>
<p key={index}>a long long content here
(<p key={index}>a long long content here
<Button
text
type="primary"
style={{marginLeft: 10}}
onClick={() => this.setState({count: count - 1})}>
<Icon type="ashbin" />
</Button>
</p>
</p>)
)}
</Dialog>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/dialog/demo/promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const Demo = () => {
Start your business here by searching a popular product
</Dialog>
</div>);
}
};

const popupConfirm = () => {
Dialog.confirm({
Expand Down
2 changes: 1 addition & 1 deletion docs/dialog/demo/quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config = {
v2: true,
title: 'Quick',
content: 'content content content...'
}
};
const popupError = () => {
const dialog = Dialog.error({
title: "Error",
Expand Down
6 changes: 3 additions & 3 deletions docs/overlay/demo/nested.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ const Demo = () => {
<Select
dataSource={["apple", "banana", "orange", "grape"]}
itemRender={(d) =>
<Tooltip v2 trigger={<div style={{width: '100%'}}>{d.value}</div>} align="r"
(<Tooltip v2 trigger={<div style={{width: '100%'}}>{d.value}</div>} align="r"
onMouseDown={e => e.stopPropagation()}
onClick={e => e.stopPropagation()}
>
<span>{d.value}</span>
</Tooltip>
</Tooltip>)
}
popupProps={{v2: true}}
/>
Expand All @@ -64,7 +64,7 @@ const Demo = () => {
</div>
</Popup>
</div>);
}
};

ReactDOM.render(<Demo/>, mountNode);
````
Expand Down
2 changes: 1 addition & 1 deletion docs/overlay/demo/scroll-debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const style = {

function TableDemo() {
const columns = [1, 2, 3].map((v) => {
return { dataIndex: "data" + v, title: "Data" + v, width: 200 };
return { dataIndex: `data${ v}`, title: `Data${ v}`, width: 200 };
});
columns.unshift({
dataIndex: "id",
Expand Down
6 changes: 3 additions & 3 deletions docs/overlay/demo/scroll.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const App = () => {
const [position13, setPosition13] = useState({});
const [position2, setPosition2] = useState({});

return <div style={{
return (<div style={{
position: 'relative',
height: 150,
padding: 50,
Expand Down Expand Up @@ -93,8 +93,8 @@ const App = () => {
<button style={{marginTop: 200}}>Open2</button>
</Popup>
<div style={{ height: 300, width: 1200 }} />
</div>
}
</div>);
};

ReactDOM.render( <App/>, mountNode);
````
2 changes: 1 addition & 1 deletion docs/overlay/demo/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useState } from 'react';
import { Overlay, Button } from '@alifd/next';

const { Popup } = Overlay;
const style ={ marginLeft: 10}
const style ={ marginLeft: 10};

const top = <Button style={{margin: '5px'}} id="top" className="btrigger">top</Button>;
const right = <Button style={{margin: '5px'}}id="right" className="btrigger">right</Button>;
Expand Down
2 changes: 1 addition & 1 deletion docs/overlay/demo/trigger-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Overlay } from '@alifd/next';

const { Popup } = Overlay;

const style ={ marginLeft: 10}
const style ={ marginLeft: 10};
ReactDOM.render(
<div>
<Popup v2 trigger={<button style={style}>click</button>} triggerType="click">
Expand Down
24 changes: 12 additions & 12 deletions docs/tree/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,18 @@

### Tree.Node

| 参数 | 说明 | 类型 | 默认值 |
| ---------------- | ---------------------------------------------------------- | ---------------- | ----- |
| children | 树节点 | ReactNode | - |
| label | 节点文本内容 | ReactNode | '---' |
| selectable | 单独设置是否支持选中,覆盖 Tree 的 selectable | Boolean | - |
| checkable | 单独设置是否出现复选框,覆盖 Tree 的 checkable | Boolean | - |
| editable | 单独设置是否支持编辑,覆盖 Tree 的 editable | Boolean | - |
| draggable | 单独设置是否支持拖拽,覆盖 Tree 的 draggable | Boolean | - |
| disabled | 是否禁止节点响应 | Boolean | false |
| checkboxDisabled | 是否禁止勾选节点复选框 | Boolean | false |
| isLeaf | 是否是叶子节点,设置loadData时生效 | Boolean | - |
| icon | 自定义图标,可以使用 Icon 的 type,也可以使用组件 `<Icon type="icon type" />` | String/ReactNode | - |
| 参数 | 说明 | 类型 | 默认值 | 版本支持 |
| ---------------- | ---------------------------------------------------------- | ---------------- | ----- | ---- |
| children | 树节点 | ReactNode | - | |
| label | 节点文本内容 | ReactNode | '---' | |
| selectable | 单独设置是否支持选中,覆盖 Tree 的 selectable | Boolean | - | |
| checkable | 单独设置是否出现复选框,覆盖 Tree 的 checkable | Boolean | - | |
| editable | 单独设置是否支持编辑,覆盖 Tree 的 editable | Boolean | - | |
| draggable | 单独设置是否支持拖拽,覆盖 Tree 的 draggable | Boolean | - | |
| disabled | 是否禁止节点响应 | Boolean | false | |
| checkboxDisabled | 是否禁止勾选节点复选框 | Boolean | false | |
| isLeaf | 是否是叶子节点,设置loadData时生效 | Boolean | - | |
| icon | 自定义图标,可以使用 Icon 的 type,也可以使用组件 `<Icon type="icon type" />` | String/ReactNode | - | 1.21 |

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

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.24.17';
next.version = '1.25.0';

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.24.17",
"version": "1.25.0",
"description": "A configurable component library for web built on React.",
"keywords": [
"fusion",
Expand Down

0 comments on commit dafa4aa

Please sign in to comment.