Commit Graph

7401 Commits

Author SHA1 Message Date
Havin
2c4c5fc6e3 move getPopupContainer from SelectProps to AbstractSelectProps (#11690) 2018-08-09 20:48:37 +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
bda65ddb1e update select snapshot 2018-08-09 16:07:57 +08:00
HeskeyBaozi
4945d66084 update select 2018-08-09 12:07:27 +08:00
afc163
7f78cc9753 Fix detete x missing in Upload, close #10454 2018-08-08 20:00:26 +08:00
Cong Zhang
52cb4fe9cb TimePicker #9792 peer with react@15 2018-08-08 16:19:23 +08:00
afc163
b4d95f7e20 Refactor button click effect implementation
for better perfermance
2018-08-08 16:18:45 +08:00
afc163
45fb83d64c simplify style code 2018-08-08 16:18:45 +08:00
偏右
070e340958 Revert "TimePicker #9792"
This reverts commit 5b37e09ea1.
2018-08-08 14:03:15 +08:00
afc163
e2534681c4 update snapshot 2018-08-08 11:05:07 +08:00
Cong Zhang
5b37e09ea1 TimePicker #9792 2018-08-08 10:38:39 +08:00
João Paquim
363a29c942 Fix typo, filed => field 2018-08-08 10:37:42 +08:00
Dmitriy Mironov
a270597d63 Fix a typo 2018-08-08 10:36:07 +08:00
afc163
287d08890a renew typescript typings 2018-08-07 23:52:59 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
tangjinzhou
257f3ec35d fix: badge offset x y axis order error 2018-08-07 20:45:58 +08:00
Zheeeng
c3326a5bff Add missing prop signature destroyInactivePanel 2018-08-07 17:31:35 +08:00
HeskeyBaozi
9657f4f3a5 update Switch test snapshot 2018-08-07 16:36:38 +08:00
HeskeyBaozi
4afd19ef5f use svg loading icon in Switch component 2018-08-07 16:35:56 +08:00
HeskeyBaozi
15bc92dd3c remove useless jsx prop 2018-08-07 16:35:26 +08:00
HeskeyBaozi
f90d32a0ef fix lint 2018-08-06 20:16:32 +08:00
afc163
b6e9646a6a Fix that focusable element in inactive panel cause tabs disappear
close #11261
2018-08-06 18:40:46 +08:00
HeskeyBaozi
bcfbf1f46a update docs & support svg-sprite-loader 2018-08-06 18:10:30 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
afc163
80f82674fb Fix TimePicker unexpected long width 2018-08-05 20:15:54 +08:00
afc163
76afe5037d demo: improve drawer demo and test case code 2018-08-05 14:28:39 +08:00
afc163
1b3d063990 test: fix drawer test case 2018-08-05 14:16:08 +08:00
afc163
bead75021b change and undocument onSelectMultiple cause it need more disscuss 2018-08-05 13:58:54 +08:00
afc163
510add6305 Drawer wrapClassName => className 2018-08-05 11:56:40 +08:00
Fernando Giarritiello
5cac2fab4a Added className prop to Drawer 2018-08-05 11:48:51 +08:00
HeskeyBaozi
535f68dbd0 add icon features 2018-08-04 18:42:41 +08:00
afc163
e450ab64fa Merge branch 'feature-3.8.0' 2018-08-04 17:00:17 +08:00
afc163
80a4581a79 Fix progress demo 2018-08-04 16:59:25 +08:00
Benoît Latinier
2b72149a50 Add strokeLinecap attribute to progress component 2018-08-04 16:58:50 +08:00
afc163
afeda4fe70 demo: update presetted-ranges description 2018-08-04 12:04:07 +08:00
Evert Bouw
268a1817b7 remove blank line 2018-08-04 11:33:49 +08:00
Evert Bouw
cc6e1ba9d7 Clean up TextAreaProps type
The props for TextArea included React.TextareaHTMLAttributes twice
2018-08-04 11:33:49 +08:00
Thibault Derousseaux
43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
afc163
aa2b1a4352 Merge branch 'master' into feature-3.8.0 2018-08-03 23:16:08 +08:00
Jackie.Ls
9b150d9246 update (#11597) 2018-08-03 17:13:50 +08:00
Bartek
b9c248f313 changing the interface of TreeSelect, updating docs (#11538) 2018-08-03 17:12:51 +08:00
HeskeyBaozi
ccdff565de Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-03 15:54:57 +08:00
NumanHassan
a14ba62a07 Update index.en-US.md (#11587) 2018-08-02 21:00:53 +08:00
Emerson Laurentino
0f9da43522 Avatar custom size (#11419)
* add avatar support custom size

* me added to author list and sorting alphabetically

* fix avatar sizeChildrenStyle preference

* fix authors

* fix snapshots
2018-08-02 20:25:14 +08:00
Wu Haotian
57646f24db fix: correct typing of RcFile. close #10331 2018-08-02 18:05:31 +08:00
HeskeyBaozi
46cb1c8cde resolve conflict. 2018-08-02 18:02:43 +08:00
HeskeyBaozi
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
afc163
e397c094bb site: Add ErrorBoundary for live demo, ref #11553 2018-08-02 16:34:04 +08:00
afc163
8dad311df0 Fix Slider demo error when input non-number string, close #11553 2018-08-02 16:24:13 +08:00
afc163
471f9409f9 chore demo code style 2018-08-02 16:23:08 +08:00
Eden Wang
f01d436dd5 add test case for input.group in tooltip 2018-08-02 12:14:21 +08:00
Eden Wang
ed66395a12 export event for input.group 2018-08-02 12:14:21 +08:00
Chandler Moisen
10f1c6ceaa Modal.confirm title overflow:hidden 2018-08-02 11:27:32 +08:00
Alexander Anpleenko
ac924d9443 fixed a word mistake 2018-08-02 11:16:19 +08:00
17073025
c31371e5a6 fix(auto-complete): add missing autoFocus prop in type 2018-08-02 10:48:38 +08:00
afc163
2f81349c21 fix error in typescript@3.x 2018-08-01 15:43:47 +08:00
afc163
a06afee8b6 Merge branch 'master' into feature-3.8.0 2018-08-01 15:33:55 +08:00
yoyo837
eab74fa693 For #11537, Centered style should be applied to the wrap element. 2018-08-01 11:16:17 +08:00
Juan Rodrigo Venegas Boesch
f4d631ddc2 CH md translation applied. 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
73d708f1fa Fixed the prefix oops. 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
4ab281a494 snapshot updated 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
dd3f520129 Translation added in CH. and pre-fix added to class 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
04a1808fc3 overflow fix
Preventing from text to overflow the designed area.
2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
121efd1f4c Timeline design change feature
added a new prop to timeline called mode where you can send 'alternate' to change the timeline design and 'right' to flip horizontally.
2018-08-01 00:09:50 +08:00
Kian
6a28b44eca add tagPrefixCls props 2018-07-31 21:15:10 +08:00
yoyo837
f14e207912 Boolean 2018-07-31 21:14:48 +08:00
yoyo837
45e9b2a937 fix prefixCls is missing in restProps 2018-07-31 21:14:48 +08:00
yoyo837
ef31697d26 Support centered settings 2018-07-31 21:14:48 +08:00
Ilan
d7a9783299 update button snapshots 2018-07-31 18:42:12 +08:00
Ilan
b5ed207902 🚚 fitContainer -> block name conversion 2018-07-31 18:42:12 +08:00
Ilan
8fab1e1d1b 🐛 update fitContainer order 2018-07-31 18:42:12 +08:00
Ilan
5536a4ca3b 📝 update chinese button api doc 2018-07-31 18:42:12 +08:00
Ilan
9742be40a7 📝 update button api docs 2018-07-31 18:42:12 +08:00
Ilan
623cf1eaff introducing fitContainer prop for button 2018-07-31 18:42:12 +08:00
afc163
aa6b55be7e clean up unused code 2018-07-31 16:40:48 +08:00
HeskeyBaozi
35e56a41cd resolve conflict. 2018-07-31 16:33:20 +08:00
HeskeyBaozi
c28c30d124 use rc-dialog@3.2.0, use svg close icon in Modal component. 2018-07-31 16:19:10 +08:00
HeskeyBaozi
34e658d70b use rc-notification@3.2.0, use svg close icon in Notification component. 2018-07-31 15:59:51 +08:00
afc163
0156fef165 fix tabs ci in React 15 2018-07-31 15:50:27 +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
Lucien Lee
7c43bc553f change message type to React.ReactNode 2018-07-31 13:58:26 +08:00
Lucien Lee
6606aad391 allow validator message as ReactChild 2018-07-31 13:58:26 +08:00
Ooi Yee Wei
c849a73f4e First commit 2018-07-30 21:29:26 +08:00
afc163
56fa8629b5 Merge branch 'master' into feature-3.8.0 2018-07-30 17:58:21 +08:00
tangjinzhou
92dc0dc2b0 feat: add onChange for Calendar 2018-07-30 17:57:34 +08:00
Wei Zhu
d7ca64b95c docs: add resizable column table demo 2018-07-30 17:47:31 +08:00
zombiej
6617f785fd fix #11458. Adjust treeNode draggable css 2018-07-30 13:56:49 +08:00
zombiej
b8b9aeb1ce Merge remote-tracking branch 'origin/feature-3.8.0' into tmp 2018-07-30 12:05:50 +08:00
zombiej
17b82a251a update rc-tree 2018-07-30 12:05:29 +08:00
afc163
a654d86d65 Merge branch 'master' into feature-3.8.0 2018-07-29 15:31:35 +08:00
afc163
42efc2927d fix card tabs demo 2018-07-29 15:31:20 +08:00
afc163
a3a2bf9c7d demo: upgrade popover demo 2018-07-29 15:23:30 +08:00
afc163
51d32baa62 fix tabs test snapshots 2018-07-29 15:19:59 +08:00
afc163
636c343b16 Merge branch 'master' into feature-3.8.0 2018-07-29 15:06:36 +08:00
afc163
af03ae67f9 Fix TimePanel jump issue of hovering, close #11460 2018-07-29 15:03:35 +08:00
afc163
af4ed3988a chore DatePicker and TimePicker font style 2018-07-29 15:02:34 +08:00
Ilan
97bf63086e 🐛 update popover hover and click example order 2018-07-29 12:42:56 +08:00
Ilan
068dc8ec38 popover that can be hovered and clicked 2018-07-29 12:42:56 +08:00
Eden Wang
522aee18c3 add timeout to wait trigger result 2018-07-29 12:41:46 +08:00
Eden Wang
84e995ff63 add test case for date picker in tooltip 2018-07-29 12:41:46 +08:00
Eden Wang
6804094fa2 export mouse enter and mouse leave event for datepicker 2018-07-29 12:41:46 +08:00
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
Ilan Hasanov
d0ca9ae05e 💬 input component blank spaces remove 2018-07-29 01:15:02 +08:00
Ilan Hasanov
8ee70e84b6 💬 update layout copyrights year and fix typos 2018-07-29 01:15:02 +08:00
Ilan Hasanov
da92bfeba2 💬 fix tabs component blank spaces 2018-07-29 01:15:02 +08:00
Ilan Hasanov
186496d840 💬 fix tree component typos 2018-07-29 01:15:02 +08:00
Ilan Hasanov
6cecc9a0ea 💬 fixing upload component typos and capitalization consistency for en-US 2018-07-29 01:15:02 +08:00
afc163
7d46cabb17 docs: Add instruction about cascader typo api 2018-07-29 00:05:44 +08:00
littleLane
b23d742f1b feat: add rowSelection.columnTitle to Table 2018-07-28 14:57:00 +08:00
qliu
c6518b92aa fix: get label should use childrenKeyName for arrayTreeFilter when us… (#11311)
* fix: get label should use childrenKeyName for arrayTreeFilter when use customer fieldNames otherwise It can not get correct label array

* feat: add fieldNames test case in Cascader

* fix: cli fail

* fix: cil fail again
2018-07-28 13:29:39 +08:00
Eric Turriff
1bbf59bb1d fixed typo in InputNumber docs 2018-07-28 13:03:37 +08:00
yoyo837
5ca7d75c0d fix doc 2018-07-28 02:04:49 +08:00
yoyo837
ce24f278cf docs 2018-07-28 02:04:49 +08:00
yoyo837
6ae02a9ab7 progress-dot 2018-07-28 02:04:49 +08:00
yoyo837
a0a0d88b78 Fix content without vertical alignment icon when using vertical label mode; And description text-align: center; 2018-07-28 02:04:49 +08:00
HeskeyBaozi
ad610e9a27 use svg icon in closable tabs 2018-07-27 17:54:14 +08:00
This JJ
2e7d08e98f Add id to Select props (#11189)
* Can set id to props on Select

* Update index.tsx
2018-07-27 16:47:07 +08:00
Grant Klinsing
fd06d7b8b1 Update Pagination Typescript definition to include "role" (#11474)
* Add data-, aria- and role prop types to match rc-pagination

* Remove data- and aria- definitions since they are allowed already
2018-07-27 15:14:20 +08:00
zombiej
f5652f8e57 make title & label as optional props in treeSelect 2018-07-25 17:06:44 +08:00
Wei Zhu
9f76f1c276 chore: add tests for b9992f4 2018-07-25 16:31:18 +08:00
Wei Zhu
b9992f4a08 fix: DatePicker can not change year/month when under control
React 16.4 call getDerivedStateFromProps on every render

close #11447
close #11440
close #11439
close #11416
close #11405
2018-07-25 15:42:48 +08:00
HeskeyBaozi
318528dc4f use svg icon in input-number component 2018-07-25 15:14:16 +08:00
HeskeyBaozi
010bdebc28 update drawer 2018-07-25 12:04:26 +08:00
HeskeyBaozi
768af40c4c Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
#	components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
#	components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
d076ad84d5 fix lint 2018-07-25 11:48:50 +08:00
HeskeyBaozi
759f7a1c55 use svg close icon in drawer. 2018-07-25 11:45:42 +08:00
HeskeyBaozi
62aff06067 remove dropdown submenu css font icon 2018-07-25 11:43:37 +08:00
HeskeyBaozi
2f469a3404 use svg icon in form feedback 2018-07-25 11:42:26 +08:00
JribiBelhassen
36f396f86f Change label in TreeData interface to title, since label is deprecated (#11442) 2018-07-25 10:53:18 +08:00
afc163
fbf1a35249 Fix extra scrollbar style of Modal.confirm in Firefox, close #11432 2018-07-24 16:27:21 +08:00
Wei Zhu
6199340b5f Merge branch 'master' into feature-3.8.0 2018-07-24 14:55:53 +08:00
Raphael Chauveau
08e83193f2 Multiple row selection (#11406)
This PR intends to solve issue #11404 (Multiple row selection in table component).

The Chinese documentation is missing from the PR. Could someone please add it ?
2018-07-24 14:49:23 +08:00
paranoidjk
ecff4997d9 feat(Avatar): expose onError (#11285)
* feat(Avatar): expose onError

* refactor: test case coverage
2018-07-24 12:14:34 +08:00
Andrzej Dybionka
968371b22a fix: table onChange event is fired every time when close filterDropdown
Close #11164
2018-07-24 12:02:01 +08:00
Will
e91f67b87c Update index.zh-CN.md (#11427)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [ ] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [ ] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [ ] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [ ] Rebase before creating a PR to keep commit history clear.
* [ ] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [ ] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.
2018-07-24 11:29:30 +08:00
zongzi531
e29a88b704 fix: badge type error. 2018-07-24 00:01:26 +08:00
HeskeyBaozi
2c53e988a1 it should pass style to svg 2018-07-23 20:12:59 +08:00
afc163
6cb6f5c83e Fix select menu item radius style 2018-07-23 19:01:30 +08:00
afc163
1c5f8f1901 update snapshots 2018-07-23 15:21:28 +08:00
afc163
101fdc7241 Fix InputNumber overlap in fixed columns table
close #11408

ref #6289
2018-07-23 15:10:43 +08:00
Ed Moore
cd5cbafdf0 Fix types for Radio Group 2018-07-23 14:33:47 +08:00
Emerson Laurentino
a88a320694 add headStyle to card component 2018-07-23 13:54:03 +08:00
HeskeyBaozi
a81fba08c0 fix cascader arrow font icon 2018-07-23 12:07:36 +08:00
HeskeyBaozi
ca644505be replace date-picker font icon 2018-07-23 12:06:38 +08:00
HeskeyBaozi
87594997d2 ignore className and style props 2018-07-23 12:06:07 +08:00
HeskeyBaozi
bab50e6bed Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/transfer/__tests__/__snapshots__/demo.test.js.snap
#	components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
HeskeyBaozi
ae8f29d628 update test snapshot 2018-07-23 09:55:13 +08:00
Eager
c3e50c268d fix(Tooltip): fix text overflow the Tooltip 2018-07-22 15:52:02 +08:00
Amumu
f728fbe5ab getDerivedStateFromProp return null if not change
A valid state object (or null) must be returned. You have returned undefined.
2018-07-22 11:59:40 +08:00
hongxuWei
f796618a15 Fix the style of horizontal menu on dark theme 2018-07-22 11:58:33 +08:00
陈帅
d0c684e925 add wrapClassName and multi-level-drawer test 2018-07-22 11:55:46 +08:00
陈帅
cb961cdf01 remove snap in destroyOnClose test 2018-07-22 11:55:46 +08:00
陈帅
608f631b64 test: Perfect test 2018-07-22 11:55:46 +08:00
jljsj33
2cd863929a update drawer test 2018-07-22 11:55:46 +08:00
陈帅
57a2fc667e test: change moment to render 2018-07-22 11:55:46 +08:00
陈帅
88981fef22 style: Adjust the edge shadow 2018-07-22 11:55:46 +08:00
jljsj33
881cef5abf update drawer 2018-07-22 11:55:46 +08:00
tangjinzhou
430381f28f fix: ButtonGroup style bug when have disabled button #9296 (#11321)
* fix: ButtonGroup style bug when have disabled button #9296

* Update mixin.less
2018-07-21 22:11:57 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
Jake Richards
b4e0c48ed5 Strengthen Mention Component typings 2018-07-21 12:32:36 +08:00
偏右
2756d587d7
Update index.en-US.md 2018-07-20 23:22:40 +08:00
afc163
5dc31a4d2a Merge branch 'master' into feature-3.8.0 2018-07-20 22:48:47 +08:00
afc163
7dd5270831 fix snapshots 2018-07-20 19:37:42 +08:00
afc163
418fb21f7e Merge branch 'master' into feature-3.8.0 2018-07-20 18:18:23 +08:00
afc163
d441c815a9 fix snapshots 2018-07-20 18:17:18 +08:00
afc163
cc00ebe5e1 Change Transfer moving buttons order for convention
close #11269
2018-07-20 18:15:04 +08:00
afc163
76741d026f Merge branch 'master' into feature-3.8.0 2018-07-20 18:03:23 +08:00
Fred-Shan
c045b79e62 Update index.zh-CN.md
there are two "theme" in the table
2018-07-20 17:38:33 +08:00
HeskeyBaozi
2485d0de62 hotfix: svg sprite demo 2018-07-20 17:09:26 +08:00
zombiej
2ad0bc0395 close #11380. Fix desciption of auto complete 2018-07-20 17:02:52 +08:00
HeskeyBaozi
e07dfea33f chinese api doc 2018-07-20 16:55:45 +08:00
zombiej
bfd0a77781 Merge remote-tracking branch 'origin/master' into feature-3.8.0 2018-07-20 14:06:21 +08:00
afc163
e2b9e5d832 update warning message 2018-07-20 12:10:43 +08:00
zombiej
ecc2293229 fix #11368. Clean outline style of treeSelect 2018-07-20 11:03:02 +08:00
zombiej
ed7630053e fix #11366. action trigger expand also trigger the onExpand 2018-07-20 10:50:20 +08:00
HeskeyBaozi
fa31c34f78 optimize CustomIcon, modify option field scriptLink => scriptUrl. 2018-07-20 10:32:00 +08:00
HeskeyBaozi
e07321024a fix demo for ssr 2018-07-19 21:15:51 +08:00
HeskeyBaozi
50f5ee9059 tslint fix 2018-07-19 21:07:33 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
05ef3127bd use typeof to judge DOM object. 2018-07-19 20:32:34 +08:00
HeskeyBaozi
a5b85fd520 remove AntdIcon.library, make it inner. 2018-07-19 20:24:04 +08:00
HeskeyBaozi
5b5af6ae77 hotfix: svg should receive viewBox prop. 2018-07-19 20:10:36 +08:00
HeskeyBaozi
3589159489 use <i/> to wrap <svg/>, <i/> only inherit className. 2018-07-19 20:08:04 +08:00
HeskeyBaozi
0db233ddb6 update icon chinese doc 2018-07-19 19:24:19 +08:00
HeskeyBaozi
6b8360c349 add viewBox attr & create method can add extra props 2018-07-19 19:23:33 +08:00
HeskeyBaozi
5f888ad64a remove import statement for custom-icon 2018-07-19 15:08:02 +08:00
HeskeyBaozi
768f871176 align svg to text 2018-07-19 15:07:31 +08:00
HeskeyBaozi
5b87f32cff don't need to locally deploy any more. 2018-07-19 12:27:06 +08:00
HeskeyBaozi
3bf122abac make <CustomIcon/> as an inner component in <Icon/> 2018-07-19 12:23:33 +08:00
Leo Yin
96d8fc45f1 Fix edit-row.md 2018-07-19 11:28:44 +08:00
रोहन मल्होत्रा
12b99970f3 Migrated to new lifecycle method for datepiceker (#10309)
…picker

First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

no
**elif** *isNewFeature* **:**

#9792
2018-07-19 11:26:47 +08:00
Bryan Berger
1d924300e7 add @message-notice-content-padding var to <Message /> 2018-07-18 22:17:12 +08:00
baozefeng
825d770254 bugfix: Chinese doc website date-picker demo link go to English website 2018-07-18 20:07:22 +08:00
HeskeyBaozi
220b4f59bb add custom-icon component 2018-07-18 17:35:39 +08:00
afc163
782abe7bb6 demo: fix select showSearch demo placeholder, close #11325 2018-07-18 15:57:34 +08:00
陈帅
e7242f4924 fix #11307 Prop destroyOnClose prevents the closing animation of drawer 2018-07-18 15:53:06 +08:00
Wang Riwu
a2c4b03d45 add notification.open to API docs (#11281) 2018-07-18 14:55:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
56edb5be1a set aria-hidden 2018-07-18 13:38:19 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
HeskeyBaozi
7503a0c827 use antd-icons 2018-07-18 10:07:10 +08:00
Daniel Zhang
308cb046e4 Add onMouseEnter and onMouseLeave to SelectProps (#11314) 2018-07-18 00:06:27 +08:00
Wei Zhu
c696757793 Revert "fix test"
This reverts commit f1570c01ea.

Follow f1570c01ea
2018-07-17 22:22:16 +08:00
Wei Zhu
e6c4c6667d Revert rc-menu upgrade
Revert "use default hover trigger for horizontal menu demo"

This reverts commit 159b09342d.

Revert "upgrade menu@7.2.0"

This reverts commit d4c9a1deea.

Revert "feat: prevent horizontal menu items wrapping"

This reverts commit 5c7f9feecb.
2018-07-17 21:59:16 +08:00
Eager Wei
9c792d52a8 fix table onChange pagination type (#11291)
Update interface.tsx TableProps onChange
2018-07-17 17:56:24 +08:00
陈帅
705e57f7e8 change drawer z-index to @zindex-modal 2018-07-17 17:34:20 +08:00
afc163
57c072d1b8 Fix dark menu small style issue, close #11299 2018-07-17 15:29:23 +08:00
afc163
2cacfe78ea Fix switch overflow in certain situation, close #9928 2018-07-16 19:47:28 +08:00
afc163
152cae4d9f Fix Card tabs disable attribute, close #11212 2018-07-16 19:18:50 +08:00
tangjinzhou
14e0cc0161 fix: anchorLink href update 2018-07-16 17:31:32 +08:00
Wei Zhu
d2c34e32a1 fix: uniform divider font-size
close #11227
2018-07-16 16:48:42 +08:00
nuintun
8496e8f687 Popconfirm support customize icon 2018-07-16 15:34:24 +08:00
Hanz Luo
11f0f14cb2 Remove scrollbar on confirm Modal title 2018-07-16 10:44:14 +08:00
付引
31b2517261 mport -> import 2018-07-15 12:54:23 +08:00
陈帅
1f15df4f14 Merge branch 'feature-3.7.0' 2018-07-15 09:27:34 +08:00
picodoth
159b09342d use default hover trigger for horizontal menu demo 2018-07-15 08:41:06 +08:00
david.lv
6fe9ca201e Update index.less
spell check 'compatibile'->'compatible'
2018-07-14 23:45:35 +08:00
picodoth
f1570c01ea fix test 2018-07-14 13:05:36 +08:00
picodoth
5c7f9feecb feat: prevent horizontal menu items wrapping 2018-07-14 13:05:36 +08:00
陈帅
125d0df3e0 Merge branch 'master' into feature-3.7.0 2018-07-14 12:15:00 +08:00
陈帅
0ee58eb3d4 lint:fix eslint error 2018-07-13 22:23:12 +08:00
陈帅
2cffe4f858 optimization: Fix problems found in review 2018-07-13 22:23:12 +08:00
陈帅
9ad0114102 fix eslint error 2018-07-13 22:23:12 +08:00
陈帅
01f2dee77b up rc-drawer version 2018-07-13 22:23:12 +08:00
陈帅
dba4b8c3c9 use context to implement multiple drawers 2018-07-13 22:23:12 +08:00
陈帅
441b90e488 Fix the naming problem 2018-07-13 22:23:12 +08:00
陈帅
50271732b1 add multi-level-drawer 2018-07-13 22:23:12 +08:00
陈帅
06d5ff6bbe up rc-drawer vesion to 1.5.1 2018-07-13 22:23:12 +08:00
陈帅
007c8dfc91 delete toogerHotjar function 2018-07-13 22:23:12 +08:00
陈帅
c8217e0bad Fixing style errors caused by too low height 2018-07-13 22:23:12 +08:00
陈帅
78e8ab55b5 adjust demos 2018-07-13 22:23:12 +08:00
陈帅
0f2be7308b Modify documents and adjust demos 2018-07-13 22:23:12 +08:00
陈帅
b91a367b4f Modify drawer description 2018-07-13 22:23:12 +08:00
陈帅
cc59ef4cbf In accordance with design patterns 2018-07-13 22:23:12 +08:00
陈帅
186e69cea3 edit new doc 2018-07-13 22:23:12 +08:00
陈帅
0f22cd69c3 test support react15 2018-07-13 22:23:12 +08:00
陈帅
2e3d131d74 update snapshots 2018-07-13 22:23:12 +08:00
陈帅
c863b2d758 fix drawer lint 2018-07-13 22:23:12 +08:00
陈帅
65e73c5f3b edit test script 2018-07-13 22:23:12 +08:00
陈帅
ce4624c69a edit test script 2018-07-13 22:23:12 +08:00
陈帅
510dad58bf edit doc and dom 2018-07-13 22:23:12 +08:00
陈帅
1f25b1042b delete some test 2018-07-13 22:23:12 +08:00
陈帅
115f518985 add 100% test 2018-07-13 22:23:12 +08:00
陈帅
172759177f perfect drawer doc 2018-07-13 22:23:12 +08:00
陈帅
e8394eca6f add drawer test 2018-07-13 22:23:12 +08:00
陈帅
d2856392b6 fix site build error 2018-07-13 22:23:12 +08:00
qixian.cs@outlook.com
9e12476f68 Optimize code and documentation 2018-07-13 22:23:12 +08:00
picodoth
1f3d6584ff update en docs 2018-07-13 22:23:12 +08:00
jim
7801f2459c change null to undefined 2018-07-13 22:23:12 +08:00
jim
68da7f2078 delete util import 2018-07-13 22:23:12 +08:00
jim
306389273a Improve documentation 2018-07-13 22:23:12 +08:00
jim
73674f53c3 change rc-drawer-meun to rc-drawer 2018-07-13 22:23:12 +08:00
jim
bc76ae51ac add two demo 2018-07-13 22:23:12 +08:00
jim
7757926666 Perfect api 2018-07-13 22:23:12 +08:00
jim
af5cde61d1 canonical style 2018-07-13 22:23:12 +08:00
jim
fee00e3841 add open animation 2018-07-13 22:23:12 +08:00
jim
86655c0ebc update test snap 2018-07-13 22:23:12 +08:00
jim
de5b89a612 remove top and bottom less 2018-07-13 22:23:12 +08:00
jim
8c3386f00c remove handle and fix typo 2018-07-13 22:23:12 +08:00
jim
61a7731270 simple demo 2018-07-13 22:23:12 +08:00
jim
cbbe4035e2 add bodyStyle api 2018-07-13 22:23:12 +08:00
jim
42de00137f change api doc 2018-07-13 22:23:12 +08:00
jim
13393d8987 add doc 2018-07-13 22:23:12 +08:00
afc163
e1e6523452 Fix border radius when avatar has custom size 2018-07-13 10:36:01 +08:00
Wei Zhu
c380186e79 fix: table custom components not change 2018-07-12 16:42:15 +08:00
afc163
0e3b67e999 Fix Timeline dot not working with Tooltip, close #11250 2018-07-12 11:35:50 +08:00
afc163
0b50a75093 update snapshot 2018-07-11 23:35:02 +08:00
afc163
db4a5edf8e correct typo: filedNames => fieldNames 2018-07-11 23:35:02 +08:00
afc163
8eb8c686ce Merge branch 'master' into feature-3.7.0 2018-07-11 22:21:01 +08:00
afc163
00afce3a4b Improve design of RangePicker presets link 2018-07-11 20:09:58 +08:00
Zhiqiang Gong
722b24b813 add disabled prop (#11188)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [x] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.

tslint检测时报错
类型“IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<{ children?: ReactNode; }> & Read...”上不存在属性“disabled”。
2018-07-11 19:39:41 +08:00
Wei Zhu
2d5949f31d test: use render for snapshot 2018-07-11 19:35:57 +08:00
Wei Zhu
4b045fc43f Revert "docs: update moment locale usage"
This reverts commit 89228118af.

The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
2018-07-11 15:17:15 +08:00
mofelee
e3ef74c3e7 fix "Cannot find module './locale'" bug 2018-07-11 14:39:06 +08:00
Wei Zhu
47884320ef docs: remove only 2018-07-11 10:36:24 +08:00
Wei Zhu
af49a1806b docs: rewrite editable demo 2018-07-10 21:11:50 +08:00
陈帅
b3f4e5e3da bugfix: fixed #11152 silder trigger no white theme 2018-07-10 21:06:22 +08:00
Daewoong Moon
52d736a0ee Added missing ko_KR locale 2018-07-10 20:58:30 +08:00
zhenbao.xy
779abfaf9f fix the relation between @alert-text-color & @text-color 2018-07-10 20:58:12 +08:00
Wei Zhu
435558b63e fix: Layout.Sider string width
Close #11211
2018-07-10 12:29:20 +08:00
zhuyue
77af31da7d Merge branch master into feature-3.7.0 2018-07-10 11:49:57 +08:00
zombiej
903f3f6770 fix test case in react 15 2018-07-04 20:23:46 +08:00
afc163
6d7ac58550 Fix header overflow style of empty table in Firefox, close #11135 2018-07-04 12:09:28 +08:00
afc163
0c4d356e54 Merge branch 'master' into feature-3.7.0 2018-07-03 19:54:48 +08:00
afc163
cde8bc8361 Selected value in Cascader should be gray when focus search input 2018-07-03 15:46:12 +08:00
afc163
4aabc53744 Fix InputNumber handler background
https://gw.alipayobjects.com/zos/rmsportal/QDxJpiArMgQJCLhmVvEZ.png
2018-07-03 15:35:56 +08:00
afc163
60ebb434c1 Fix form controls align issue in IE11
close #9827
close #11133
2018-07-03 14:04:46 +08:00
Wei Zhu
d4c95e6f18 docs: remove obsolete snapshot and fix custom filter demo 2018-07-02 21:41:14 +08:00
愚道
004561ba1f fix style in range select 2018-07-02 19:51:58 +08:00
愚道
450a3142ee fix: fix datepicker selected item style, close #9529 2018-07-02 19:51:58 +08:00
Wei Zhu
0f2fea2d78 docs: rewrite custom filter demo with filterDropdown function 2018-07-02 19:42:27 +08:00
Wei Zhu
1af4392ae9 feat: filterIcon can be a function 2018-07-02 19:42:27 +08:00
Christian Vadalà
59cc3a8b6c feat: adds ability to override filter renderer without migrate to a fully controlled component 2018-07-02 19:42:27 +08:00
zombiej
fb96c9db35 update treeSelect doc 2018-07-02 12:27:16 +08:00
afc163
a516358298 Fix wired Transfer repaint problem in IE or Edge
close #9697

https://stackoverflow.com/q/27947912/3040605
2018-06-30 22:22:09 +08:00
afc163
a3e245731b code style 2018-06-30 21:56:41 +08:00
afc163
553901dfb8 Fix card background overflow when zoom in chrome, close #9085 2018-06-30 21:13:22 +08:00
afc163
7d038d1aee revert 4d5d3c142e 2018-06-30 19:05:09 +08:00
Aditya Padhi
fcc055b390 Update index.en-US.md
Updated to document by adding  a property "destroyInactivePanel" which lets the user know about it behavior.
2018-06-30 18:51:32 +08:00