Guo Yunhe
3f4eb4b9d1
feat(upload): showUploadList options showPreviewIcon, showDownloadIcon and showRemoveIcon support function ( #50245 )
2024-08-07 11:42:33 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 ( #50228 )
...
* chore(deps): update dependency @typescript-eslint/parser to v8
* Update package.json
Signed-off-by: afc163 <afc163@gmail.com>
* fix eslint errors
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color ( #50050 )
...
* refactor: support type update
* chore: update clear style
* chore: bump color picker
* chore: use slider
* chore: bump color picker
* chore: range slider
* chore: layout
* chore: useModeColor
* chore: simplify
* chore: bump color picker
* refactor: event
* chore: tmp lock check
* chore: of it
* chore: update ts def
* chore: update ts def
* chore: remove useless ts
* chore: linear
* chore: adjust style
* chore: rm useless code
* chore: fill color
* chore: basic linear
* chore: support toStr
* chore: limit minCount
* chore: use cache
* chore: drag support:
* chore: yes
* chore: update demo
* chore: useLayoutEffect instead
* chore: fix click to add point
* chore: add smmoth
* chore: support of locale
* chore: add locale
* chore: fix lint
* chore: adjust style
* chore: fix lint
* chore: fix style
* test: fix test case
* chore: fix popover
* test: fix test case
* chore: fix test
* test: clean up
* chore: fix lint
* chore: fix lint
* chore: fix lint
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* test: coverage
* chore: fix docs
* docs: update demo desc
* chore: enhance hover range
* fix: delete not working
* chore: fix lint
* test: coverage
* test: coverage
* chore: clean up
* chore: adjust
* chore: highlight
* chore: adjust style
* chore: fix lint
* chore: update demo
* chore: memo perf
* refactor: up to down colors
* test: update snapshot
2024-07-29 16:38:50 +08:00
Guo Yunhe
02853808ee
feat(Upload): showUploadList add extra option ( #50098 )
2024-07-26 17:45:11 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx ( #50013 )
...
* docs: unify component export file as index.tsx
* docs: compatible with old anchors
* chore: clean
* test: update snapshot
* fix: window env
---------
Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
Andrey
9ce5cbcf64
fix: remove redundant transformations in ``UploadList
``, which led to decrease in performance ( #49598 )
...
* fix: remove unnecessary transformations for upload list with previews
* chore: revert miss convert
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-26 11:05:39 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com>
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
Jeongseok Kang
4f3e381797
chore: Function parameter name to camel case ( #49435 )
2024-06-16 15:16:36 +08:00
Kazuhiro Kumagai
6ea55a19dc
Remove unnecessary act() calls ( #49326 )
...
* refactor(tests): remove unnecessary act() calls
* chore: do npm test -- -u
2024-06-10 10:48:21 +08:00
kiner-tang
cb72cb2bbd
docs(upload): Supplement the missing server-side mock example ( #48977 )
...
* docs(upload): Supplement the missing server-side mock example
* docs(upload): Supplement the missing server-side mock example
* docs(upload): Supplement the missing server-side mock example
2024-05-19 15:57:47 +08:00
tanghui
d70de6c6e6
Merge branch 'master' into feature-merge-master
2024-04-26 17:20:46 +08:00
lijianan
8f1808dae7
type: add miss generic of Upload prop ( #48614 )
...
* type: add miss generic of Upload prop
* test: add type test case
* test: add test case
2024-04-25 14:22:35 +08:00
Jason Chen
b1ef8957ef
type: missing generic of Upload customRequest
prop ( #48612 )
...
Signed-off-by: Jason Chen <3380894+jas0ncn@users.noreply.github.com>
2024-04-24 23:57:43 +08:00
daisy
11a160cb25
demo: Table drag handle use useContext ( #48588 )
2024-04-24 11:48:15 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
...
chore: merge master into feature
2024-04-22 17:09:35 +08:00
希亚的西红柿
c3f5e27c1c
fix: margin problem in css value mode ( #48569 )
...
* fix: fix the flex gap problem
* fix: adapt margin problem in css value mode
---------
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-22 12:02:12 +08:00
栗嘉男
ad7fdb01d5
chore: merge master into feature
2024-04-18 12:41:26 +08:00
希亚的西红柿
c8f6aee6e5
fix: fix the flex gap problem ( #48522 )
2024-04-18 10:31:22 +08:00
lijianan
d34ab00717
demo: update wrap="wrap"
=> wrap
( #48409 )
2024-04-12 12:10:38 +08:00
lijianan
4cba8b85d5
Merge pull request #48383 from ant-design/master
...
chore: merge master into feature
2024-04-10 20:30:10 +08:00
二货爱吃白萝卜
ce9353153e
fix: Upload has empty space ( #48370 )
...
* fix: empty space
* chore: clean up
2024-04-10 14:51:44 +08:00
叶枫
6dcd6e2dc1
feat: merge master
2024-04-08 14:37:05 +08:00
叶枫
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
lijianan
bb74803437
Merge pull request #48293 from ant-design/master
...
chore: merge master into feature
2024-04-05 22:40:14 +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
lijianan
34a7faa082
Merge pull request #48256 from ant-design/master
...
chore: merge master into feature
2024-04-04 10:37:15 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io ( #48252 )
2024-04-03 23:37:22 +08:00
红
a038583155
feat(upload): support ref.nativeElenent ( #48210 )
...
* feat(upload): support ref.nativeElenent
* test: add unit test
* Update components/upload/__tests__/upload.test.tsx
Signed-off-by: 红 <wxh16144@qq.com>
---------
Signed-off-by: 红 <wxh16144@qq.com>
2024-04-01 21:42:17 +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