Commit Graph

346 Commits

Author SHA1 Message Date
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
Zhuo Chen
17816b963e feat: upload should not be aborted until handleRemove is resolved as true (#18937) 2019-09-23 10:16:09 +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
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
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
b30dc1c3bc merge master 2019-08-06 17:46:53 +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
zombiej
514ee9bef9 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-07-29 14:35:15 +08:00
afc163
518bf8c929 fix snapshot 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
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
偏右
2d8396bad7 🐛 Avoid disabled Upload being triggered by label (#16483)
close #16478
2019-05-08 20:26:19 +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
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
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
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
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
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
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
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +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
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +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
ddb331a6a9
💚 Fix snapshot 2018-11-20 11:20:14 +08:00
偏右
a4c1bccd2a
Fix upload and mention test cases (#12586) 2018-10-11 15:11:44 +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
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +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
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +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
张聪
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
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
Wu Haotian
57646f24db fix: correct typing of RcFile. close #10331 2018-08-02 18:05:31 +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
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
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
70a42545e3 fix fileToObject, close #10319 2018-05-02 13:56:54 +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
afc163
3b00cf8971 Fix image when file.url has query or hash
close #10102
2018-04-17 13:49:03 +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
王集鹄
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
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
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
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
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
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
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
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +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
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
afc163
84e561b237 Fix removing wrong item when uid is 0, close #7269 2017-08-20 15:39:25 +08:00
Benjy Cui
2413c6af61 fix: make loading work with icon only button in button group, close: #6822 2017-07-14 15:26:55 +08:00
Wei Zhu
4960f711c3 docs: Add manual upload demo (#6823) 2017-07-14 15:00:14 +08:00
afc163
224c46ded9 fix typo 2017-04-30 18:47:15 +08:00
afc163
dbbf09ae95 fix createClass in test 2017-04-27 21:12:23 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
jiang
8ca2bfd12a upload (#5210)
* fix upload firefox delete anim, update list animate

* update picture cssName

* remove note

* update animate Name

* refactor upload animation code

* refactor upload dom structure

* update upload demo snapshots
2017-03-08 18:02:15 +08:00
afc163
29adc0a85e fix upload snapshot 2017-03-08 12:20:16 +08:00
Wei Zhu
6eca8b4ad1 Add locale support to Upload (#5094) 2017-02-28 18:43:22 +08:00
afc163
61a3d66a02 Add test case for upload 2017-02-22 16:07:31 +08:00
afc163
90daeb9a2b Adjust upload demo 2017-02-19 01:39:41 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
afc163
a81bf8f73e use file.thumbUrl for <img /> in priority, close #4653 2017-01-24 14:59:39 +08:00
偏右
aa89addcc2 Improve upload list (#4516)
* support prevent removing when return value is false, close #4456

* Add showRemoveIcon & showPreviewIcon into showUploadList

close #4384 & #4351

* fix typo
2017-01-10 20:15:02 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00