Commit Graph

8358 Commits

Author SHA1 Message Date
Kasra Bigdeli
4e116962f2 Updating type: TreeSelectProps.getPopupContainer (#14443)
TreeSelectProps extends AbstractSelectProps. However, the method signatures are different causing compilation issue with typescript:


```
Failed to compile.

/home/kasra/Desktop/Repos/frontend/node_modules/antd/lib/tree-select/interface.d.ts
Type error: Interface 'TreeSelectProps' incorrectly extends interface 'AbstractSelectProps'.
  Types of property 'getPopupContainer' are incompatible.
    Type '((triggerNode: Element) => HTMLElement) | undefined' is not assignable to type '((triggerNode?: Element | undefined) => HTMLElement) | undefined'.
      Type '(triggerNode: Element) => HTMLElement' is not assignable to type '(triggerNode?: Element | undefined) => HTMLElement'.
        Types of parameters 'triggerNode' and 'triggerNode' are incompatible.
          Type 'Element | undefined' is not assignable to type 'Element'.
            Type 'undefined' is not assignable to type 'Element'.  TS2430

    24 |     rootPId?: string;
    25 | }
  > 26 | export interface TreeSelectProps extends AbstractSelectProps {
       |                  ^
    27 |     autoFocus?: boolean;
    28 |     defaultValue?: string | number | Array<any>;
```
2019-01-21 17:14:02 +08:00
ztplz
be51df6c4c Format 2019-01-18 18:15:50 +08:00
ztplz
2d5b625177 Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364)
* Fix the bug that radio onchange will be ovrride by radioGroup onchange

* Update

* Remove unused comment

* Add tests

