Skip to content

Commit 0cefbcb

Browse files
committed
chore(release): v1.2.2
1 parent a66cfe3 commit 0cefbcb

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## v1.2.2
2+
`2022-08-10`
3+
4+
* :zap: feat: range组件props补齐+国际化 (#201) @vickyYE
5+
* :zap: feat: signature组件增加单元测试、文档和demo国际化 (#205) @irisSong
6+
* :zap: test(navbar): navbar unit test (#203) @szg2008
7+
* :zap: test(tabbar): tabbar unit test (#204) @szg2008
8+
* :zap: feat: 新增 searchbar 组件 (#186) @Ymm0008
9+
* :zap: feat(numberkeyboard): new components (#192) @Drjingfubo
10+
* :zap: feat(tabbar): 组件能力补齐 (#178) @szg2008
11+
* :zap: feat: progress 组件 (#187) @ailululu
12+
* :zap: chore: tag 组件 eslint 修复 (#200) @libin0824
13+
* :zap: feat: datepicker 功能补齐 (#182) @yangxiaolu1993
14+
* :zap: feat: tag 组件新增 onClick 事件,closeable 支持非受控(#195) @libin0824
15+
* :zap: feat: divider组件增加单元测试 (#194) @vickyYE
16+
* :zap: feat: Dialog组件增加在线调试能力,文档多语言支持 (#193) @libin0824
17+
118
## v1.2.1
219
`2022-08-03`
320

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nutui/nutui-react",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"style": "dist/style.css",
55
"main": "dist/nutui.react.umd.js",
66
"module": "dist/esm/nutui-react.es.js",

src/packages/divider/divider.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const Divider: FunctionComponent<
2929
styles,
3030
className,
3131
direction,
32+
...rest
3233
} = {
3334
...defaultProps,
3435
...props,
@@ -49,7 +50,7 @@ export const Divider: FunctionComponent<
4950
[dividerBem('vertical')]: direction === 'vertical',
5051
})
5152
return (
52-
<div className={`${classes} ${className || ''}`} style={styles}>
53+
<div className={`${classes} ${className || ''}`} style={styles} {...rest}>
5354
{children}
5455
</div>
5556
)

0 commit comments

Comments
 (0)