Commit Graph

8548 Commits

Author SHA1 Message Date
Amumu
9e8bddd864 fix #13648 (#15056)
* fix #13648

* style lint

* lint

* revert and fix again
2019-02-26 17:10:40 +08:00
zombiej
8bf08cdf81 adjust css 2019-02-26 15:45:08 +08:00
afc163
98b41e0e9c Add handler definite for Drawer
close #15051
2019-02-26 15:36:23 +08:00
zombieJ
a802a72d56
Fix Table filter can not support other type of value (#15046)
* use new life cycle

* filter support inner value maps

* update snapshot

* update test case

* simple code
2019-02-26 14:26:08 +08:00
Jason Yin
b30e90ba31 fix #15037 (#15042) 2019-02-26 10:37:00 +08:00
yinjs
f602a9b153 fix #15035 datepicker onPanelChange ts declaration missing 2019-02-26 10:35:27 +08:00
afc163
447a8df724 🐛 Fix horizontal submenu wider then menu title in most case
https://codesandbox.io/s/qvpwm6mk66
2019-02-26 10:35:08 +08:00
zombieJ
1fc8dd3042
Form support labelCol & wrapperCol props. (#15038)
* use context

* update doc

* update doc

* not pass context if nest

* update snapshot

* update doc

* update doc
2019-02-25 19:04:09 +08:00
zombieJ
fb6a493f11
support name prop (#15029) 2019-02-25 11:28:31 +08:00
ztplz
94814d955f Format (#15027) 2019-02-24 15:49:12 +08:00
afc163
efafa6346d Fix lint problems 2019-02-23 16:58:22 +08:00
afc163
f665554080 🐛 Fix arrow style of Select selected item 2019-02-23 16:58:22 +08:00
afc163
924e8e4b83 🐛 should not print warning for not generating help and validateStatus automatically when help or validateStatus is specified
close #14911
2019-02-23 16:35:52 +08:00
Kamal Mahmudi
9559a12be9 🇮🇩 Update locale to be more natural for Indonesian (#15013)
* Update locale to be more natural for Indonesian

* consistently use lowercase and uppercase

* updating snapshot
2019-02-23 12:29:10 +08:00
afc163
5d46fa9679
📝 site: fix document punctuation 2019-02-22 17:15:48 +08:00
Aobo Yang
1f0166c156 Fix rowKey usages in List (#14437)
* correct rowKey usages in List

* fix item type in renderItem in List
2019-02-22 10:40:30 +08:00
Wei Zhu
8f7d4970a5
Merge pull request #14986 from liuchuzhang/table-doc
update table demo
2019-02-21 20:58:05 +08:00
杨小事er
668c330cae fix(radio): delete unnecessary onChange (#14984)
* fix(radio): delete unnecessary onChange

* fix(radio): fix multi trigger
2019-02-21 20:53:19 +08:00
orzorzorzorz
642307481a fix: unexpected return (#14982) 2019-02-21 20:49:04 +08:00
liuchuzhang
dfa6080d39 update table demo 2019-02-21 20:23:00 +08:00
zombiej
440408a1dd update style 2019-02-21 12:13:47 +08:00
afc163
7bbeaff3ed 🆙 Upgrade rc-input-number@4.4.0 to fix 13896 2019-02-21 12:12:52 +08:00
杨小事er
0f91fb07e9 fix(tree): fix growing space (#14964)
* fix(tree): fix growing space

* fix(tree): remove last child 4px padding bottom and keep others

* Update index.less
2019-02-21 11:17:52 +08:00
zombieJ
f483c4e604
Not show aria-label when Icon type is empty (#14972)
* remove aria-label if type is not defined

* update snapshot
2019-02-21 11:13:03 +08:00
zombiej
e94ce11bd9 update form item css 2019-02-20 19:38:09 +08:00
ztplz
5de03a5c18 Fix assert usage (#14957)
* Fix assert usage

* Update
2019-02-20 18:27:35 +08:00
afc163
671410d0be 🐛 Fix disabled sub menu style
close #14952
2019-02-20 16:59:05 +08:00
ztplz
e3eec8f2b6 Update snapshots 2019-02-20 16:58:30 +08:00
ztplz
45dc160701 Update 2019-02-20 16:58:30 +08:00
ztplz
f2ac516c87 Update 2019-02-20 16:58:30 +08:00
ztplz
b74038a4da Correct Input demo style 2019-02-20 16:58:30 +08:00
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused (#14948)
* todo

* add warning

* add FAQ

* fix typo
2019-02-20 15:12:29 +08:00
偏右
fd89e0f8b4 🐛 Fix extra space at the bottom of table th in chrome (#14950)
close #14926
2019-02-20 15:11:04 +08:00
zombiej
8389b94cf5 search input sticky 2019-02-20 11:52:06 +08:00
Michał Jurkowski
c0f49c782c Fix hardcoded heading color 2019-02-19 23:24:31 +08:00
zombieJ
c29323b448
Revert to remove FormItem explain-holder (#14937)
* Revert "Adjust style to be similar with origin (#14886)"

This reverts commit 735175e3cf.

* Revert "sync form item (#14778)"

This reverts commit 5ac674e698.
2019-02-19 23:24:07 +08:00
Amumu
1552955b12 修复: bordered的固定高、非空表格在隐藏头部时,丢失顶部边框的问题 2019-02-19 16:16:50 +08:00
zy410419243
7f1dea0ab1 fix: wrong usage of polyfill 2019-02-19 15:52:19 +08:00
zy410419243
9d5454c7b7 pref: add missing polyfill 2019-02-19 15:52:19 +08:00
zy410419243
14945cb7a7 chore(DirectoryTree): migrate to new lifecycle method 2019-02-19 15:52:19 +08:00
ztplz
b0ca03cba3 Update 2019-02-19 15:50:38 +08:00
ztplz
025bad6981 Update 2019-02-19 15:50:38 +08:00
ztplz
f26788c26e Revert "update snapshot"
This reverts commit 3e8f99a4a5fbd1264fa9db7c06e20034a25dced7.
2019-02-19 15:50:38 +08:00
ztplz
29cabea52a update snapshot 2019-02-19 15:50:38 +08:00
ztplz
c24d737546 Fix incorrect collapse icon position when sider in the right 2019-02-19 15:50:38 +08:00
Jason Chen
4c5f3d2b0a Enhance <Grid>&<Meta> props type definition (#14857) 2019-02-19 13:37:38 +08:00
zombieJ
c80136a9a7
New Component: Typography (#14250)
* text with prefix

* add edit style

* support editable

* enhance accessibility & type experience

* optimize IME case

* support copy

* add locale

* add secondary & disabled

* add ellipsis shadow text

* split to 3 components

* update snapshot

* update desc

* change lines also need update ellipsis

* skip aria when is in ellipsis

* add ResizeObserver in _util

* update snapshot

* move TestBase into test file

* update test case

* update doc

* fix typo

* important => level

* use rows

* update demo cols to 1

* fix cssText not work in firefox

* update doc

* add miss point

* support extendable

* update snapshot

* fix doc

* copyable support string

* update snapshot

* update doc

* update doc desc

* adjust style

* full test

* reset after test

* rename

* update snapshot

* fix compile

* adjust style

* update desc

* update prefixCls

* update margin

* adjust

* nest wrap of tag content

* adjust style

* update comment

* rm %

* one more thing

* tmp of measure

* merge string as children

* update snapshot

* update testcase

* remove comment

* use internal variable for configProvider passing

* update snapshot

* use expandable instead of extendable

* less variable it

* update demo

* update less

* adjust code & mark style

* remove mark padding

* update measure logic

* support nest element style

* use childNode.textContent to fix react 15 error

* update css

* popout Typography

* add link style

* adjust doc

* use ellipsis instead of rows & expandable

* update doc

* update doc

* update doc & style

* fix typo

* add css ellipsis support

* client render

* update snapshot

* enhance copyable

* support onExpand

* update test case

* add test of css ellipsis

* fix logic in react 15

* rename onChange -> onSave

* use tagName of article

* fix lint
2019-02-19 11:42:05 +08:00
zombiej
eddfbd5f51 only affect addon & suffix 2019-02-19 11:38:26 +08:00
zombiej
fcc3820545 adjust input style 2019-02-19 11:38:26 +08:00
ilanus
8eddf15fd1 update steps types 2019-02-18 13:23:04 +01:00
zombieJ
a3bd55b79a
revert #14608 (#14898)
* revert #14608

* add test case
2019-02-18 18:05:27 +08:00
zombieJ
735175e3cf
Adjust style to be similar with origin (#14886)
* adjust style to be similar with origin

* update snapshot

* add missing extra logic

* adjust tiny

* fix margin

* use element to keep the place

* update snapshot
2019-02-18 16:42:02 +08:00
zombiej
271d201fbc merge master 2019-02-18 11:17:24 +08:00
zombieJ
1d75725369
update snapshot (#14880) 2019-02-18 11:04:45 +08:00
Wei Zhu
07ec7d9f53 test: use mockReset
According to the document of jest, mockRestore only works when mock was
created with `jestSpyOn`.

https://jestjs.io/docs/en/mock-function-api#mockfnmockrestore
2019-02-18 00:26:19 +08:00
afc163
c30b06d5db
📝 add stop in document 2019-02-17 23:07:02 +08:00
afc163
25404ee6cf
💄 Tweak select width in Calendar 2019-02-17 22:47:27 +08:00
zombieJ
d2c17cd747
only set getPopupContainer when scroll provides (#14864)
* only set getPopupContainer when scroll provides

* adjust
2019-02-16 11:49:15 +08:00
杨小事er
2f81d000f8 fix(time-picker): fix icon style (#14861) 2019-02-15 22:45:41 +08:00
Gabe Medrash
6dce9aff3a Add onTitleMouseEnter and onTitleMouseLeave to public interface 2019-02-15 14:50:58 +08:00
LT246-VINHNPH\vinhnph
bf135c1ceb ReactNode has already included string 2019-02-15 10:15:43 +07:00
LT246-VINHNPH\vinhnph
c39d8b0b11 Merge remote-tracking branch 'upstream/feature' into ts_table 2019-02-15 10:01:57 +07: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
偏右
2eddc2a1d4 🌟 support goto button in Pagination (#14819)
close #14798
close #14535
close #10201
close #7328
2019-02-14 22:39:11 +08:00
vinhnph-ibl
01f1c367e1
Merge branch 'feature' into ts_table 2019-02-14 17:52:18 +07:00
偏右
2bacd0614c
Use semantic tag names in Layout (#14806)
close #14801
2019-02-14 17:51:52 +08:00
Rick Zhou
80e6204803 remove the lambda used in input-number render() function 2019-02-14 17:51:18 +08:00
afc163
6ef24cf833 🐛 Fix Card loading style when there is actions
close #14832
2019-02-14 17:50:58 +08:00
mraiguo
86f0f97376 rangePicker clear when controlled (#14796) 2019-02-14 17:50:37 +08:00
afc163
62e65d9550 🌟 support extra for Collapse.Panel
close #11626
2019-02-14 17:49:18 +08:00
Wei Zhu
32a61d8596 fix: handle true for Table[pagination] properly
`pagination` is not designed to accept `true` value,
but in practice, many people assign `true` to `pagination`,
since they thought `pagination` accepts boolean value.
2019-02-14 17:48:35 +08:00
afc163
a287f1bcb8
🐛 Fix missing border top of empty Table without header
close #14834
2019-02-14 17:47:20 +08:00
vinhnph-ibl
e0de950edb
Merge branch 'feature' into ts_table 2019-02-14 13:53:08 +07:00
+v
bf2a240ba7 fix: clear both 2019-02-13 22:22:30 +08:00
zombieJ
5ac674e698
sync form item (#14778)
* sync form item

* update snapshot

* use before
2019-02-13 21:45:47 +08:00
zombieJ
41470e0c68
clean css (#14797)
* clean css

* move to horizontal
2019-02-12 22:41:41 +08:00
zombieJ
47e53ab0fe
Fix Input.Search not support addonAfter (#14799)
* fix addonAfter

* update snapshot
2019-02-12 21:39:36 +08:00
zombieJ
5ad9469434
Countdown support onFinish (#14791)
* support onFinish

* clean up

* update test case
2019-02-12 17:16:49 +08:00
zombiej
d919e20f10 merge master 2019-02-12 16:00:29 +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
ztplz
b46b79c771 Remove useless asign 2019-02-11 21:42:07 +08:00
LT246-VINHNPH\vinhnph
c20acfb9b3 Table column filter could be ReactNode 2019-02-11 13:52:56 +07:00
Wei Zhu
de212266c4
Merge pull request #14742 from zy410419243/comma
docs: fix wrong usage of comma
2019-02-11 11:17:17 +08:00
Wei Zhu
499a3e2ad5
Merge pull request #14757 from zlljqn/patch-2
Optimized Drag & Drop Table Demo performance
2019-02-11 11:14:03 +08:00
zombieJ
67ad35bc26
fix additional className (#14770) 2019-02-11 01:00:33 +08:00
Subroto
57f4c62368 Revert "fix IE 11 bug" (#14765)
This reverts commit 7d7de2a599.
2019-02-10 23:25:35 +08:00
何乐
3c4a7318d6 fix: Progress shows the success status while successPercent={0} and percent={100} (#14769) 2019-02-10 23:06:45 +08:00
偏右
6550ddd545 🐛 Fix Switch disabled cursor style, close #14764 (#14767) 2019-02-10 22:20:09 +08:00
imhele
952510e040 add header for table 2019-02-10 19:45:17 +08:00
wanli
6c259808e1 type: add onClick to AbstractCheckboxProps 2019-02-10 16:04:31 +08:00
zlljqn
bdb81d12a5
Update according to suggestion
Update according to suggestion and try to repair CI
2019-02-08 21:08:40 +08:00
zlljqn
bf972a9afa
Optimized Drag & Drop Table Demo performance
Optimized Drag & Drop Table Demo performance when the number of row is large. Mainly remove unnecessary event mornitor and use another way to implement the method to show the insert indicate rule on the page.
2019-02-08 16:42:05 +08:00
zy410419243
9236844f0a Revert "test: update snapshots"
This reverts commit 9ea218d0ad5b42cd119087e855c8ab8223aaa4e3.
2019-02-07 13:59:33 +08:00
zy410419243
6a68619559 test: update snapshots 2019-02-07 13:59:32 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
thilo-behnke
a9a6da47ed Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) (#14733)
* fixed issue with allowClear if value is null

* added test cases for allowClear fix
2019-02-07 11:39:16 +08:00
Gabe Medrash
dfc9b24c98 Properly type onMouseEnter and onMouseLeave events 2019-02-06 12:23:07 +08:00
何乐
b3834e48b1 Table: fix showing only first page (#14724)
* Table: fix showing only first page

* correct condition of pagination in Table

* correct test file

* handle changes

* improve test case
2019-02-05 23:11:08 +08:00
zombieJ
2b558af960
update silder snapshot (#14732) 2019-02-05 21:25:40 +08:00
何乐
99eeefc25d correct type in Switch (#14727) 2019-02-05 11:01:36 +08:00