Commit Graph

8396 Commits

Author SHA1 Message Date
zombiej
c61c9e5ae3 Merge branch 'master' into doc-tree-select 2019-01-29 11:16:32 +08:00
shawtung
b6f8365d53 为before pseudo增加负index, 避免其挡住自定义overlay的点击
如果overlay没有设置position也没有transform样式, 其层级会低于这个伪元素, 导致无法被点击到.
2019-01-29 10:58:42 +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
0b3d7d62fa
📝 fix typo 2019-01-29 10:46:42 +08:00
sdli
18262297da fix table.pagination bug - when pageSize is larger than data source length 2019-01-28 22:43:03 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
Subroto
7d7de2a599 fix IE 11 bug
If `flex-basis` is not set, it is taken as `0px` as default, breaking the ui in IE 11.
2019-01-28 18:46:47 +08:00
zombieJ
a379c47162
add missing defaultFormat (#14593) 2019-01-28 14:07:26 +08:00
afc163
5de5f4c458 🐛 Fix errors in lgtm.com
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-01-28 14:02:32 +08:00
zombieJ
8838bd602d
update (#14591) 2019-01-28 13:29:20 +08:00
Bora Ikizoglu
3e85e51b58 Fixed Form.create missing type (#14584) 2019-01-28 12:35:57 +08:00
zombieJ
6240871c6b
update css hack (#14588) 2019-01-28 11:46:57 +08:00
zombieJ
b4050d3d52
fix typescript (#14587) 2019-01-28 11:10:56 +08:00
zombiej
ff8ef180e8 add hide icon sample on showLine 2019-01-26 19:46:30 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombieJ
bfec344de5
Not show spining mask in ie <= 10 (#14511)
* not show spining mask in ie <= 10
fix #14365

* revert, let's use css check for this

* add styleChecker

* add pointer-events check

* delay check spin not support when did mount

* use css hack replace style check
2019-01-26 11:55:53 +08:00
zombieJ
633c3aeb25
update rc-switch (#14560)
close #7181
2019-01-26 01:26:48 +08:00
zombiej
f5cbf0f9f1 update getFieldsValue types 2019-01-25 16:01:21 +08:00
zombieJ
318dff9feb
not show overflow content when in elastic (#14550) 2019-01-25 15:35:48 +08:00
zombieJ
5ac80c8e55
Use addonAfter instead of suffix when use enterButton in Input.Search (#14461)
fix #14450
2019-01-25 11:06:05 +08:00
ztplz
18332d8e76 FIx RadioButton cause RadioGroup onChange event trigger twice (#14523)
fix #14485
2019-01-25 10:32:30 +08:00
zombieJ
d1fde3670c
Time picker allow clear (#14490)
close #14472
2019-01-25 10:31:09 +08:00
Gautier
8bb3b10c01 Add a new less variable to override the list header background (#14519)
* Add a new less variable to override the list header background

* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +08:00
krokofant
de8ec0152e #14510 Set small table header to transparent to remove uncolored margin 2019-01-24 17:58:12 +08:00
iojichervo
e5a1e30055 Add MenuItem style type 2019-01-24 15:39:16 +08:00
ztplz
d30fdf11d7 Fix changing the count of a badge with border-color raises an error (#14525)
fix #14516
2019-01-24 12:17:38 +08:00
Michael Salaverry
18dc2c2743 Documentation: fixed typos and grammar (#14518) 2019-01-24 10:51:47 +08:00
偏右
47e23d4137 Add expandIcon for Collapse (#14060)
close #14058 #12212
2019-01-23 10:41:07 +08:00
afc163
909b3b5235 🐛 Fix col span type to number | string
close #14324
2019-01-23 10:40:47 +08:00
Wei Zhu
c4026c4cb5 fix: remove duplicate type (#14444)
Already defined in AbstractSelectProps
2019-01-23 10:39:59 +08:00
MaoYiWei
5ec4383b3f Add definition for Menu.SubMenu (#14488)
Fix Menu.SubMenu props from any to real def
2019-01-23 10:32: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
wx1322
7faae1ada5 Add type definitions for Steps.Step (#14468)
fix #14442
2019-01-22 17:11:31 +08:00
zombieJ
0e8e2b53e4
add select check to fix edge wave issue (#14469)
* add select check to fix edge wave issue
fix #14466

* update style

* add comment

* rm removeAttribute
2019-01-22 16:23:59 +08:00
Ran Byron
16ec6e954e Fix for Pagination ellipsis misalignment (#14473) 2019-01-22 15:56:59 +08:00
eidonjoe
5d025522e8 fix transfer ref (#14441)
* fix transfer ref

* delete transfer list search ref
2019-01-22 11:56:04 +08:00
ztplz
8cce556309 Add onMouseEnter and onMouseLeave for Menu Item (#14454)
fix #14357
2019-01-22 11:25:20 +08:00
zombieJ
9a8e3dd609
update snapshot (#14467) 2019-01-22 11:03:55 +08:00
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