Commit Graph

500 Commits

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