afc163
8416e31821
chore: resolve conflict between master and feature
2021-08-23 17:48:23 +08:00
Jaimy de Graaf
c278430bf4
fix: Collapse crashing of hot-reload on change ( #31827 )
...
close #29918
2021-08-18 11:40:44 +08:00
afc163
b56f6110fa
merge feature into master
2021-08-16 14:42:04 +08:00
Zuobin Wang
7f16838631
chore(all): delete useless Omit define ( #31661 )
2021-08-04 20:07:28 +08:00
Wendell
5ddd9e6b97
feat(module:popconfirm): support closing based on promise ( #30871 )
...
* feat(module:popconfirm): support closing based on promise
fix: typos
fix: fix tests
fix: fix ActionButton for Popconfirm
* chore: cleanup
* test: add test
2021-06-09 12:18:52 +08:00
二货机器人
7a3bf8287f
feat: Form rule
support warningOnly
that not block form submit ( #30829 )
...
* chore: bump rc-field-form
* docs: Demo driven
* refactor: Use event instead
* chore: collection logic update
* chore: clean up
* chore: show warning
* chore: warning no need required mark
* feat: warning example
* docs: mix error
* chore: tmp list
* chore: magic code
* chore: fix motion
* chore: fix style
* chore: clean up useless code
* chore: RM useless import
* chore: RM useless file
* test: Update snapshot
* chore: Should reset
* fix: Memo logic
* fix: Form basic test case
* fix: lint
* chore: back of ref
* test: Update snapshot
* test: RM ueseless test case
* chore: RM useless code
2021-06-04 14:44:41 +08:00
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
...
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding ( #30555 )
2021-05-18 13:02:17 +08:00
undefined
2ca113afd5
fix: Cannot read property 'removeChild' of null ( #29961 )
...
* fix: undefined error
fix: undefined error
* fix: exec order
2021-04-03 22:31:13 +08:00
undefined
ba9323decb
Fix Button Wave Effect in shadow root ( #29897 )
...
* fix wave effect for shadow dom
fix
* fix: wave tests
components are inside shadow dom, test fail because they are looking for a style element outside of the shadow dom, they fail because style is now placed (as expected) inside the shadow dom
* fix: typeguard
* fix: use updateCSS api
2021-03-25 11:57:49 +08:00
二货机器人
2e35b4ee05
refactor: use rc-util for csp ( #29804 )
...
* refactor: use rc-util for csp
* update icons version
* add csp support
* update deps
2021-03-19 16:23:25 +08:00
bcd337
290aa1adf3
fix: error when target not an html element ( #29523 )
...
fix error when target is object but not an html element
2021-02-26 18:43:15 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
二货机器人
9914ceb6be
fix: Grid flexGap lazy check ( #29202 )
...
* fix: get flex gap support before render
* chore: patch unit
* chore: rename
* test: fix test case
2021-02-03 15:39:51 +08:00
陈帅
40f9be9417
megre Feature into master ( #29141 )
...
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
2021-02-01 10:15:39 +08:00
Rick Zhou
986c709161
fix: styleForPseudo of wave should be added to ownerDocument instead of document ( #28995 )
...
* fix: styleForPseudo of wave should be added to ownerDocument instead of document
* fix lint error, reuse node from function parameter in wave.tsx
close #28934
2021-01-24 17:41:06 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
Germini
481335bbaa
chore: wave component isHidden function has not invaild hidden css attribute ( #28291 )
2020-12-10 12:16:06 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
28d3d9038f
perf( 📦 ): remove @ant-design/css-animation ( #28201 )
...
* perf(📦 ): remove @ant-design/css-animation
* fix test case
* fix test case
2020-12-04 19:36:16 +08:00
Elaina Cherudim
52ceeafa7e
chore: optimize useModal performance - Do not trigger rerender of parent component ( #28122 )
2020-12-02 20:00:31 +08:00
二货机器人
388edca10b
refactor: UploadList use rc-motion
instead of rc-animate
( #27923 )
...
* chore: Update rc-motion version
* refactor: Move item into single file
* refactor: Use CSSMotion of progress bar
* chore: part style it
* chore: slit style of pic card
* chore: RM count-x
* support appendAction back
* chore: Style smooth
* fix progress makes shaking
* docs: clean up demo
* test: Update snapshot
* test: fix test case
* fix: lint
* test: Update snapshot
* test: coverage
* clean up
2020-11-21 19:00:11 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
...
ref.ts remove
2020-11-21 15:40:06 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
2020-11-20 12:11:50 +08:00
Tom Xu
44e41b5ced
refactor(trans-button): rewrite with hook ( #27743 )
...
* refactor(trans-button): rewrite with hook
* Update Base.tsx
* Update util.test.js
* Update transButton.tsx
* Update transButton.tsx
* Update transButton.tsx
* Update util.test.js
2020-11-18 11:20:31 +08:00
二货机器人
b8861dc483
refactor: Replace BackTop with rc-motion ( #27840 )
2020-11-17 23:03:07 +08:00
二货机器人
1a8bb04bf8
chore: Use rc-util composeRef ( #27821 )
2020-11-17 12:01:02 +08:00
Hossein Mohammadi
4b1000fb7f
fix: React 17 findDOMNode is deprecated ( #27755 )
...
* fix: use ref instead of findDOMNode
* chore: use fillRef in setAndForwardRef
* chore: use rc-util fillRef instead
* chore: use support ref
* test: removed empty class
* chore: use composeRef instead of setAndForwardRef
2020-11-16 16:46:46 +08:00
Tom Xu
5e85ce47a0
chore: improve useCombinedRefs ( #27352 )
2020-10-24 23:52:59 +08:00
Tom Xu
6e0981d1df
refactor(responsive-observe): improve typescript type ( #27305 )
2020-10-23 10:57:13 +08:00
Tom Xu
179ee276c9
refactor: improve useCombinedRefs code ( #27181 )
...
* improve: useCombinedRefs code
* change location
2020-10-16 10:21:21 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
...
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Rain120
820aa04a96
fix: words spell error at the file of wave.tsx ( #27013 )
2020-10-07 02:09:08 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
fc5e0a9155
test: ✅ 100% coverage ( #26839 )
...
* test: isStyleSupport
* test: 100% test coverage
2020-09-21 18:32:24 +08:00
偏右
c979850a5b
test: ✅ Motion for Collpase and Menu ( #26828 )
...
* test: ✅ test menu and collapse motion
* chore: move openAnimation into collapse
* add test case
* rm extra openAnimation.tsx
* remove unused code
2020-09-20 21:13:43 +08:00
偏右
40cee55141
test: add test case for switch click effect ( #26815 )
2020-09-18 17:53:37 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
...
chore: merge master into feature
2020-09-07 23:10:36 +08:00
偏右
a409f3126f
test: ✅ add test cases to increase coverage ( #26559 )
...
* test: ✅ add test cases to increase coverage
* chore: remove console
2020-09-03 13:36:23 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557
2020-09-03 11:30:46 +08:00
二货机器人
0097d34d01
fix: Update rc-motion
deps & fix ssr ( #26542 )
...
* chore: Update rc-motion deps
* frame wheel not prevent scroll
* update ts
2020-09-02 18:30:27 +08:00
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component ( #26244 )
...
fix lint and test failures
update avatar demo card title
update ts type check for undefined
2020-08-29 13:43:52 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
二货机器人
c6244382a7
chore: Replace rc-animation/lib/CSSMotion
to rc-motion
( #26044 )
...
* chore: bump version
* chore: update rest version
* clean up rc-trigger ts define
* clean up motion define
2020-08-05 21:23:15 +08:00
偏右
8eb4e83535
test: ✅ increase test covarage ( #25857 )
...
* test: ✅ increase test covarage
* fix test case
2020-07-28 17:54:46 +08:00
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
...
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
2020-07-15 19:51:56 +08:00
07akioni
e5e44d2aae
refactor: Radio.Group use useMergedState ( #25539 )
2020-07-09 15:36:40 +08:00