Commit Graph

1991 Commits

Author SHA1 Message Date
zombiej
3a0c53470f chore: merge master 2022-05-13 10:20:20 +08:00
limingxin
765bc1effc
docs: Table QA about rowSelection renderCell (#35494)
* Update index.zh-CN.md

之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。

所以想要完善一下文档,可以方便其他用户找到此内容。

* docs: Table QA about rowSelection renderCell

update US doc
2022-05-11 17:58:26 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
afc163
089dc7e36a docs: remove editable in table documentation
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
2022-05-11 14:35:43 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
MadCcc
83ed62aa0e Merge branch 'feature' into next-merge-feature 2022-05-07 15:19:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop (#35409)
* fix: wipe out unnecessary prop

* wipe out unnecessary prop(`row-gap: 0px`) on <Row />

* add test case

* chore: remove unnecessary import

* chore: add  prop to Row and Col

* chore: update snapshot (Form/Grid/Card)

* chore: update snapshot

* chore: move  location
2022-05-07 11:44:48 +08:00
zombiej
7460c95b65 chore: merge master 2022-05-06 12:03:15 +08:00
lalalazero
6c0f67e407
fix: table column filter reset is not working (#35226) (#35386) 2022-05-05 12:17:15 +08:00
zombiej
3e69660e52 chore: merge master 2022-05-01 16:32:08 +08:00
afc163
5a6b3ccd98
fix: Table columns sorter a11y experience (#35269)
* Make table sortable columns focusable and keyboard accessible.

* Fix typo.

* Change focus style for sortable table column header from broken outline to color text.

* Update snapshots.

* Change order to fix lint error.

* Add unit test to test sorting with keypress.

* Update components/table/hooks/useSorter.tsx

* chore: improve code style

* style: use focus-visible

* fix: test case

* test: update snapshot

Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com>
2022-04-27 16:27:13 +08:00
github-actions[bot]
1d6da1a5cc
chore: auto merge branchs (#35190)
chore: merge master to next
2022-04-23 09:34:47 +00:00
Yuyao Nie
a9806a2be0
perf: optimize calculation of filteredKeysIsAllControlled (#35064)
* perf: optimize calculation of filteredKeysIsAllControlled

* fix: ci failure

* fix: modify codes by suggestion
2022-04-23 17:11:52 +08:00
zombiej
1a84acb3fb chore: merge master 2022-04-22 18:21:45 +08:00
afc163
e14ec001a1
fix: small/middle table selection dropdown margin issue (#35174)
* fix: small/middle table selection dropdown margin issue

* Update index.less
2022-04-22 16:01:20 +08:00
afc163
cf2450e759 fix: small table selection dropdown margin issue (#35173)
close #35167
2022-04-22 15:35:10 +08:00
afc163
9c1ecf0922 fix: small table selection dropdown margin issue
close #35167
2022-04-22 15:35:10 +08:00
afc163
7d822f1b26
fix: small table selection dropdown margin issue (#35173)
close #35167
2022-04-22 14:58:02 +08:00
afc163
8923d59860
fix: small table selection dropdown margin issue
close #35167
2022-04-22 14:16:54 +08:00
zombiej
4607346d3c chore: next merge master 2022-04-22 13:36:51 +08:00
二货机器人
f8d728161c
docs: Update demo with Space (#35172) 2022-04-22 13:35:27 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps (#35161)
* fix: DropDown => Dropdown

* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
zombiej
669f41502e Merge branch 'master' into next 2022-04-21 17:10:29 +08:00
二货机器人
1525ac47fb
chore: bump dropdown with inject mark (#35153) 2022-04-21 17:10:06 +08:00
afc163
756f06c2fe chore: sync master into next branch 2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
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
github-actions[bot]
16fb0e88a3
chore: auto merge branchs (#35054)
chore: sync master into next
2022-04-17 15:03:21 +00:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
zombiej
a8010d5422 chore: next merge master 2022-04-15 15:44:02 +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
afc163
c421383d02
Update index.en-US.md 2022-04-12 22:25:47 +08:00
afc163
cf44a6bde9
docs: recommend S2 and ProTable in table documentation (#34998)
* docs: recommend S2 and ProTable in table documentation

* Update index.en-US.md
2022-04-12 22:22:01 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
afc163
494c55df30
fix: small size of Table style problem (#34963)
close #34949
2022-04-11 13:07:48 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +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
Zack Chang
c8b2b28c95
Refactor/spin cssinjs (#34653)
* TODO: fix test case

* TODO: 样式、test文件的import

* TODO: 伪类不生效

* temp changed

* fix: disable eslint

* chore: update snapshots

* chore: 解决伪类不生效

* chore: update token prop name

* TODO: mark FIXME

* fix: recover snapshot

* fix: recover snapshot again

* chore: update snapshot

Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
2022-03-25 14:26:09 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form (#34694)
* refactor: move override code in form

* refactor: radio and checkbox

* chore: code clean

* test: fix lint

* test: fix lint
2022-03-24 21:54:20 +08:00
github-actions[bot]
2a35f74d74
chore: auto merge branchs (#34684)
chore: feature merge master
2022-03-24 04:30:35 +00:00
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api (#34355)
* feat: add filterResetToDefaultFilteredValue api

* feat: fix lint

* feat: update test case

* feat: update doc
2022-03-23 19:29:05 +08:00
huangkairan
d0be21ed8f
fix(table) filterSearch TypeScript declaration (#34671)
* fix: types declaration

* fix(table): filterSearch TypeScript declaration
2022-03-23 18:30:30 +08:00
二货机器人
a67d39cd6c
feat: Menu support items (#34559)
* docs: Update Menu cn doc

* chore: update ts def

* chore: support convert

* docs: more demo

* docs: more demo

* docs: all menu demos

* docs: dropdown demo

* docs: dropdown all demos

* docs: update demo

* test: coverage

* docs: more demo

* docs: layout demo

* docs: all demo

* chore: fix ts lint

* docs: fix doc

* docs: all docs
2022-03-18 15:20:35 +08:00
github-actions[bot]
78705e34f0
chore: auto merge branchs (#34527)
chore: sync master into feature
2022-03-16 03:38:49 +00:00
黑雨
e45fa77eb8
feat: add aria-* to Spin (#34408)
* feat: add aria

* feat: update other snap

* feat: update logic
2022-03-11 15:49:33 +08:00