* Update
2019-01-18 16:12:47 +08:00
zombieJ
283187761a
progress all support successPercent (#14412)
close #14332
2019-01-18 15:19:36 +08:00
zombieJ
7ed045ce57
fix prefixCls of empty go to div (#14404)
close #14403
2019-01-17 22:32:52 +08:00
zombieJ
1e7b3de159
update snapshot (#14406) 2019-01-17 22:05:28 +08:00
zombieJ
5a1119f37d
add radius on table-placeholder to fix table small size border clip (#14398)
fix #14388
2019-01-17 17:14:07 +08:00
zombieJ
321117c5e8
fix style of Input.Search with enterButton (#14397)
fix #14396
2019-01-17 16:52:12 +08:00
richardison
2a99fe713a Add missing type on table definition (#14392) 2019-01-17 13:44:15 +08:00
zombieJ
343a7a9c3a
remove ul when list is empty (#14390) 2019-01-17 11:46:07 +08:00
TomIsion
44005529db getPopupContainer callback param should be optional 2019-01-17 00:44:07 +08:00
zhaopeidong
21ca7895fb fix table ColumnProps interface 2019-01-17 00:43:47 +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
8c5683d316
update rc-tabs to support customize node (#14368)
close #9990
2019-01-16 20:00:23 +08:00
zombieJ
4ea65d36da
add missing style copy (#14375) 2019-01-16 17:28:02 +08:00
zombieJ
439c5ac29c
fixed the css in input-number (#14373)
fix #14367
2019-01-16 16:46:55 +08:00
信鑫-King
8896f7b4af feat: select border less param (#14348) 2019-01-15 18:03:17 +08:00
zombieJ
04111fb40e
Support date format in locale (#14340)
* use locale format

* remove monthFormat

* use locale format

* add test case
2019-01-15 16:58:40 +08:00
afc163
9202509503 💄 fix slider focus style 2019-01-14 23:49:41 +08:00
ztplz
8abfcdd30a Correct type 2019-01-14 12:10:55 +08:00
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
afc163
766eafbb5f 🐛 Revert #14157 to resolve input icon missing
close #14310
2019-01-13 22:02:38 +08:00
afc163
e39de50b4a
🔨 tweak typescript types 2019-01-13 21:53:10 +08:00
chunlea
1f87132b36 FIX: correct typings for EmptyProps in Empty Component 2019-01-13 21:51:07 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +08:00
ztplz
0b8fadd24c Update 2019-01-13 01:36:25 +08:00
ztplz
ab2dd31087 Add types for warning 2019-01-13 01:36:25 +08:00
ztplz
2ec3c37c42 Add bodyStyle for drawer 2019-01-12 13:22:58 +08:00
Yangzhedi
0e1564f499 fix(modal): add forceRender interface 2019-01-12 13:21:21 +08:00
Simo Aleksandrov
462819c5d9
Translate Input.Password properties 2019-01-11 14:07:03 +02:00
诸岳
00102d4278 ts: Extend ListItemProps from native div element attributes, close #14171 2019-01-11 11:52:35 +08:00
afc163
a075c90321 🐛 Fix Modal.confirm wrong align in small screen
close #14279
2019-01-11 11:38:42 +08:00
Thomas
df65240094 feat: Add transitionName and maskTransitionName for Modal.method (#14273) 2019-01-11 09:43:44 +08:00
ztplz
689f32a07f Remove the border when drawer has no title 2019-01-11 00:04:21 +08:00
tangjinzhou
13ee0ad52f should not call afterClose when change visible from false to true 2019-01-10 21:56:27 +08:00
Yangzhedi
41e2103c80 test(date-picker): add date-picker not auto focus test 2019-01-10 21:56:13 +08:00
Yangzhedi
319949ee1a fix(date-picker): fix open judgement 2019-01-10 21:56:13 +08:00
Yangzhedi
ee1beaa459 fix(date-picker): fix open prop 2019-01-10 21:56:13 +08:00
Yangzhedi
f52b087194 fix(date-picker): fix focus 2019-01-10 21:56:13 +08:00
zombiej
8f9f5843eb update snapshot 2019-01-10 21:55:21 +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
afc163
1e62802d58 Add test case for unmounting spin 2019-01-10 21:55:12 +08:00
afc163
e34e215f5f update debounce when update delay
️ improve getDerivedStateFromProps return value
2019-01-10 21:55:12 +08:00
afc163
ac847769c0 Add test case 2019-01-10 21:55:12 +08:00
afc163
82b9fd271e 🐛 fix delay not working 2019-01-10 21:55:12 +08:00
afc163
b7b3af7cef fix test case 2019-01-10 21:55:12 +08:00
afc163
9ecb3725a1 🐛 Fix spin[delay] never render
also simplify the code of spin, a lot

close #14100
2019-01-10 21:55:12 +08:00
afc163
a9c8874854 🐛 Fix custom filterDropdown trigger sorter
close #14238
2019-01-10 21:54:36 +08:00
ycjcl868
22a4ca8594 feat: Anchor className should pass down. 2019-01-10 17:08:10 +08:00
zombieJ
8ef4d72633
add groupSeparator prop (#14251) 2019-01-10 17:04:14 +08:00
偏右
4102fe200b 💄 Improve Radio focused state style (#14191)
close #14186
2019-01-10 16:55:18 +08:00
LeezQ
b2c6f5622b ts: Update the TypeScript definition of Table[locale] (#14245) 2019-01-10 16:45:58 +08:00
gyh9457
974e48090d docs: Update Card and Mention doc (#14247) 2019-01-10 15:32:41 +08:00
Jack Lo
929418fa25 Update index.zh-CN.md
笔误:customizeRenderEmpty => renderEmpty
2019-01-10 13:18:38 +08:00
Jack Lo
e002b1440e Update index.en-US.md
笔误:customizeRenderEmpty => renderEmpty
2019-01-10 13:18:38 +08:00
zombieJ
4e54aa8a46
ConfigProvider support autoInsertSpaceInButton (#14230)
close #14229
2019-01-10 11:47:11 +08:00
zombieJ
f524b693ed
Button support round shape (#14236)
close #13700
2019-01-10 11:15:43 +08:00
诸岳
21f0419ace
feat: Add mask prop for Modal method, close #14177 (#14197) 2019-01-10 01:21:51 +08:00
gyh9457
c037e8dddd fix anchor demo (#14226)
* fix anchor demo

* update anchor snapshot
2019-01-09 23:40:47 +08:00
偏右
16f76ecc5e
Update index.zh-CN.md 2019-01-09 23:37:38 +08:00
ztplz
b2fed8711e Support float number for Badge (#14195)
fix #13815
2019-01-09 22:32:06 +08:00
zombieJ
ff13ac0f5e
New component Statistic / Countdown (#14154)
* init

* number format

* add Countdown

*  Try something ts stuff

* move out Countdown

* add format

* support countdown

* add prefix & suffix

* Move Number to Statistic

* adjust ts

* clean up

* roll back of lodash

* update doc & style

* variable of the less style

* add demo test

* full coverage

* hide title if not need

* update snapshot

* update accessiblity

* update color

* stop countdown when time is out

* formatTimeStr adjust

* use reset class

* add miss tab index

* update doc

* update title prop & snapshot

* rm additional aria. It's over design

* use card sample on unit demo

* sfc

* adjust demo
2019-01-09 20:38:09 +08:00
zombieJ
54463c908b
ConfigProvider support csp prop (#14222)
close #12438
2019-01-09 20:15:37 +08:00
诸岳
470a4e03a2 docs: Add version description about Select[onDropdownVisibleChange] 2019-01-09 19:33:01 +08:00
诸岳
7b15f3ca03 docs: Add version description about Input.Password 2019-01-09 15:32:50 +08:00
zombieJ
b826ecf849
add miss style deps (#14214)
close #14204
2019-01-09 15:05:41 +08:00
zombieJ
5cec6b56fb
Table sorter tooltip (#14208)
close #14168
2019-01-09 14:10:30 +08:00
zombiej
6777635120 add warning when user both use expandedRowRender & scroll on Table 2019-01-08 21:23:04 +08:00
ycjcl868
3b55f63ef5 🐛 strictNullCheck with defaultProps 2019-01-08 20:20:16 +08:00
信鑫-King
a7f8921f3f 🐛 table sortDirections optional 2019-01-08 20:20:16 +08:00
zhangguanyu02
aff3f2ece0 fix: checkbox ts generic 2019-01-08 19:16:07 +08:00
afc163
6f9f29799c 💄 Add less variables for button shadow
close #14172
2019-01-08 10:56:27 +08:00
afc163
1d06fbef4c 🐛 Fix disabled style of Radio.Button
close #14165
2019-01-08 00:04:39 +08:00
wwwxy80s
fe12172321 hide Input clearIcon when it is not focused 2019-01-07 22:51:28 +08:00
zombiej
67236f6378 add select dropdown empty style 2019-01-07 22:21:52 +08:00
zombiej
3d92443f85 update snapshot 2019-01-07 15:48:35 +08:00
zombiej
319cb8609e format svg 2019-01-07 15:07:28 +08:00
zombiej
9b256b03d4 use inline svg of antd-tools 2019-01-07 14:43:51 +08:00
zombiej
e367c1c453 adjust image 2019-01-07 12:26:10 +08:00
偏右
380b8f849f
Merge pull request #14135 from ranbena/vertical-white-space
Allow vertical form labels to break line
2019-01-07 09:48:42 +08:00
ztplz
08ce714db2 update dep (#14131) 2019-01-07 09:40:55 +08:00
Ran Byron
4a5e681627 Allow vertical form labels to break line 2019-01-06 17:39:01 +02:00
Wei Zhu
808a4e8e67 use data url instead of importing svg 2019-01-06 20:42:04 +08:00
Junbin Huang
dc4247bdff
Merge branch 'feature' into master 2019-01-06 13:34:41 +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
ztplz
048f5f339f Format 2019-01-05 22:17:12 +08:00
Go7hic
c095c3d370 bugfix 2019-01-05 17:55:59 +08:00
ztplz
16a15f696f Update table docs 2019-01-05 17:17:27 +08:00
zombieJ
b129e05630 init Spin should also support delay trigger (#14105)
fix #14100
2019-01-05 17:13:42 +08:00
偏右
059670a09e 🐛 Fix nested Timeline last item missing line (#14110)
close #14108
2019-01-05 17:07:06 +08:00
afc163
d670717ab2 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
2019-01-04 22:37:56 +08:00
mraiguo
78489672c7 Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010 2019-01-04 22:20:00 +08:00
afc163
c741c2f0df 📝 enhance upload documentation 2019-01-04 22:12:29 +08:00
afc163
7d70d20679 🐛 tweak style for not affecting vertical steps 2019-01-04 22:11:50 +08:00
afc163
9a380592ee 🐛 Fix steps style under IE9
close #14001
2019-01-04 22:11:50 +08:00
ztplz
7a4ee979ff Correct typescript usage (#14074) 2019-01-03 23:56:38 +08:00
ztplz
0bd8596f18 Fix tslint warning 2019-01-03 22:26:26 +08:00