Commit Graph

798 Commits

Author SHA1 Message Date
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
zombiej
360b994d81 chore: patch upload thumbnil size to fontSizeHeading version 2022-05-19 10:08:08 +08:00
二货机器人
9669d9c668
refactor: Upload full token (#35617)
* chore: full token

* chore: fix lint
2022-05-19 10:06:58 +08:00
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles (#35616)
close https://github.com/ant-design/ant-design/issues/35549
2022-05-19 10:05:40 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +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
3e69660e52 chore: merge master 2022-05-01 16:32:08 +08:00
afc163
b793a4e700 test: skip uploadlist test for now 2022-04-26 20:43:10 +08:00
afc163
2a79f85036 test: fix upload test case 2022-04-26 19:16:06 +08:00
afc163
9169de21f8
fix: argos-ci diff for Upload and Descriptions (#35229) 2022-04-26 10:21:50 +08:00
github-actions[bot]
ebd86abdd3
chore: auto merge branchs (#35230)
chore: merge master into next
2022-04-25 14:09:05 +00:00
afc163
08d1a71ff4
refactor: Move Upload from less to css in js (#34528)
* refactor: Upload to CSS-in-JS

* chore: clean up outdated code

* chore: add FIXME

* revert useless change of UploadList

* fix: upload animation
2022-04-25 18:46:53 +08:00
Camol
6a08a46ecc
fix: upload circle ref (#34379)
Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
2022-04-24 20:55:18 +08:00
rendaoer
ad9e2d9a0e
fix: Upload interface generic type (#35158)
* fix:Uplooad组件UploadChangeParam fileList不使用范型

* feat:upload component interface generic test
2022-04-22 22:33:05 +08:00
afc163
1349b99122
docs: improve upload demos (#35104)
* docs: improve upload demos

* Update drag-sorting.md
2022-04-20 09:48:26 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
afc163
ea648e7cb6
chore: tweak upload style (#35097)
* chore: tweak upload style

* chore: update snapshot
2022-04-19 20:47:42 +08:00
二货机器人
b8eaecb898
fix: Form in React 18 StrictMode (#35096)
* test: fix with react 18

* fix: Form in StrictMode

* test: clean up

* test: clean up

* chore: bump rc-motion version

* chore: fix test case logic

* test: back of it

* test: back missing test case
2022-04-19 20:06:32 +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
元凛
2154b453a9 docs: update docs version 2022-04-18 11:16:23 +08:00
github-actions[bot]
e3d8689643
chore: auto merge branchs (#35053)
chore: sync master into feature
2022-04-17 15:03:29 +00:00
MadCcc
e4a87750ac
test: update test cases to testing-lib (#35056) 2022-04-15 23:33:10 +08:00
chensw
9902c21042
fix: Upload pass UploadList prefixCls (#34944)
* fix: pass UploadList prefixCls

* test: <Upload /> should pass <UploadList /> prefixCls

Co-authored-by: chenshanwang <chenshanwang@lianfan.com>
2022-04-15 19:36:38 +08:00
afc163
33c0da0042
style: cleanup upload unused styles (#35052) 2022-04-15 16:54:30 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
github-actions[bot]
4291c1d121
chore: auto merge branchs (#35049)
chore: merge master into feature
2022-04-15 08:03:26 +00: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
9ed31930e7
chore: remove unused Upload in form styles (#35033)
* chore: remove unused Upload in form styles

* Update Upload.tsx

* Update Upload.tsx

* test: update snapshot
2022-04-14 16:45:00 +08:00
github-actions[bot]
cfc0530e3b
chore: auto merge branchs (#35027)
chore: merge master into feature
2022-04-14 02:57:25 +00:00
二货机器人
62233426f3
docs: update faq (#34984) 2022-04-12 14:19:32 +08:00
Hyunseok.Kim
62b221269d
feat: crossorigin attribute of Upload (#34981)
* feat: Add crossOrigin prop to thumbnail image

* feat: Add test cases about crossOrigin prop of Upload component

* doc: Add a description about crossOrigin prop to Upload component manual

* Update components/upload/interface.tsx

Update type definition using React.ImgHTMLAttributes

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai>
Co-authored-by: afc163 <afc163@gmail.com>
2022-04-12 12:03:46 +08:00
zombiej
f11bde4207 docs: Add faq about chrome with upload 2022-04-12 10:58:51 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +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
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
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() (#34498)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-15 10:41:12 +08:00
Dave
780da54c3b
fix(upload): onChange params type err (#34161)
* fix(upload): onChange params type err

* test(upload): check onChange params type
2022-02-23 18:44:26 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
Cole
dc019dca56
fix: upload button position flashes when it changes from hidden to displayed (#33820)
* fix: fix upload button position flashes when it changes from hidden to displayed (#33819)

* fix: typo in upload

Co-authored-by: chenqiufan <chenqiufan@shiqiao.com>
2022-01-25 11:20:46 +08:00
Eliot Sanford
a65ba8aa8a
docs: update sentence structure in the FAQ section (#33816) 2022-01-24 10:51:45 +08:00
uchanlee
8ebb4a3d23
fix: Upload types for pass generic (#33543)
* fix: Upload types for pass generic

* fix: Upload type

* refactor: Upload type

* feat: add Upload type test case
2022-01-05 19:15:28 +08:00
afc163
7caa03e2ef docs: fix update demo 2022-01-04 21:44:08 +08:00