Skip to content

Commit

Permalink
Merge branch 'master' into feat/1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Jul 19, 2021
2 parents d7ed02b + b0e33f7 commit 512562e
Show file tree
Hide file tree
Showing 160 changed files with 3,420 additions and 1,976 deletions.
2 changes: 1 addition & 1 deletion .commitlintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rules": {
"header-max-length": [2, "always", 72],
"header-max-length": [2, "always", 90],
"scope-empty": [2, "never"],
"scope-case": [2, "always", "pascal-case"],
"subject-empty": [2, "never"],
Expand Down
13 changes: 12 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,16 @@
"max-len": "off",
"no-unused-vars": 1,
"import/prefer-default-export": 0
}
},
"overrides": [
{
"files": ["*.js", "*.jsx"],
"parser": "babel-eslint"
},
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint/eslint-plugin"]
}
]
}
170 changes: 170 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,175 @@
# Change Log

## [1.23.16](https://github.com/alibaba-fusion/next/compare/1.23.15...1.23.16) (2021-07-16)


### Bug Fixes

* **Dialog:** bug when hasMask, close [#3189](https://github.com/alibaba-fusion/next/issues/3189) ([a224903](https://github.com/alibaba-fusion/next/commit/a224903))




## [1.23.15](https://github.com/alibaba-fusion/next/compare/1.23.14...1.23.15) (2021-07-14)




## [1.23.14](https://github.com/alibaba-fusion/next/compare/1.23.13...1.23.14) (2021-07-14)


### Bug Fixes

* remove usage of [@use](https://github.com/use) ([#3185](https://github.com/alibaba-fusion/next/issues/3185)) ([6e00c2c](https://github.com/alibaba-fusion/next/commit/6e00c2c))


### Features

* **Rating:** add allowClear api ([#3174](https://github.com/alibaba-fusion/next/issues/3174)) ([92c7dee](https://github.com/alibaba-fusion/next/commit/92c7dee))




## [1.23.13](https://github.com/alibaba-fusion/next/compare/1.23.12...1.23.13) (2021-07-13)


### Bug Fixes

* **DatePicker:** correct color of DatePicker2 ([0523bed](https://github.com/alibaba-fusion/next/commit/0523bed))


### Features

* support react 17 ([#3180](https://github.com/alibaba-fusion/next/issues/3180)) ([256b054](https://github.com/alibaba-fusion/next/commit/256b054))
* support sass 2.0 ([#3179](https://github.com/alibaba-fusion/next/issues/3179)) ([c000a6c](https://github.com/alibaba-fusion/next/commit/c000a6c))




## [1.23.12](https://github.com/alibaba-fusion/next/compare/1.23.11...1.23.12) (2021-07-07)


### Features

* **Table:** table column support wordBreak config, close [#3148](https://github.com/alibaba-fusion/next/issues/3148) ([424fd2f](https://github.com/alibaba-fusion/next/commit/424fd2f))




## [1.23.11](https://github.com/alibaba-fusion/next/compare/1.23.10...1.23.11) (2021-07-02)


### Bug Fixes

* **Core:** close [#3147](https://github.com/alibaba-fusion/next/issues/3147) ([4f4f22a](https://github.com/alibaba-fusion/next/commit/4f4f22a))
* **Divider:** chrome style, close [#3142](https://github.com/alibaba-fusion/next/issues/3142) ([a491555](https://github.com/alibaba-fusion/next/commit/a491555))
* **MenuButton:** fix typescript defination ([28c5025](https://github.com/alibaba-fusion/next/commit/28c5025))


### Features

* **Nav:** support item gradient bg color ([4e29c22](https://github.com/alibaba-fusion/next/commit/4e29c22))




## [1.23.10](https://github.com/alibaba-fusion/next/compare/1.23.9...1.23.10) (2021-06-24)


### Bug Fixes

* **Overlay:** should ignore hidden container ([0ede924](https://github.com/alibaba-fusion/next/commit/0ede924))
* **Select:** invalid `cssFloat` due to stylelint autofix ([17b4dc3](https://github.com/alibaba-fusion/next/commit/17b4dc3))


### Features

* **CascaderSelect:** support onSearch prop && async search ([ab4b7dd](https://github.com/alibaba-fusion/next/commit/ab4b7dd))
* **Select:** add `adjustTagSize` prop ([6d28b37](https://github.com/alibaba-fusion/next/commit/6d28b37))
* **Table:** make header corner configuaable ([cee6da5](https://github.com/alibaba-fusion/next/commit/cee6da5))




## [1.23.9](https://github.com/alibaba-fusion/next/compare/1.23.8...1.23.9) (2021-06-21)


### Bug Fixes

* **DatePicker2:** bug on checkRangeDate ([d011a72](https://github.com/alibaba-fusion/next/commit/d011a72))
* **Overlay:** overflow bug with mulitple overlay ([ffa20f3](https://github.com/alibaba-fusion/next/commit/ffa20f3))


### Features

* **DatePicker2:** support outputFormat ([976d712](https://github.com/alibaba-fusion/next/commit/976d712))
* **Progress:** bg can be gradient ([44d33a5](https://github.com/alibaba-fusion/next/commit/44d33a5))
* **Table:** can get ref of Table.Column ([93e4446](https://github.com/alibaba-fusion/next/commit/93e4446))




## [1.23.8](https://github.com/alibaba-fusion/next/compare/1.23.7...1.23.8) (2021-06-17)


### Bug Fixes

* **Breadcurmb:** fix height to 16px in case of $s-base=3 fix [#3111](https://github.com/alibaba-fusion/next/issues/3111) ([420c3ca](https://github.com/alibaba-fusion/next/commit/420c3ca))
* **Form:** line-height of label fix [#3087](https://github.com/alibaba-fusion/next/issues/3087), [#2418](https://github.com/alibaba-fusion/next/issues/2418) ([0dc17d2](https://github.com/alibaba-fusion/next/commit/0dc17d2))
* **Range:** track bg can be gradient color ([ca73389](https://github.com/alibaba-fusion/next/commit/ca73389))
* **Tag:** add spacing for close icon, close [#3119](https://github.com/alibaba-fusion/next/issues/3119) ([89bb1cb](https://github.com/alibaba-fusion/next/commit/89bb1cb))




## [1.23.7](https://github.com/alibaba-fusion/next/compare/1.23.6...1.23.7) (2021-06-16)


### Bug Fixes

* **Balloon:** normal border issue, close [#3097](https://github.com/alibaba-fusion/next/issues/3097) ([6beb025](https://github.com/alibaba-fusion/next/commit/6beb025))
* **ConfigProvider:** close [#3102](https://github.com/alibaba-fusion/next/issues/3102) ([e6e727f](https://github.com/alibaba-fusion/next/commit/e6e727f))
* **Select:** item can selected in popupAutoFocus fix [#3038](https://github.com/alibaba-fusion/next/issues/3038) ([8f92f4c](https://github.com/alibaba-fusion/next/commit/8f92f4c))




## [1.23.6](https://github.com/alibaba-fusion/next/compare/1.23.5...1.23.6) (2021-06-10)


### Bug Fixes

* **DatePicker2:** RangeDate check bug when set disabled, close [#3086](https://github.com/alibaba-fusion/next/issues/3086) ([91d4b70](https://github.com/alibaba-fusion/next/commit/91d4b70))


### Features

* **Input:** add api composition for call onChange after IME finished fix [#3032](https://github.com/alibaba-fusion/next/issues/3032) ([baf94db](https://github.com/alibaba-fusion/next/commit/baf94db))




## [1.23.5](https://github.com/alibaba-fusion/next/compare/1.23.4...1.23.5) (2021-06-07)


### Bug Fixes

* **ConfigProvider:** fix moment import ([1ceecd4](https://github.com/alibaba-fusion/next/commit/1ceecd4))
* **ConfigProvider:** more robust ([63a2424](https://github.com/alibaba-fusion/next/commit/63a2424))
* **Form:** error state in functional children of FormItem fix [#3075](https://github.com/alibaba-fusion/next/issues/3075) ([ae74464](https://github.com/alibaba-fusion/next/commit/ae74464))
* **Overlay:** fix svg element position bug,close #[#3070](https://github.com/alibaba-fusion/next/issues/3070) ([8b449d8](https://github.com/alibaba-fusion/next/commit/8b449d8))
* **Table:** height issue of virtual table, close [#3069](https://github.com/alibaba-fusion/next/issues/3069) ([350f7f4](https://github.com/alibaba-fusion/next/commit/350f7f4))
* **Table:** too much expanded-row width, close [#3057](https://github.com/alibaba-fusion/next/issues/3057) ([257e8ea](https://github.com/alibaba-fusion/next/commit/257e8ea))


### Features

* **Button:** add gradient bg for primary button ([63a770e](https://github.com/alibaba-fusion/next/commit/63a770e))
* **Range:** support gradient color ([307dc40](https://github.com/alibaba-fusion/next/commit/307dc40))




## [1.23.4](https://github.com/alibaba-fusion/next/compare/1.23.3...1.23.4) (2021-06-02)


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

## [1.23.4](https://github.com/alibaba-fusion/next/compare/1.23.3...1.23.4) (2021-06-02)
## [1.23.16](https://github.com/alibaba-fusion/next/compare/1.23.15...1.23.16) (2021-07-16)


### Bug Fixes

* **Form.Item:** add fullWidth type ([fbd41ae](https://github.com/alibaba-fusion/next/commit/fbd41ae))
* **Message:** quick mode should be fixed, close [#3059](https://github.com/alibaba-fusion/next/issues/3059) ([383c332](https://github.com/alibaba-fusion/next/commit/383c332))
* **Overlay:** popupContainer won\'t work in Overlay&Popup ([3cd801b](https://github.com/alibaba-fusion/next/commit/3cd801b))
* **Overlay:** should set overflow hidden to container ([9b8c8d3](https://github.com/alibaba-fusion/next/commit/9b8c8d3))
* **Table:** custom header misses its scrollLeft while update,close [#3050](https://github.com/alibaba-fusion/next/issues/3050) ([926d81e](https://github.com/alibaba-fusion/next/commit/926d81e))
* **Dialog:** bug when hasMask, close [#3189](https://github.com/alibaba-fusion/next/issues/3189) ([a224903](https://github.com/alibaba-fusion/next/commit/a224903))


62 changes: 62 additions & 0 deletions components.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@import "lib/affix/index.scss";
@import "lib/animate/index.scss";
@import "lib/badge/index.scss";
@import "lib/balloon/index.scss";
@import "lib/breadcrumb/index.scss";
@import "lib/button/index.scss";
@import "lib/calendar/index.scss";
@import "lib/card/index.scss";
@import "lib/cascader/index.scss";
@import "lib/cascader-select/index.scss";
@import "lib/checkbox/index.scss";
@import "lib/collapse/index.scss";
@import "lib/config-provider/index.scss";
@import "lib/date-picker/index.scss";
@import "lib/dialog/index.scss";
@import "lib/drawer/index.scss";
@import "lib/dropdown/index.scss";
@import "lib/field/index.scss";
@import "lib/form/index.scss";
@import "lib/grid/index.scss";
@import "lib/icon/index.scss";
@import "lib/input/index.scss";
@import "lib/list/index.scss";
@import "lib/loading/index.scss";
@import "lib/menu/index.scss";
@import "lib/menu-button/index.scss";
@import "lib/message/index.scss";
@import "lib/nav/index.scss";
@import "lib/number-picker/index.scss";
@import "lib/overlay/index.scss";
@import "lib/pagination/index.scss";
@import "lib/paragraph/index.scss";
@import "lib/progress/index.scss";
@import "lib/radio/index.scss";
@import "lib/range/index.scss";
@import "lib/rating/index.scss";
@import "lib/search/index.scss";
@import "lib/select/index.scss";
@import "lib/slider/index.scss";
@import "lib/split-button/index.scss";
@import "lib/step/index.scss";
@import "lib/switch/index.scss";
@import "lib/tab/index.scss";
@import "lib/table/index.scss";
@import "lib/tag/index.scss";
@import "lib/time-picker/index.scss";
@import "lib/timeline/index.scss";
@import "lib/transfer/index.scss";
@import "lib/tree/index.scss";
@import "lib/tree-select/index.scss";
@import "lib/upload/index.scss";
@import "lib/virtual-list/index.scss";
@import "lib/shell/index.scss";
@import "lib/notification/index.scss";
@import "lib/typography/index.scss";
@import "lib/divider/index.scss";
@import "lib/avatar/index.scss";
@import "lib/box/index.scss";
@import "lib/responsive-grid/index.scss";
@import "lib/date-picker2/index.scss";
@import "lib/calendar2/index.scss";
@import "lib/time-picker2/index.scss";
14 changes: 7 additions & 7 deletions docs/affix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

### Affix

| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ---------------------------------------------------------------------------------------------------------------------- | -------- | ------------ |
| container | 设置 Affix 需要监听滚动事件的容器元素<br><br>**签名**:<br>Function() => ReactElement<br>**返回值**:<br>{ReactElement} 目标容器元素的实例<br> | Function | () => window |
| offsetTop | 距离窗口顶部达到指定偏移量后触发 | Number | - |
| offsetBottom | 距离窗口底部达到制定偏移量后触发 | Number | - |
| onAffix | 当元素的样式发生固钉样式变化时触发的回调函数<br><br>**签名**:<br>Function(affixed: Boolean) => void<br>**参数**:<br>_affixed_: {Boolean} 元素是否被固钉 | 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(affixed: Boolean) => void<br/>**参数**:<br/>_affixed_: {Boolean} 元素是否被固钉 | Function | func.noop |
| useAbsolute | 是否启用绝对布局实现 affix | Boolean | - |
Loading

0 comments on commit 512562e

Please sign in to comment.