程成
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