二货机器人
79f8fece4b
refactor: Upload use batch start ( #29474 )
...
* chore: Update Upload version
* useMergedStatus
* fix file list parser
* fix list replacement
* bump rc-upload
* add Upload.LIST_IGNORE
* support LIST_IGNORE
* fix uploadList batch test
* test: fix batch case test case changed
* test: Finish test case
* fix: Not change uid if exist
* use proxy
* fix proxy
* fix ts
* part test case check
* more test back
* back of test all
* update test case
* more unmount
* adjust test cae
* add unmount
2021-02-26 15:18:37 +08:00
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
...
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
2021-02-23 10:45:11 +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
偏右
9daf50f3a9
test: fix codecov 100% ( #28892 )
2021-01-16 18:06:26 +08:00
Dave
97796a45b6
feat(upload): support Error obj (message) ( #28716 )
2021-01-15 23:24:09 +08:00
二货机器人
38bead8724
chore: Auto fill uid ( #28832 )
...
* chore: Auto fill uid
* docs: More desc
2021-01-13 14:31:49 +08:00
mumiao
2f5d3f0418
fix: upload fileList with immuable data ( #28636 )
...
* fix: upload fileList with immuable data
* perf: optimize code
* ci: fix lint error
* feat: reduce cycles counts
* feat: reduce cycles counts
* ci: fix lint error
* ci: fix lint error
2021-01-01 21:40:42 +08:00
zombiej
99d5451dba
chore: merge master
2020-12-26 23:11:46 +08:00
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
...
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
2020-12-25 14:31:44 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +08:00
YanYuan
0721ef3cfb
fix: fix warning of transformFile prop for upload ( #28455 )
2020-12-21 15:29:19 +08:00
Tom Xu
c00755f9ec
Merge branch 'feature' into merge
2020-12-17 15:27:42 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
...
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
2020-12-17 15:09:18 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
...
chore: merge master into feature
2020-12-16 15:24:20 +08:00
二货机器人
d18e9b99d0
feat: Upload support maxCount
( #28367 )
...
* feat: Support maxCount
* docs: Add demo
* test: Add test case
2020-12-15 17:09:52 +08:00
二货机器人
e63856ba9c
docs: Remove Upload transformFile
prop ( #28365 )
...
* chore: Remove `transformFile` in doc
* clean up
* update snapshot
2020-12-15 15:56:35 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
CodingYingYingYing
e0c19e4a3d
fix: 修改beforeUpload ts定义 ( #27946 )
...
Co-authored-by: zhoubingling.00 <zhoubingling.00@bytedance.com>
2020-11-23 13:14:54 +08:00
Tom Xu
ea85335ca1
refactor: remove not use code ( #27926 )
2020-11-21 20:42:32 +08:00
二货机器人
388edca10b
refactor: UploadList use rc-motion
instead of rc-animate
( #27923 )
...
* chore: Update rc-motion version
* refactor: Move item into single file
* refactor: Use CSSMotion of progress bar
* chore: part style it
* chore: slit style of pic card
* chore: RM count-x
* support appendAction back
* chore: Style smooth
* fix progress makes shaking
* docs: clean up demo
* test: Update snapshot
* test: fix test case
* fix: lint
* test: Update snapshot
* test: coverage
* clean up
2020-11-21 19:00:11 +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
骗你是小猫咪
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
JuniorTour
75d4fdb3f1
feat: change object-fit of UploadList to contain ( #27312 )
2020-10-23 11:18:57 +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
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction ( #27101 )
...
* style: fix Pickers wrong animation direction
* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
偏右
4bf062c2a8
test: fix test cov ( #27065 )
...
* test: ✅ upload and form
* refactor: tooltip always evaluates to true
2020-10-10 13:32:27 +08:00
xrk
1a594a467e
chore: merge master into feature ( #26998 )
2020-10-03 12:18:19 +08:00
xrk
cf717225d1
fix: upload rtl style ( #26961 )
2020-09-30 15:22:30 +08:00
zombiej
358c7fa4c4
chore: feature merge master
2020-09-22 10:56:04 +08:00
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
...
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
Kermit Xuan
7f7fe176e1
feat(upload): support itemRender ( #26333 )
2020-09-17 16:14:42 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
...
chore: merge master into feature
2020-09-16 14:49:19 +08:00
afc163
0de1358924
test: ✅ fix eslint jest rules
2020-09-15 11:54:47 +08:00
Michael Waddell
add02767f0
Feat: Support callbacks for removeIcon and downloadIcon in Upload ( #26684 )
...
* updated to support callback function
* fixing compilation errors
* feat: add support for per-file callbacks in Upload removeIcon and downloadIcon
* Update components/upload/index.en-US.md
Added version
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
* docs: Changed `React.ReactNode` to `ReactNode`
* docs: Added version in CN documentation
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-13 08:31:18 +08:00
二货机器人
8ab74cbe0e
test: Fix Upload test case ( #26638 )
...
* test: Fix test case
* clean up
2020-09-08 14:47:31 +08:00
二货机器人
c58135fd46
fix: Align motion match ( #26628 )
...
* fix: Align motion match
* bump rc-motion
* lock rc-trigger version
* update snapshot
2020-09-08 11:34:29 +08:00
二货机器人
a26517f9ab
fix: Controlled multiple files upload list sync ( #26612 )
...
* init hooks
* Use raf to sync list
* clean up
2020-09-07 16:41:28 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
Pengsha Ying
b4c0978068
fix(upload): adjust type declaration for the onError of customRequest ( #26601 )
2020-09-05 17:13:20 +08:00
二货机器人
88ae028321
fix: Upload controlled issue ( #26481 )
...
* fix upload sync
* add test case
* rm only
* update snapshot
* fix test case
2020-08-29 21:28:44 +08:00
Ben Callaway
852fad9e3b
fix: Add missing properties to ShowUploadListInterface ( #26406 )
2020-08-26 18:43:34 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style ( #26367 )
...
* style: fix Upload picture-card button style
close https://github.com/ant-design/ant-design/issues/26317
close #23339
* style: tweak Upload list animation
close #22386
* fix snapshot change
* docs: update Upload demos
* add test case
* update form demo
* fix test case
2020-08-24 16:33:24 +08:00
Kermit Xuan
d8215589de
fix(upload): props type declaration ( #26347 )
...
* fix(upload): props type declaration
* fix lint
* chore: add type test case
2020-08-23 22:46:55 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle ( #26270 )
2020-08-19 09:50:04 +08:00
Kermit Xuan
ee50fe7952
refactor(upload): rewrite with hooks ( #26196 )
...
* refactor(upload): rewrite with hooks
* refactor: optimize code style;
chore(dragger): add forwardRef;
* fix: lint
* fix: trigger ci
* fix: lint
* chore: add test case
2020-08-18 15:44:31 +08:00
偏右
86f6b5f0bc
docs: improve code demo box style ( #26242 )
...
* docs: improve code demo box style
* chore: update lighthouse.yml
* use node 14
2020-08-17 19:32:03 +08:00
afc163
fa9316f78c
docs: info about Upload file.status
2020-08-07 17:31:18 +08:00
偏右
d02290c922
Update index.zh-CN.md
2020-08-07 17:25:23 +08:00
afc163
7502d84d15
docs: fix demo typo
2020-08-07 17:14:55 +08:00
afc163
5447db9239
docs: 🎬 add Upload demo about beforeUpload usage
2020-08-07 17:08:47 +08:00
Albert Zhang
cf9c08aca4
fix: customRequest file interface ( #25598 )
2020-07-13 14:11:55 +08:00
xrkffgg
efdbb21f08
docs: reduce demo transfer/upload ( #25487 )
2020-07-08 08:58:45 +08:00
Albert Zhang
6f2aa5afb7
fix: show thumbnail for non-image files by upload onChange ( #25432 )
2020-07-06 21:47:01 +08:00
xrkffgg
1503a58aee
docs: format api timepicker/transfer/upload ( #25351 )
2020-07-01 20:18:48 +08:00
偏右
2b4d049921
fix: Upload don't support Popover ( #25090 )
...
close #25077
2020-06-19 10:59:21 +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
Miclle Zheng
3d51c801e6
Upload support patch method ( #24936 )
2020-06-12 10:31:07 +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
Teng YANG
19ca646ef3
fix : #24519 Upload delete icon cannot be navigate via keyboard ( #24615 )
...
* fix: Upload delete icon cannot be navigate via keyboard
* update Upload style dependencies
2020-06-01 13:29:22 +08:00
偏右
b95207d58e
Revert "fix: make upload action buttons focusable ( #24604 )" ( #24608 )
...
This reverts commit 8e20fe6779
.
2020-05-31 11:50:26 +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
Teng YANG
8e20fe6779
fix: make upload action buttons focusable ( #24604 )
2020-05-31 01:00:23 +08:00
Kermit Xuan
9b8e0bb908
feat(upload): data support return Promise( #22529 ) ( #24546 )
2020-05-28 22:02:56 +08:00
afc163
d039e32e6b
merge feature into master-to-merge-feature
2020-05-28 15:30:36 +08:00
Tom Xu
cea0e45671
docs: improve upload ( #24482 )
2020-05-26 22:29:04 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
...
chore: merge master into feature
2020-05-21 23:41:37 +08:00
Teng YANG
b264589b77
fix: enhance upload custom progress bar ( #24339 )
...
* enhance customize progress bar in upload
- fix progress bar `type` could be overridden
- update demo
* update docs in upload customize progress bar
* update docs in upload
2020-05-21 14:58:36 +08:00
偏右
0f93896f0b
fix: Upload type missing ( #24325 )
...
close #24229
2020-05-20 22:33:34 +08:00
Teng YANG
ac50fa147c
feat: resolve #24213 customize progress bar in upload ( #24319 )
...
* feat #24213 : customize progress bar in upload
* update doc for customize progress bar in upload
2020-05-20 22:29:45 +08:00
南小北
bfd5644ff0
Add crop image demo for Upload ( #24174 )
...
* chore: add antd-img-crop
* docs: add crop image demo for upload
* fix: move antd-img-crop to devDependencies
* fix: fix eslint warning
* test: update snapshot
2020-05-18 19:22:45 +08:00
xrkffgg
8cb146becd
style: adjust upload error icon ( #24160 )
...
* fix: adjust uoload error icon
* use less var
* use antd-color
* fix: adjust uoload error icon
* use less var
* use antd-color
* up snap
* fix package
* use svg fill
* fix error
* Update components/upload/style/index.less
Co-authored-by: 偏右 <afc163@gmail.com>
* Update components/upload/style/index.less
* fix fill
* fix snap
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-18 10:31:23 +08:00
偏右
a820046130
fix: Upload.Dragger triggered by label when disabled ( #24202 )
...
* refactor Dragger.tsx
* 🐛 Avoid disabled Upload.Dragger being triggered by label
close #24197
2020-05-16 14:25:49 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
mraiguo
28f71921ea
fix: Tooltip in Upload components location error ( #24001 )
2020-05-09 18:58:44 +08:00
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc
2020-05-02 23:14:43 +08:00
Amazing Turtle
83dcc0016f
Update index.zh-CN.md ( #23824 )
...
Remove deprecated supportServerRender doc
2020-05-02 23:13:45 +08:00
chenlei
b57c000678
docs: Fix Upload index.en-US.md ( #23781 )
...
* docs: fix Upload index.en-US.md
* docs: update Upload index.zh-CN.md
2020-04-30 17:06:05 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
...
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
2020-04-28 11:16:01 +08:00
诸岳
f955620601
chore: Merge master branch and fix conflicts
2020-04-26 13:34:11 +08:00
xrkffgg
be72d1762a
fix: upload disabled hover border ( #23522 )
2020-04-23 15:58:17 +08:00
xrkffgg
eb5c7ffc7e
style: complete upload rtl ( #23520 )
2020-04-23 15:01:20 +08:00
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
...
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
2020-04-22 11:59:56 +08:00
偏右
fabec4831c
Merge pull request #23377 from ant-design/master
...
chore: Merge master into feature
2020-04-18 23:54:51 +08:00
xrkffgg
6c451865eb
site: add title upload picture-card ( #23312 )
...
* style: fix modal body padding without header
* change demo
* add url
2020-04-17 14:28:18 +08:00
nick
87da7bfe67
feat: add custom isImgurl prop to Upload Component ( #23248 )
...
* feat: customize isImageUrl support
* docs: Update Upload doc
* docs: Add isImgUrl default implement link
* docs: update default link address
2020-04-14 19:32:16 +08:00
Evan Charlton
58c6900175
chore: Fix console warning typo (validate -> valid) ( #23240 )
...
Clean up the typos in the helpful console warning messages which get
emitted if the incorrect prop is passed to certain components.
2020-04-14 16:48:23 +08:00
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
...
* style: add rtl base
* fix: add test snap
2020-04-09 12:39:10 +08:00
dpyzo0o
69daa6fea7
fix: improve typing of upload component ( #22921 )
2020-04-05 22:26:13 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
...
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
2020-04-03 15:02:11 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
...
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
2020-04-01 17:38:21 +08:00
zombiej
7212a9746d
chore: Merge feature
2020-03-29 20:21:14 +08:00
xrkffgg
d0dee05c28
style: optimize upload rtl style ( #22630 )
2020-03-29 15:07:04 +08:00
zefeng
dda45e4796
feat: support compact theme ( #22126 )
...
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
二货机器人
56aabf3966
chore: make bundle size smaller ( #22693 )
...
* update rc-resize-observer deps
* clean icons
* rm lodash/findIndex
* rm isPlainObject
* rm lodash uniqueBy
* rollback of icons
* clean up
2020-03-28 19:03:11 +08:00
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
2020-03-19 12:13:24 +08:00
二货机器人
8453cb7b2d
fix: Upload onChange immutable ( #22322 )
...
* refactor tree dir
* Upload onChange immutable
* update test case
* fix lint
2020-03-18 00:02:23 +08:00
xrkffgg
862cbbceec
style: add rtl.less of Select\Transfer\Upload ( #22307 )
2020-03-17 17:43:14 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
...
* alert
* more icons
* another grouping
* all done
2020-03-02 12:09:38 +08:00
二货机器人
afedb4127f
docs: Site with single paging ( #21360 )
...
* patch route
* use data for promise
* rename Article file
* Article in TS
* clean up
* use collect
* adjust css
* card it
* listing
* res
* hiring
* add footer
* english it
* rm others
* fix lint
* fix navigation
* add dropdown button
* Header with TS
* split input & logo
* navigation out
* use flex
* flex everything
* stretch
* hide search when narrow
* init category
* global rules
* more cat
* pages
* level 2 width
* level 3
* level 4
* skip before ready
* clean up
* unqiue shadow variable
* update eslintignore
* update ignore
* fix ssr
* fix location param
* replace images
* shake more
* fix top of navigation
* remove home
* reorder nav & adjust padding style
* narrow res style
* Update research-form-page.zh-CN.md (#21426 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* rm skip
* narrow merge in
* reset p style
* update svg
* fix lint
* update ignore
* update lint ignore
* Update research-result-page.zh-CN.md (#21432 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-result-page.zh-CN.md
* Update research-workbench.zh-CN.md (#21438 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md
* Update research-list-page.zh-CN.md (#21441 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-list-page.zh-CN.md
* padding use 40px
* add responsive of ref
* fix p margin
* Update research-workbench.zh-CN.md
* Update buttons.md (#21456 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update resources.en-US.md (#21457 )
* Update research-navigation.zh-CN.md (#21453 )
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-empty.zh-CN.md (#21451 )
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* Update research-exception-page.zh-CN.md (#21452 )
* Update research-exception-page.zh-CN.md
* Update research-exception-page.zh-CN.md
* Update research-message-and-feedback.zh-CN.md (#21463 )
* Update research-message-and-feedback.zh-CN.md (#21467 )
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* replace background
* fix lines margin
* home padding
* patch minTilda doc
* Update resources.zh-CN.md (#21503 )
* clean up
* Update research-workbench.zh-CN.md (#21512 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-overview.zh-CN.md (#21513 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result-page.zh-CN.md (#21514 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-list-page.zh-CN.md (#21515 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* fix doc
* Update research-message-and-feedback.zh-CN.md (#21516 )
* adjust home nav width
* Update research-message-and-feedback.zh-CN.md (#21535 )
* Update research-form-page.zh-CN.md (#21554 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* patch file
* clean up
* update shadow.zh-CN
update shadow.zh-CN
* add shadow table
* Update visual.zh-CN.md (#21577 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* patch docs
* fix doc
* rm page suffix
* fix style
* mobile it
* Update resources.en-US.md (#21561 )
* chart res
* add qr code
* adjust qr
* Update visual.zh-CN.md (#21603 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* fix site qr
* mobile height of it
* book update
* 3.x site link
* isMobile is new cnotext
* Update research-form.zh-CN.md (#21604 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* adjust form doc
* mobile use link
* adjust order
* flush
* fix ts
* Update research-navigation.zh-CN.md (#21606 )
* Update research-navigation.zh-CN.md (#21609 )
* rm useless lines
* add mobile icon
* Update research-exception.zh-CN.md (#21612 )
* Update research-empty.zh-CN.md (#21610 )
* Update research-workbench.zh-CN.md
* Update visual.zh-CN.md
* adjust mobile icon
* Update research-message-and-feedback.zh-CN.md (#21613 )
* Update research-list.zh-CN.md (#21617 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md (#21618 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update visual.zh-CN.md (#21619 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update research-result.zh-CN.md (#21620 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-form.zh-CN.md (#21615 )
* Update research-message-and-feedback.zh-CN.md (#21616 )
* Update research-list.zh-CN.md (#21621 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result.zh-CN.md (#21624 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* update ref color
* update zip file
* fix mobile icon
* rm skip dark
* fix cat
* update zip link
* update zip link
Co-authored-by: Golevka <huangsamfisher@163.com>
Co-authored-by: mihaideyu <zxy1010414746@163.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com>
Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com>
Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com>
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
2020-02-27 10:53:30 +08:00
zombiej
3f8d6cd4f0
merge feature
2020-02-24 13:10:29 +08:00
afc163
b4636ab2df
💄 tweak Upload showDownloadIcon default value
...
it should be false
2020-02-21 13:11:07 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
...
* fix: Form item has default height align with form size
* fix lint
* update snapshot
2020-02-19 22:04:25 +08:00
程成
c968184348
fix: upload 识别图片类型逻辑错误 ( #21473 )
...
* fix: upload 识别图片类型逻辑错误
当 uploadFile 有类型时,直接对 类型 进行判断即可
* test: 增加识别文件类型的测试用例
2020-02-19 20:12:44 +08:00
zombiej
9eab33e09b
merge master
2020-02-19 13:20:43 +08:00
Clair Duan
a875bfd28c
feat: custom Upload action icons removeIcon and downloadIcon ( #21363 )
...
* feat: add removeIcon and uploadIcon in API showUploadList
* test: test for removeIcon and downloadIcon
* docs: Upload docs and demo of downloadIcon and removeIcon
* test: update snapshot of uploadlist
* test: update Upload demo test snapshots
* fix: remove className of Upload custom action icons
* test: upldate Upload snapshot
* test: add trailing comma in upload-custom-action-icon.md
* fix: render Upload custom action icons with React.cloneElement
* test: update Uploadlist tests
* test: use string in Upload custom icon test
* fix: remove unused-var SmileOutlined in Upload demo
* fix: fix mouseEvent param missing in Upload ActionIconRender
* fix: fix mouseEvent type in Upload ActionIconRender
* fix: test mouseEvent in upload-custom-action-icon demo
* fix: fix the missing props spread in Upload custom icon
* test: add test for custom onClick in custom Upload icon
* fix: add remove test for custom Upload icon
2020-02-17 14:55:16 +08:00
tae
88642f6048
refactor: Progress use React.Fragment
to remove unused div ( #21170 )
2020-02-02 11:12:07 +08:00
琚致远
b9dca84e78
docs: Update fileList.md ( #21144 )
...
* Update fileList.md
* Update fileList.md
2020-01-30 13:06:17 +08:00
zombiej
7c8d942034
chore: Add missing test snapshot
2020-01-03 20:45:39 +08:00
叶枫
6c3d6e7247
feat: upload add icon ( #20034 )
...
* feat: add custom icon
* chore: test
* fix: eye style
* fix: anticon style
* fix: stylelint
* Update Form.tsx
* Update Form.tsx
* feat: 26
* feat: fiie-type
* Update basic.md
* Update debug.md
* Update target.md
* Update Steps.tsx
* Update element.md
* chore: clearn up
* chore: clearn up
* chore: clearn up
* fix: handleIconRender
* fix: iconNode
2020-01-03 17:48:10 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
偏右
7dea548551
refactor: 🗑 remove deprecated or compatibility css code ( #20547 )
...
* 🗑️ remove deprecated or compatibility css code
* ✅ update snapshots
* ✅ fix test case and compile error
* ✅ fix stylelint
2019-12-31 11:54:39 +08:00
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
Rustin
92169c4853
upload: fix upload not support ico file type issue( #20360 ) ( #20375 )
2019-12-22 17:23:08 +08:00
zombiej
d76283f2b9
merge master
2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f
merge feature
2019-12-01 15:29:53 +08:00
叶枫
b022eaf9c2
fix: fix upload long picture style ( #20008 )
...
* fix: fix upload long picture style
* feat: add config-provider test
* fix: stylelint
2019-11-29 23:34:12 +08:00
ycjcl868
aedea846fc
feat: add @upload-actions-color
2019-11-29 09:04:38 +00:00
Amumu
c824569ea0
move className and style to ant-upload-drag ( #19987 )
2019-11-28 18:00:59 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons
deps ( #19979 )
...
* update icons deps
* update all icon ref
* fix lint
* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
b37b317b69
chore: merge master
2019-11-25 15:16:59 +08:00
wangxingkang
336fb41ec2
docs: Removed version column in 4.0 ( #19821 )
...
Issue #19815
2019-11-20 14:55:34 +08:00
二货机器人
efd3b35830
feat: Col support flex
prop ( #16635 )
...
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
2019-11-20 11:13:24 +08:00
叶枫
d2e98b1bb9
fix: style ( #19783 )
2019-11-18 18:20:04 +08:00
zombiej
2ba81538d8
chore: Merge master
2019-11-13 11:48:20 +08:00
叶枫
f4051d8efc
fix: fix upload error style ( #19689 )
...
* fix: fix upload error style
* feat: demo
* feat: test
* fix: tooltip
2019-11-12 21:45:32 +08:00
zombiej
3c26ac9a54
chore: merge master
2019-11-06 10:34:53 +08:00
zombiej
5bf96bbb51
merge master
2019-11-04 10:49:45 +08:00
Hossein Ahmadian-Yazdi
214458931d
Gets the XMLHttpRequest Object in Onchange function ( #19539 )
2019-11-04 10:44:43 +08:00
afc163
53efaa89a5
⚡ support Upload method
2019-11-03 12:37:48 +08:00
Ender Lee
593cfe8950
fix(Upload): add interface field ( #19485 ) ( #19496 )
2019-10-30 20:40:57 +08:00
zombiej
7a12b2b1ae
merge master
2019-10-30 16:28:28 +08:00
Sagar Jain
25927c6a41
Improve typing of UploadFile
interface
...
UploadFile interface made generic type so that a user can define a strongly typed response object if needed
2019-10-21 20:11:46 +08:00
David Broder-Rodgers
3f037b6d71
Improve types for customRequest prop on Upload component
2019-10-18 11:04:15 +08:00
叶枫
a31deb7f5d
fix: 修复点击下载按钮会执行预览方法 ( #19268 )
...
* fix: 修复点击下载按钮会执行预览方法
* chore: test
* chore: test
2019-10-18 00:02:04 +08:00
zombiej
5229d69bdc
chore: Fix demo lint
2019-10-16 10:46:33 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
骗你是小猫咪
8ffaeb8cba
Docs: upload with aliyun oss ( #19054 )
...
* docs: upload with aliyun oss
* add before upload relate data
* test: lint fail
* test: update Snapshot
* docs: review change
* test: lint fail
* handle oss policy expired
* fix: lint fail
* optimize docs
* test: lint fail
* test: upload snapshot
2019-10-15 16:14:05 +08:00
orzyyyy
c4283e4fff
test: update snapshots for rc-upload bump to 2.8.0
2019-10-06 07:18:21 +08:00
orzyyyy
3ab6c48640
chore: merge master to feature
2019-10-06 06:50:04 +08:00
啸生
71b53b7175
master to feature ( #19062 )
...
* ✅ increase upload test cov
* chore: replace resizeObserver with `rc-resize-observer` (#19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
* changelog (#19056 )
* Release 3.23.5
2019-09-30 10:31:36 +08:00
zombiej
867910e6f4
merge master
2019-09-29 18:11:24 +08:00
afc163
e5aea71b99
✅ increase upload test cov
2019-09-29 14:35:21 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
...
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
zombiej
911867622e
merge master
2019-09-26 22:28:08 +08:00
二货机器人
5aa32a3f17
chore: Put origin img size to fill the box ( #18990 )
2019-09-24 22:33:35 -05:00
偏右
9e9abfdc79
Merge branch 'feature' into master-for-merge
2019-09-23 15:33:43 +08:00
Zhuo Chen
17816b963e
feat: upload should not be aborted until handleRemove is resolved as true ( #18937 )
2019-09-23 10:16:09 +08:00
zombiej
9051c7baee
merge master
2019-09-23 10:08:32 +08:00
plainnany
068556c029
docs: update props data description for Upload ( #18915 )
2019-09-20 15:45:32 +08:00
zombiej
f30b92ec21
merge master
2019-09-17 19:31:37 +08:00
afc163
882225f65b
✅ fix eslint
2019-09-17 14:49:34 +08:00
afc163
d72f825f43
🐛 revert to class component to avoid ref warning
...
close #18707
2019-09-17 14:47:01 +08:00
叶枫
f659d23d22
feat: upload add download icon ( #18664 )
...
* feat: upload add download icon
* feat: clear up
* feat: log
* empty
* feat: 理解错误
* feat: test
* test
* feat: clean up
* Update components.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update demo.test.js.snap
* Update work-with-us.zh-CN.md
* feat: clean up
* fix: showDownloadIcon=false 24px
* fix: More rigorous
* fix: test
* fix: test
* fix: [] key
* fix: hover css
* fix: test
2019-09-11 21:46:56 +08:00
诸岳
495fc3a99a
Fix confilcts from master branch
2019-09-07 00:39:49 +08:00
kanweiwei
7ad1068006
fix transformFileHandler ts def
2019-09-05 12:21:34 +08:00
zombiej
c0105aa48f
merge master
2019-09-03 14:35:58 +08:00
二货机器人
e5d644f71a
Revert "fix: Drapper mulitple should work" ( #18626 )
...
This reverts commit 06d7f0deec
.
2019-09-03 12:35:55 +08:00
zombiej
fc1d917c62
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-09-02 10:12:05 +08:00
zombiej
06d7f0deec
fix: Drapper mulitple should work
2019-08-30 17:29:20 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
二货机器人
19cc7e7cee
chore: Add warning when use value
of Switch, Checkbox, Upload ( #18497 )
...
* chore: Add warning when use `value` of Switch, Checkbox, Upload
* clean up
2019-08-27 18:29:20 +08:00
李环冀
743ec294ef
fix upload newline bug ( #18423 )
2019-08-22 20:49:42 +08:00
偏右
8345554cd7
Merge pull request #18324 from ant-design/master
...
chore: Merge master into feature
2019-08-17 22:39:04 +08:00
偏右
c0f98beb4a
🐛 support jfif
image in Upload ( #18322 )
...
close #18183
2019-08-17 21:23:41 +08:00
shao
b4a228c4f4
perf: replace all test suite delay func to common test util sleep func
2019-08-16 17:58:42 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
afc163
2bddeef1e5
🆙 upgrade eslint-config-airbnb
2019-08-12 19:04:30 +08:00
zombiej
1cb346573c
merge master
2019-08-12 13:34:23 +08:00
zombieJ
286538ff71
chore: update ts define ( #18196 )
2019-08-10 13:06:23 +08:00
偏右
cf44d44f0f
🐛 Fix IE9 throw File not defined ( #18115 )
...
close #18109
2019-08-08 12:19:21 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
ikobe
e97bd6f4ae
feat: resolve conflicts
2019-08-04 17:28:25 +08:00
Jinke Li
0240d126ec
feat(Upload): add transformFile option for transform file before request ( #18009 )
...
* feat: add transformFile optionfor transform file before request
* feat: bump rc-upload 2.7.0
* feat(Upload): optimize doc
2019-08-04 12:18:46 +08:00
啸生
4c23bc2543
Feature ( #18049 )
...
Feature
2019-08-02 17:38:50 +08:00
zombiej
514ee9bef9
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-07-29 14:35:15 +08:00
zombieJ
24bfcacc38
fix: Upload can not click in Form.Item ( #17897 )
2019-07-25 23:53:54 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
...
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
2019-07-24 10:34:55 +08:00
afc163
518bf8c929
✅ fix snapshot
2019-07-22 19:22:51 +08:00
afc163
5742ae221c
⚡ improve upload list layout style
2019-07-22 19:22:51 +08:00
veveue
913d19113f
fix upLoadList style
2019-07-22 19:22:51 +08:00
zombiej
ef66edd0c2
merge master
2019-07-19 11:54:08 +08:00
afc163
37784bc8a2
✅ fix snapshot
2019-07-17 19:04:40 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombiej
186f973e50
merge master
2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
zombieJ
b5143df1a4
fix: Upload preview should work with Blob ( #17392 )
...
* fix: Upload preview should work with Blob
* rm only
2019-07-01 17:52:37 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
ztplz
bd0479b30b
Remove useless type
2019-06-02 20:16:02 +08:00
DiamondYuan
c7bc6b743c
fix: fix type of action in UploadProps
2019-05-29 13:53:33 +08:00
DiamondYuan
fa5d5e0a96
fix: fix type of RcFile
2019-05-29 13:52:35 +08:00
DiamondYuan
81da6e90d4
fix: add webkitRelativePath ( #16850 )
2019-05-29 10:56:04 +08:00
mingyan.yu
1eb46ebaac
feat: add disable style to upload component
2019-05-26 13:12:28 +08:00
veveue
59e2f072c2
upload disabled remove
2019-05-25 16:34:38 +08:00
zombiej
a9b5acfba9
update preview demo
2019-05-24 16:36:09 +08:00
偏右
55bd82d6b9
Merge pull request #16716 from christophehurpeau/patch-2
...
fix: Upload prop action: fix typings
2019-05-22 00:13:24 +08:00
Christophe Hurpeau
acaae5c850
Upload prop onRemove: fix action
...
d0cf0eecee (api)
2019-05-21 16:00:25 +02:00
Christophe Hurpeau
2d986ba2c2
Upload prop onRemove: allow Promise as return type
2019-05-13 17:59:40 +02:00
偏右
2d8396bad7
🐛 Avoid disabled Upload being triggered by label ( #16483 )
...
close #16478
2019-05-08 20:26:19 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
afc163
bde2eb36b3
🎬 use new file upload mock API
...
https://www.mocky.io/
2019-04-30 16:10:00 +08:00
afc163
8082b4c2cf
⚡ Improve upload demo
...
close #16375
2019-04-30 15:52:58 +08:00
信鑫-King
59856a093b
fix: Upload types ( #16360 )
...
* fix: Upload types
* fix: ci
* fix: ci
* fix: ci
* fix: ci
2019-04-28 20:49:57 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
zy410419243
1e3efc4069
chore: remove unexpected mock restore
2019-03-25 21:48:18 +08:00
zy410419243
d1ed127030
pref: add missing mockRestore
2019-03-25 21:48:18 +08:00
zy410419243
acaff8dea2
pref: clearInterval should not be called before unmount
2019-03-25 21:48:18 +08:00
zy410419243
2ee56a9c4a
pref: spy on clearInterval for Upload & check actions for Card
2019-03-25 21:48:18 +08:00
zy410419243
337e0285ec
chore: remove useless test cases
2019-03-25 21:48:18 +08:00
zy410419243
c289be6a8a
test: update cases for Upload
2019-03-25 21:48:18 +08:00
afc163
14c1e68088
🐛 Fix Upload border jumping issue in Chrome
...
close #15634
2019-03-25 19:15:48 +08:00
afc163
bd27b6b836
📝 Optimize some docs
2019-03-19 11:44:00 +08:00
Aleksandr Chernokondratenko
357e79cf48
Fix checking if file is image or not in the UploadList ( #15412 )
...
* Fix checking if file is image or not in the UploadList
* Fix type
* Add correct checking if file is image or not
* Change startWith to indexOf, update test
* Increase delay in test to pass CI
* Update test
2019-03-18 10:47:17 +08:00
zy410419243
f38323aeca
refactor: remove unexpected export
2019-03-07 14:43:25 +08:00
zy410419243
e6c1fd3385
test: update cases for UploadList
2019-03-07 14:43:25 +08:00
偏右
779ba73528
🐛 fix upload instance cannot exposed in TypeScript ( #15090 )
...
close #14439
2019-02-27 18:37:44 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
afc163
8fc3cb8d24
🐛 Fix always uploading if upload button is hidden during
...
close #14779
caused by the previous fix in #14298
reverted and change another way to fix #14299
2019-02-11 23:08:27 +08:00
zy410419243
bf4560cf37
docs: fix wrong usage of comma
2019-02-07 13:59:32 +08:00
afc163
d3e16b2dc6
🐛 Remove upload control if there is no trigger
...
in case of upload control triggered by label in some situations
close #14298
2019-01-29 15:31:39 +08:00
Subroto
7b8a39772b
Fix fileIndex
not found TypeError (IE 11)
...
fileIndex is not present in IE 11 Array.prototype
2019-01-29 10:53:35 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +08:00
Hal-pan
692392d320
fix test case
2019-01-17 00:43:26 +08:00
Hal-pan
7c5083f4fa
add test case
2019-01-17 00:43:26 +08:00
Hal-pan
4ac517d610
fix upload remove
2019-01-17 00:43:26 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
zombiej
874ed98e31
merge master
2019-01-02 17:12:34 +08:00
Barry
f3e6140c0d
Support JD image type dpg
2018-12-29 17:41:46 +08:00
afc163
8b5e78f174
Merge branch 'master' into feature
...
* master:
Fixed Modal width when screen size smaller than 768px
🚨 coverage precision to 1
🚨 update .codecov.yml
💄 Fix Badge animation jump when count is ReactNode
fix Popover arrow narrow line at top
fix Popover arrow border in different directions
fix popover arrow top shadow
Change render of + & - icon fix #13924
🐛 loose button type propTypes for custom usage
fix input has min size close #3699
fix: fix-picture-spell-error
2018-12-26 20:47:12 +08:00
alexchen
42d0b7a179
fix: fix-picture-spell-error
2018-12-26 16:49:44 +08:00
zombiej
b5fc19632b
merge master
2018-12-26 14:23:40 +08:00
alexchen
9763c15db4
refactor: add upload-picture-card-border-style
2018-12-26 13:12:38 +08:00
陈帅
daca08b6f1
merge master
2018-12-13 22:03:12 +08:00
afc163
8d2a42fa91
📝 fix outdated link
2018-12-10 00:23:50 +08:00
Ali Zhdanov
4c6244bd0c
Outdated url to file input accept prop ( #13531 )
...
Looks like outdated URL to file input `accept` prop. I've added the proper one.
2018-12-10 00:21:48 +08:00
bukas
814980d9c6
fix: upload blob preview && upload beforeUpload doc ( #13528 )
...
* fix: upload not preview blob
* fix: test && readme
* fix: upload promise
2018-12-10 00:16:51 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zy410419243
1faf4c621d
fix: change wrong return value of filter
2018-12-06 08:09:52 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ycjcl868
44812cf5e8
✅ upload utils test
2018-12-01 22:44:00 +08:00
afc163
6b2c0a59b3
🐛 Fix upload thumbnail icon broken styles
...
close #13333
2018-11-28 20:33:32 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
ddb331a6a9
💚 Fix snapshot
2018-11-20 11:20:14 +08:00
afc163
13c25adc6d
📝 Upload action is not required prop
2018-11-19 18:52:47 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
ycjcl868
b2e2607521
fix: upload list preview file check
2018-11-07 12:02:06 +08:00
ycjcl868
ada43adc65
🐛 fix uploadList thumbUrl image type check
2018-11-07 12:02:06 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
偏右
a4c1bccd2a
Fix upload and mention test cases ( #12586 )
2018-10-11 15:11:44 +08:00
Amumu
bc54db2185
fix typo
2018-10-07 00:30:13 +08:00
Wei Zhu
4ce3800de7
Merge branch 'master' into feature
2018-09-29 16:27:07 +08:00
Amumu
ef4e699f1d
Update avatar.md ( #12458 )
2018-09-28 22:14:04 +08:00
Tom Xu
0b9d00a0ad
Upload add props openFileDialogOnClick
2018-09-21 15:56:18 +08:00
包子熊
db9e30047c
fix upload close icon style error ( #12330 )
2018-09-20 15:31:23 +08:00
zombiej
1883996943
no need to use let
2018-09-20 10:11:04 +08:00
zombiej
273fd2ea1b
fix #10953 . Dedup of file onStart upload
2018-09-19 22:37:35 +08:00
afc163
efb23c1525
Fix linkProps in upload fileList
...
1. should support json string format
2. should be able to override props like rel, target, title and etc
2018-09-14 11:43:02 +08:00
afc163
9d5920b39d
doc: remove old usage instruction
2018-09-14 11:31:53 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
包子熊
67024893ce
Hotfix/icon issue ( #12016 )
...
* fix progress icon
* remove IconDisplay fields.js
* update progress test snapshot
* fix form item circle filled
* update form-item test snapshot
* fix close icon in upload item list
* fix alert icon theme
* update alert test snapshot
* fix time picker clear icon
* fix test snapshot
* fix rotate icon in the header
* update test snapshot
* update new tree test snapshot
* fix icon position
* fix old icon and new icon both display
* fix card actions icon position
2018-09-03 19:29:27 +08:00
HeskeyBaozi
24568f61ff
use the whole svg icons
2018-09-02 23:39:58 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
afc163
207bad7b47
Merge branch 'master' into feature-3.9.0
2018-09-01 13:22:06 +08:00
偏右
6bf42db2ed
Fix abnormal picture card position of Upload list, close #11183 ( #11931 )
2018-08-29 00:21:46 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
afc163
be78706364
Merge branch 'master' into feature-3.9.0
2018-08-25 18:55:32 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
afc163
612c5d5c55
Fix Upload.Dragger drag area, close #11869
2018-08-24 20:44:43 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
苏秦
3ffc7f6ac2
Upload: remove necessary signatures
2018-08-22 20:00:42 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
HeskeyBaozi
f275f3090a
update Icon api
2018-08-16 11:41:37 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935
update test snap shot
2018-08-13 14:46:55 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
董天成
6203298f32
Fix typescript compile error ( #11709 )
2018-08-10 22:03:59 +08:00
张聪
8a9fbcb5e4
Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm ( #11682 )
...
* Upload lifecycle method migrate
* CheckboxGroup lifecycle method migrate
* Layout.Sider lifecycle method migrate
* Tooltip lifecycle method migrate
* Popconfirm lifecycle method migrate
* test Spin as a controlled component
2018-08-10 17:04:40 +08:00
afc163
f2ce60cb6c
fix test case failed often
2018-08-09 21:03:14 +08:00
JamesYin
583abe8dbb
compatible with thumbnail which url has no extension ( #11684 )
...
* compatible with thumbnail which url has no extension
* restore newline #11684
2018-08-09 20:30:02 +08:00
afc163
7f78cc9753
Fix detete x missing in Upload, close #10454
2018-08-08 20:00:26 +08:00
Dmitriy Mironov
a270597d63
Fix a typo
2018-08-08 10:36:07 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
Benoît Latinier
2b72149a50
Add strokeLinecap attribute to progress component
2018-08-04 16:58:50 +08:00
afc163
aa2b1a4352
Merge branch 'master' into feature-3.8.0
2018-08-03 23:16:08 +08:00
Wu Haotian
57646f24db
fix: correct typing of RcFile. close #10331
2018-08-02 18:05:31 +08:00
HeskeyBaozi
cc180e2605
resolve conflict.
2018-08-02 18:02:31 +08:00
afc163
2f81349c21
fix error in typescript@3.x
2018-08-01 15:43:47 +08:00
HeskeyBaozi
6c42d711e8
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-07-31 15:36:23 +08:00
Ilan Hasanov
6cecc9a0ea
💬 fixing upload component typos and capitalization consistency for en-US
2018-07-29 01:15:02 +08:00
HeskeyBaozi
ee16585b6d
update test cases
2018-07-25 11:51:19 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
afc163
0c4d356e54
Merge branch 'master' into feature-3.7.0
2018-07-03 19:54:48 +08:00
afc163
7d038d1aee
revert 4d5d3c142e
2018-06-30 19:05:09 +08:00
afc163
763d32ac68
Fix tslint
2018-06-30 18:49:43 +08:00
afc163
4d5d3c142e
fix fileList in onChange when uid is 0, close #11089
2018-06-29 13:57:47 +08:00
zelongc
27c3093487
Typo fix in the upload component demo.
...
Change 'reponse' to 'response'.
2018-06-29 12:47:01 +08:00
afc163
0981ef06a4
fix demo lint
2018-06-27 16:14:47 +08:00
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Wei Zhu
b374297ca6
Merge branch 'master' into feature-3.7.0
2018-06-25 11:44:35 +08:00
愚道
653ec40b30
update test snapshot
2018-06-23 11:31:42 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
afc163
e7fa6ca7eb
Merge branch 'master' into feature-3.7.0
2018-06-19 15:31:53 +08:00
sliwey
450a497412
fix: upload preview can't show image when the image file use uppercase extension
...
1.fix: upload preview can't show image when the image file use uppercase extension.
2.improve: remove unnecessary escape character.
2018-06-15 13:52:14 +08:00
afc163
fd96967c87
upgrade rc-upload to 2.5
...
- support `directory` close #7315
- action can be a function return Promise
2018-06-12 16:07:06 +08:00
Junbin Huang
e1ba74e5fc
fix: still keep order when upload fails ( #10794 )
2018-06-06 12:13:06 +08:00
Wei Zhu
87163dfcd6
tests: mock xhr request
...
Close #10342
2018-05-31 22:37:09 +08:00
afc163
89ed0dcb35
fix autoUpdateProgress percent and add test case
2018-05-22 23:29:09 +08:00
afc163
0fc5a0ece5
site: add alt to images
2018-05-21 23:47:22 +08:00
afc163
70a42545e3
fix fileToObject, close #10319
2018-05-02 13:56:54 +08:00
Daniel Gomez
3a5fce7256
Fix UploadFile's lastModifiedDate property name ( #10315 )
2018-05-01 00:11:18 +08:00
afc163
e97977b891
Fix upload onChange arg type when beforeUpload return false, close #10293
2018-04-28 11:06:32 +08:00
Wu Haotian
7eb2792072
fix typing for Upload.beforeUpload
( #10059 )
...
* fix typing for `Upload.beforeUpload`
fix #9775
* add RcFile interface, fix tests
* fix typing of `Upload.onStart`
2018-04-19 11:54:28 +08:00
刘红
ee4f788ae0
添加BMP的支持 ( #10110 )
2018-04-17 14:44:43 +08:00
afc163
3b00cf8971
Fix image when file.url has query or hash
...
close #10102
2018-04-17 13:49:03 +08:00
Ed Moore
31e50e50b6
Fix types ( #10063 )
...
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
2018-04-16 10:58:17 +08:00
afc163
e1a5063daf
test: fix ci warning
2018-04-15 15:10:25 +08:00
偏右
a9376ef1ca
Fix image url display with non-image extention in Upload ( #9936 )
...
now we treat url following below rules:
1. `data:image..` => image
2. `http://xxx.com/xxxx .(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip ` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx ` without any extensions => image
close #9835
close #9681
ref #9621
2018-04-04 17:17:01 +08:00
afc163
e6b3490a8e
fix test case
2018-04-04 15:50:08 +08:00
Wei Zhu
5336bd688f
Fix type error
2018-04-04 14:49:14 +08:00
Wei Zhu
5ab1c4ce53
Revert "Convert file object"
...
This reverts commit ee0bf41672
.
2018-03-25 11:40:51 +08:00
Wei Zhu
ee0bf41672
Convert file object
...
Close #9775
2018-03-23 11:23:47 +08:00
王集鹄
decb6d8390
Compatible with non-image format file preview in UploadList ( #9621 )
...
* Compatible with non-image format file preview in UploadList
* Add unit test about Upload List should non-image format file preview
2018-03-11 22:24:09 +08:00
afc163
e071002fae
use lodash
2018-03-08 14:46:47 +08:00
afc163
15e69d09ca
Fix test cases
2018-03-06 21:47:05 +08:00
偏右
8226ede38e
Fix test case for new jsdom ( #9527 )
...
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
2018-03-06 21:21:01 +08:00
afc163
626ebf2063
Fix upload list update logic when beforeUpload return false
...
close #8020 #8779 #9248 #9191
ref #8036
2018-02-11 16:11:13 +08:00
afc163
c9b2efc9e8
Add more test cases for Upload
2017-12-04 15:59:39 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Wei Zhu
179528af50
Don't change fileList when beforeUpload returns false ( #8299 )
...
Close #8036
2017-11-29 20:28:19 +08:00
Wei Zhu
cbaf54415e
style: Use single quote
2017-11-20 16:53:56 +08:00
Wei Zhu
03e4411589
Improve upload type definition
2017-11-20 16:43:25 +08:00
Wei Zhu
45135e4ec8
Improve upload type definition.
2017-11-20 16:31:41 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
a4faaad810
Merge branch 'master' into antd-3.0
2017-11-13 10:24:58 +08:00
Wei Zhu
0c7ce9db17
Use props
...
Related #7706
2017-11-10 09:48:07 +08:00
afc163
856ecd4ae3
Merge branch 'master' into antd-3.0
2017-11-09 19:45:06 +08:00
afc163
d30e398859
Fix upload.test.js
2017-11-09 19:34:48 +08:00
afc163
e2bff100bd
Fix upload style
2017-10-26 11:59:18 +08:00
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
3f57d5f56d
Merge branch 'master' into antd-3.0
2017-10-23 10:41:51 +08:00
ddcat1115
c9bc8d7095
fix Upload ci
2017-10-22 23:36:27 +08:00
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +08:00
afc163
4ab7c648ce
Fix upload loading
2017-10-18 21:30:48 +08:00
niko
70491fe4ad
fixed https://github.com/ant-design/ant-design/pull/7733 ( #7914 )
2017-10-18 00:05:10 +08:00
afc163
ad4d5ce18a
Fix dragger background
2017-10-17 20:56:29 +08:00
afc163
c5ffc3b4f0
Fix upload and badge styles
2017-10-17 15:01:21 +08:00
afc163
dfb3b4136b
Fix snap
2017-10-16 21:15:53 +08:00
afc163
00bfa49031
Merge branch 'master' into antd-3.0
2017-10-16 20:45:25 +08:00
afc163
26e416c364
Tweak style
2017-10-16 19:56:04 +08:00
Wei Zhu
e6b1ba6a28
Mock requests
2017-10-15 17:34:03 +08:00
afc163
94c6c910ff
Merge branch 'master' into antd-3.0
2017-10-12 20:07:31 +08:00
偏右
43362de756
Fix beforeUpload will stop uploading when return ( #7870 )
...
value is undefined
it should be same as rc-upload
2017-10-12 14:48:35 +08:00
偏右
b77cc6392e
Improve upload status test case ( #7869 )
...
* Add some companies
* test: generate snapshot in upload onChange
* change action
* upgrade travis node version
* fix ci
2017-10-12 14:09:17 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
278ae9b9c7
Fix upload ci
2017-10-11 10:18:02 +08:00
afc163
064afd9b85
fix upload ci
2017-10-11 09:54:13 +08:00
afc163
163366deeb
Merge branch 'master' into antd-3.0
2017-10-10 21:52:48 +08:00
偏右
2b7a60224b
Fix upload ci ( #7849 )
...
* Fix upload test case
* update delay time for uploading status
2017-10-10 21:48:21 +08:00
afc163
fd7c90fb5a
update upload snap file
2017-10-10 20:02:35 +08:00
afc163
8feaf83003
fix upload test
2017-10-10 19:54:52 +08:00
afc163
190bebd65f
Fix upload snapshot
2017-10-10 19:54:38 +08:00
afc163
5a5bb9c3a0
Fix upload snapshot
2017-10-10 19:54:05 +08:00
afc163
87ec78ce2e
Merge branch 'master' into antd-3.0
2017-10-10 17:11:26 +08:00
afc163
b437233467
Fix upload picture loading style
2017-10-10 16:23:25 +08:00
afc163
c3f1d0bba6
Add test case for upload
2017-10-10 15:59:13 +08:00
Wei Zhu
0d572c72a9
Add test for 9a5894c
...
9a5894c46e
2017-10-10 14:45:18 +08:00
afc163
d3b98d311a
Merge branch 'master' into antd-3.0
2017-10-10 14:09:03 +08:00
afc163
9a5894c46e
data should be call when beforeUpload promise resolved, close #7833
2017-10-09 19:41:52 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
7a8a1a8ee3
Merge branch 'master' into antd-3.0
2017-09-30 21:31:29 +08:00
niko
9dc4102cdd
fix: should trigger onChange before beforeUpload
2017-09-29 03:52:16 -05:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00