afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
...
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
b51c900847
refactor: rm useDestroy hook ( #34418 )
2022-03-10 18:54:32 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
MadCcc
7df1d52dee
Merge pull request #33432 from MadCcc/dev
...
fix: not allow setState in Popconfirm if unmounted
2021-12-29 17:49:15 +08:00
MadCcc
3effa51572
refactor: refactor useMounted to useDestroyed
2021-12-29 17:10:16 +08:00
MadCcc
285e2bd9ea
refactor: refactor useMountedRef to useMounted
2021-12-29 14:42:00 +08:00
MadCcc
6d098783fc
test: add test for react memory leak warning in Popconfirm
2021-12-29 11:31:50 +08:00
MadCcc
19e4b578d9
chore: revert import order change
2021-12-28 17:23:43 +08:00
MadCcc
727e394d75
feat: add useMountedRef hook
2021-12-28 17:21:00 +08:00
WeijieChen
3324bb2f59
docs: fix version error ( #33443 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-12-28 13:29:43 +08:00
MadCcc
1d738d1902
fix: not allow setState in Popconfirm if unmounted
2021-12-27 18:06:46 +08:00
zombiej
6ed4d855b1
Merge remote-tracking branch 'origin/master' into feature-merge-master
2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
zombiej
dd1670a3b4
chore: merge master
2021-11-26 15:19:31 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
...
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
github-actions[bot]
bac876a14d
chore: auto merge branchs ( #32839 )
...
chore: sync master to feature
2021-11-12 07:15:31 +00:00
二货机器人
ce006bd44e
docs: Version Robin ( #32830 )
2021-11-12 11:46:42 +08:00
WeijieChen
b4d16125dd
docs: add Version ( #32678 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-29 08:50:01 +08:00
WeijieChen
16bb5489e6
feat: add showCancel prop for popconfirm ( #32620 )
...
Co-authored-by: machixian <machixian@myweimai.com>
2021-10-26 19:12:08 +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
Ignatius Aggrey
e32c881cd0
fix: Change type of Popconfirm props: okButtonProps to ButtonProps ( #29928 )
...
* Change type of Popconfirm props: okButtonProps to ButtonProps
According to the Popconfirm API docs the type of the type of the props okButtonProps and cancelButtonProps is ButtonProps In the actual code however it is was typed as NativeButtonProps causing type errors when using ButtonProps like 'href'
* fix: Remove unused NativeButtonProps
2021-03-31 09:42:13 +08:00
二货机器人
53142ef237
refactor: rc-tooltip use motion config ( #29555 )
...
* refactor: internal add deadline & fix defaultVisible logic
* back of demo
2021-03-01 17:25:30 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +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
youmoo
56b3c7539f
docs: fix typo in demo ( #27781 )
2020-11-16 09:27:02 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
Tom Xu
35e9475e4e
docs(popconfirm): add async demo ( #27513 )
...
* docs(popconfirm): add async demo
* hooks
* Update async.md
2020-11-04 09:05:46 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +08:00
偏右
ea48827e06
docs: fix API description
2020-10-14 14:42:57 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
2020-10-09 10:08:52 +08:00
zombiej
7f2bdb7569
test: fix test case
2020-09-21 16:39:12 +08:00
偏右
bc950d9a24
fix: Tooltip/Popover children type ( #26534 )
...
close #26517
2020-09-02 15:35:49 +08:00
xrkffgg
309c8d4404
style: add @zindex-popoconfirm ( #25693 )
...
* style: adjust @zindex-popover
* add ant-popconfirm
* update snap
2020-07-20 13:39:28 +08:00
xrkffgg
a7a75eaeef
docs: format api popconfirm/result/skeleton/spin ( #25390 )
2020-07-02 16:13:17 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site ( #25058 )
...
* docs: unite boolean in site
* fix demo
* fix boolean
* add
* add
* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
...
* docs: Update components cover
#24629
* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
...
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background ( #23155 )
...
* feat(tooltip): Tooltip support colour background
Closes #23127
* patch: update test case
* chore: repalce h1 tag to Divider
* chore: update demo
2020-05-25 18:59:00 +08:00
偏右
c93400d375
feat: ⌨️ Popconfirm can be closed by pressing ESC ( #24420 )
...
* feat: support ESC to close Popconfirm
close #15203
* add test case
* fix focus in other element inside inner-content
* no fit
* fix snapshot
* refactor it
* use util cloneElement
* fix test case
2020-05-25 17:43:59 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion ( #24254 )
...
* init fix
* fix rtl
* clean up
* update snapshot
* fix style lint
* add motion of inner
* update un-checked focus style
2020-05-18 17:31:46 +08:00
Tom Xu
2961dda311
docs: improve popconfirm ( #23905 )
...
* docs: improve popconfirm
* Update index.zh-CN.md
2020-05-06 17:37:49 +08:00
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type ( #23867 )
...
* chore: Update Popconfirm & Modal okType type
* add test case
* update test case
2020-05-05 12:03:16 +08:00
Tom Xu
90a12fa3d0
docs: fix popconfirm doc ( #23644 )
...
* docs: fix popconfirm doc
* Update index.en-US.md
2020-04-27 11:52:31 +08:00
Tom Xu
48ee1a68c6
refactor(popconfirm): rewrite with hook ( #23536 )
...
* refactor(popconfirm): rewrite with hook
* fix lint
2020-04-26 22:24:13 +08:00
kenve
edcd1b2609
docs(components): improve link ( #23355 )
2020-04-17 17:56:42 +08:00