Commit Graph

587 Commits

Author SHA1 Message Date
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