Commit Graph

1011 Commits

Author SHA1 Message Date
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
Cooper
db822fd74e
demo: Upload demo add margin (#48268)
* fix: Upload add demo marigin

* use Flex and update Snap

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-05 15:13:49 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io (#48252) 2024-04-03 23:37:22 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
Cooper
595e600813
fix: Upload remove margin using flex display (#48091)
* fix: remove upload margin with flex

* fix

* use support not

* fix
2024-03-29 10:21:30 +08:00
Zhou Bill
7c09fc01ad
fix: upload default FileList is more than maxCount, it can't remove it (#47747)
* fix: upload default FileList is more than maxCount, it can't remove it

* fix: snapshot

* fix: line
2024-03-28 10:14:34 +08:00
叶枫
b1a3972b81
demo: upload replace modal to image (#48105) 2024-03-27 09:49:50 +08:00
afc163
0a67b32443
docs: update Upload FAQ about Mac Chrome bug (#48021) 2024-03-22 16:38:59 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
afc163
5574f31576
style: Upload actions should not wrap (#47898)
* style: Upload actions should not wrap

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/upload/style/list.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-03-15 19:06:39 +08:00
lijianan
9836a74086
chore: rm unnecessary export (#47568) 2024-02-24 14:50:03 +08:00
lijianan
dc4f40380c
style: code optimization (#47300)
* chore: rm useless function

* fix: fix
2024-02-02 11:14:22 +08:00
二货爱吃白萝卜
e7aa014c31
chore: Add type util (#46923)
* docs: init

* chore: all types

* docs: faq

* chore: fix lint
2024-01-11 15:55:58 +08:00
afc163
15324982ab
fix: Upload.Dragger not align center (#46810)
close #46795
2024-01-05 14:22:45 +08:00
afc163
8705640a19
fix: Upload accessibility experience (#46432)
* fix: Upload tab experience

* test: update snapshot

* fix lint
2023-12-30 15:21:52 +08:00
afc163
f5e0c67fea
fix: Upload disabled should not affect download icon (#46454)
* fix: Upload disabled should not affect download icon

* test: update snapshot
2023-12-15 09:57:13 +08:00
afc163
afa7343241
style: Dragger add vertical padding style (#46457) 2023-12-14 19:20:46 +08:00
afc163
54a4efe472
fix: Upload actions hover color (#46456)
* fix: Upload actions hover color

* revert demo change

* fix: lint error
2023-12-14 19:20:26 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
MadCcc
80e46b7662
chore: enable cssVar in imageTest (#45985)
* chore: enable cssVar in imageTest

* fix: tree select style

* chore: fix avatar group style

* fix: cascader panel style

* fix: form style

* fix: slider disabled style

* fix: mentions style

* fix: tag style

* fix: tabs style

* fix: Rate style

* fix: table custom token

* chore: update snapshot

* fix: menu style

* fix: InputNumber style

* chore: recover image test

* chore: add css var image test
2023-11-22 20:53:48 +08:00
kiner-tang(文辉)
49ffbe2c82
feat: Upload support cssVar (#45820)
* feat: Upload support cssVar

* feat: optimize code

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* feat: update size limit

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Signed-off-by: MadCcc <madccc@foxmail.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
2023-11-13 19:44:27 +08:00
afc163
c2ef52b9ba
fix: Upload should show remove icon when showRemoveIcon is true (#45752) 2023-11-09 16:44:50 +08:00
vagusX
406e4aeb6f
docs: add Upload disabled demo for debug usage (#45723) 2023-11-08 20:43:18 +08:00
Oceansdeep7
38c2002144
style: fix Upload border color when drag over (#45663)
* style: fix Upload border color when dragover

* Update components/upload/style/dragger.ts

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: robin.li <robin.li@webeye.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-11-03 19:00:11 +08:00
叶枫
923aaba047
chore: add lodash eslint (#45627) 2023-11-02 15:10:56 +08:00
vagusX
1c16788dfb
chore: remove useless disabled style in Upload (#45446) 2023-10-20 16:28:42 +08:00
Amumu
bfc5728ef5
docs: add faq (#45050)
* docs: add faq

* link

* fix docs

* Update components/upload/index.zh-CN.md

Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update components/upload/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update components/upload/index.zh-CN.md

Signed-off-by: Amumu <yoyo837@hotmail.com>

* Update components/upload/index.en-US.md

Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 红 <wxh1220@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-25 16:58:04 +08:00
李勇
7eb93ad657
type: to put the ts type into useMemo generics (#44904) 2023-09-16 02:16:53 +08:00
afc163
64b649eaee
docs: fix Upload mocky api in demo and test (#44883) 2023-09-15 13:48:23 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning (#44791)
* refactor: deprecatedWraning

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter (#44613)
* feat: add warningContext

* refactor: part refactor

* chore: fix compile

* chore: part of it

* chore: part of it

* chore: part of it

* chore: fix lint

* chore: fix test

* chore: clean uo

* chore: hide warning def tmp

* chore: comment test

* chore: fix lint

* chore: refactor select icons

* chore: fix warning message

* test: update test

* chore: rm dead code
2023-09-11 17:28:04 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
Kyriewen
56724cde28
fix(Upload): action buttons focus style leave after click it (#44594)
* fix(upload): actions_btn_focus_styles

* fix(upload): download button is still in focus state after being clicked

* fix(upload): use focus-visible instead focus

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-09-04 14:45:03 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
Konv Suu
41ef050cb5
chore: typo (#44579)
update
2023-09-01 23:39:56 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
二货机器人
620e168cfc chore: feature merge master 2023-08-29 19:51:31 +08:00
二货爱吃白萝卜
8d7dd80120
docs: Update batch of docs & demos (#44509)
* docs: update select opt

* docs: update form deps demo

* docs: upload onChange

* docs: update form nest Form.List demo
2023-08-29 18:47:41 +08:00
二货机器人
16f8228249 chore: merge master 2023-08-28 21:56:37 +08:00
二货爱吃白萝卜
97b03dc938
fix: rm useless ts def of upload (#44468) 2023-08-28 19:38:03 +08:00
MadCcc
68ee32268b Merge branch 'master' into feature-merge-master 2023-08-24 21:04:48 +08:00
MadCcc
9312b0059e
chore: update icon snapshot (#44414) 2023-08-24 21:01:10 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
Wing
4fb448ffac
doc: upload doc line break (#44234) 2023-08-15 15:13:04 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
daisy
baa24a6ef9
fix(Upload): gif thumb url base64 type should be corrected (#44083)
* fix(Upload): gif thumb url base64 type should be corrected

* fix: add revokeObjectURL

* case: update

* case: remove comment

* fix: addEventListener -> onload

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-09 15:19:25 +08:00