Commit Graph

8182 Commits

Author SHA1 Message Date
afc163
833c181922
🆙 upgrade rc-time-picker
- add `popupStyle`
- add `onAmPmChange`
2018-12-25 16:00:00 +08:00
afc163
a297b90cfa
📝 Add bodyStyle and style of Drawer in documentation, #13850 2018-12-25 15:30:11 +08:00
afc163
b27f0f3e46
🐛 Fix Drawer style not working
close #13850
2018-12-25 15:27:31 +08:00
afc163
9f54ab2bb4
🐛 fix markStyle affset style
revert #12125

close #13850
2018-12-25 15:21:17 +08:00
zombiej
d648b822a6 revert Christmas egg 2018-12-25 10:40:18 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
HarlanLuo
41aa37bd99 fix doc error and add test case for WeekPicker 2018-12-24 18:03:08 +08:00
HarlanLuo
a7bedca0e2 WeekPicker: support renderExtraFooter 2018-12-24 18:03:08 +08:00
HarlanLuo
015945ed83 DatePicker: show extra footer in all mode 2018-12-24 18:03:08 +08:00
afc163
748ddcaa5a
💄 fix dropdown button warning 2018-12-24 14:00:51 +08:00
afc163
3c007a85dd
renderFooter should applied to all mode, close #11618 2018-12-24 13:45:31 +08:00
afc163
360f8cb7dc
Merge branch 'master' into feature
* master:
  Correct doc
  🆙 ant-design-palettes => @ant-design/colors
2018-12-24 13:38:46 +08:00
ztplz
4bd107f9d7 Correct doc 2018-12-23 23:16:42 +08:00
zombiej
acefe7ba40 update modal demo 2018-12-23 18:40:11 +08:00
afc163
801fb77299
🔨 Merge master into feature 2018-12-23 18:11:04 +08:00
j3l11234
95cf9f3e48 Update rc-form requirement from ~2.2.7 to ~2.4.0 (#13788)
& and preserve option
2018-12-23 00:07:43 +08:00
zombiej
4d8cb66316 update snapshot 2018-12-22 23:55:44 +08:00
afc163
9c8f6bdb56
Merge branch 'master' into feature 2018-12-22 19:37:03 +08:00
afc163
88615024b1
Fix test snapshots 2018-12-22 19:36:46 +08:00
afc163
24bcace0ce
🔨 Merge master into feature 2018-12-22 19:30:50 +08:00
afc163
b828741dc0
🔨 Refactor Tag 🔨 2018-12-22 19:20:38 +08:00
Harlan
6b6ec278cc Table: add prop sortDirections for table and column (#13773)
* Table: add prop `sortMethods`

with `sortMethods` user can change table sort methods and its order

* Table: `sortMethods` can be set on column prop

* rename `sortMethods` to `sortDirections`
2018-12-22 18:16:02 +08:00
afc163
fe47f01796
📝 Fix documentation 2018-12-22 18:13:30 +08:00
afc163
22daf9e6af
Merge branch 'feature' of github.com:ant-design/ant-design into feature 2018-12-22 18:03:56 +08:00
afc163
c29daf952a
🔨 Merge master into feature 2018-12-22 18:02:10 +08:00
afc163
3a25ef8d14
💄 Fix lgtm alerts
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2018-12-22 17:40:25 +08:00
afc163
1350c87ab1
🎨 Improve form demo code style 2018-12-22 16:48:30 +08:00
afc163
d78d0de36c
💄 Fix extra margin of nested form item
close #13748
2018-12-22 16:44:10 +08:00
Jeffrey Carl Faden
9ff20ba09a Fix primary color usage in .button-variant-other
Instead of using @primary-5 and @primary-7, use colorPalette mixin to modify @btn-primary-bg
2018-12-22 11:05:41 +08:00
zombiej
f65fb2867f add options.preserve of form 2018-12-21 23:58:31 +08:00
afc163
a7597819a2
💄 use disabled cursor on disabled tab, close #13709 2018-12-21 22:38:06 +08:00
wangshuai
cb0a92e13b use T[] insteadof Array<T> 2018-12-21 21:34:19 +08:00
wangshuai
8c95732bfb fix(Table):fix arguments and type definition in TableRowSelection 2018-12-21 21:34:19 +08:00
HarlanLuo
476ace8aae Transfer: fix search-not-found block sometimes not show in edge 2018-12-21 21:33:58 +08:00
杨哲迪
42cd542677 fix(tabs): fix tabs.tabpane disabled style error 2018-12-21 21:33:31 +08:00
afc163
607d08094d
🎉 Dropdown.Button support href prop 2018-12-21 21:12:36 +08:00
afc163
464c4c804d
fix snapshot 2018-12-21 20:59:14 +08:00
afc163
c6f267d740
🆙 upgrade rc-dropdown 2018-12-21 20:56:36 +08:00
afc163
aa6d3da99b
Merge master into feature branch 2018-12-21 19:11:39 +08:00
黄俊亮
96766d4018 refactor: add alert-close-hover-color 2018-12-21 19:06:36 +08:00
afc163
7fe6dec9b8
Merge branch 'master' into feature
* master:
  feat(table): support table border-radius define in theme
  add form-tutorial.md
  📝 Put gitter flags in badges in README (#13744)
  update deps of rc-select
  skip show-tooltip.md test when is dist test
  💄 update slider demo
  Fix a regular expression
  Improvements to badges in README (#13743)
2018-12-21 16:12:14 +08:00
vthinkxie
f99b8a1792 feat(table): support table border-radius define in theme 2018-12-21 11:50:46 +08:00
Alfred Qiu
b24d5a65a5 add form-tutorial.md 2018-12-21 11:03:54 +08:00
zombiej
0d438610ff skip show-tooltip.md test when is dist test 2018-12-20 23:11:32 +08:00
afc163
69d2656ab2
💄 update slider demo 2018-12-20 20:39:40 +08:00
afc163
9cfaa16211
update test snapshot 2018-12-20 17:46:17 +08:00
afc163
7ac13298ec
💄 Fix one tslint problem 2018-12-20 17:43:22 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
afc163
ecf83c0438
💄 Fix one tslint problem 2018-12-20 17:34:30 +08:00
tom
00109a0698 change Modal.destroy to Modal.destroyAll 2018-12-20 17:31:12 +08:00
tom
d9e0b33dbe Modal.destroy():destroy all cofirm modal dialogs 2018-12-20 17:31:12 +08:00
stevenyuysy
0929a8b2c5 🐛 fix status normal 2018-12-20 17:30:28 +08:00
Sam Lanning
8f830ec366 fix inconsistent component state updates
React component state updates using setState may
asynchronously update this.props and this.state, thus it is
not safe to use either of the two when calculating the new
state passed to setState, and instead the callback-based
variant should be used instead.
2018-12-20 17:29:02 +08:00
徐新航
e0c74501f4 feat: The <Affix> run update-position when first mounted, to get the actual styles. 2018-12-20 17:27:32 +08:00
afc163
1ac6b5782d
🐛 Correct Drawer style
close #11504
2018-12-20 17:26:34 +08:00
zombiej
d2c9e6b498 update doc 2018-12-20 17:21:58 +08:00
zombiej
10e8a5aa72 add test case 2018-12-20 17:21:58 +08:00
zombiej
101a93ed39 mention add defaultSuggestion 2018-12-20 17:21:58 +08:00
ztplz
1c02a65593 format mention 2018-12-20 17:19:44 +08:00
偏右
a127ba6789 Update index.tsx 2018-12-20 17:19:10 +08:00
sylvanasGone
b71301b65f fix: add missing parameter 2018-12-20 17:19:10 +08:00
yibu.wang
839d0dcb09 fix 2018-12-20 17:18:12 +08:00
Wang yb
f8fbb33c73 Update interface.tsx 2018-12-20 17:18:12 +08:00
ztplz
1f730faf2d Set menu mode to vertical by default 2018-12-20 17:17:50 +08:00
小哈husky
f5bf79d2d8 修复当值为0时样式不对问题
修复当值为0时样式不对问题 ,bug demo.https://codesandbox.io/s/0146v1lxkl
2018-12-20 17:17:05 +08:00
nick-ChenZe
bc20797a61 feat: update docs for switcherIcon 2018-12-20 17:16:44 +08:00
nick-ChenZe
d814c19356 feat: add switcherIcon prop to Tree 2018-12-20 17:16:44 +08:00
Sam Lanning
af8a025aeb [chore] remove additional unused variable 2018-12-20 17:16:00 +08:00
Sam Lanning
e56e1a71c3 [chore] fix useless assignments to local variables
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16:00 +08:00
Sam Lanning
bfc75f5872 [chore] remove unneeded checks
args will always be defined, and an array, additionally Array.some()
will always return false if the array is empty. So these conditions
are uneeded.
2018-12-20 17:16:00 +08:00
Sam Lanning
2f0580d08b [chore] simplify condition to remove useless conditional 2018-12-20 17:16:00 +08:00
Sam Lanning
843056e58e [chore] fix off-by-one error in loop
This fixes an alert that was found on LGTM.com
2018-12-20 17:15:17 +08:00
Vu Hoang Minh
69f0601d13 Update show-tooltip.md 2018-12-20 17:13:27 +08:00
Vu Hoang Minh
f7bf62de65 Update show-tooltip.md 2018-12-20 17:13:27 +08:00
zy410419243
2bfc23b6f1 fix: render correctly when set childrenColumnName 2018-12-20 17:05:27 +08:00
Rahul Gurung
422b20993b #12115 - fixed dropdown hover flickering 2018-12-20 12:32:37 +08:00
Rahul Gurung
f04e6886b6 #13533 - fixed popover arrow
inherit arrow color from parent so that it doesn't
appears to be pointing 
upward when user changes
color of inner content, user
can further add desired color
to downward pointing arrow.
2018-12-20 12:28:23 +08:00
黄俊亮
1272ec0e04 refactor: add @tabs-horizontal-padding-{sm,lg} 2018-12-20 11:54:56 +08:00
ycjcl868
57a3d96c3b 🐛 fix Comment action padding 2018-12-19 17:26:00 +08:00
afc163
51e3012dc6
💄 Fix card loading edge when height is specified and small 2018-12-19 16:37:25 +08:00
afc163
3aeca7c10e
🐛 remove right padding in dropdown, close ant-design/ant-design-pro#3161 2018-12-19 16:04:50 +08:00
afc163
b1a67de35e
Merge branch 'master' into feature
* master:
  📝 fix demo order
  Fixes #10576 (#13703)
  doc: update form & layout docs (#13701)
  update doc close #11802
  🐛 Fix Badge offset not working when count is ReactNode
2018-12-19 12:09:12 +08:00
afc163
28f6c4891a
📝 fix demo order 2018-12-19 12:07:32 +08:00
Rakshit Kumar
2ac67ddc25 Fixes #10576 (#13703)
FIxes #10576 by removing the extra padding that causes the card title to go out of line with action props
2018-12-19 11:04:32 +08:00
huishiyi
dd30678033 doc: update form & layout docs (#13701)
* doc: remove duplicate setFields in form doc-US

* doc: fix layout doc collapsedWidth default
2018-12-19 10:56:44 +08:00
zombiej
d23a996b35 update doc
close #11802
2018-12-18 23:31:50 +08:00
zombieJ
684d15c054
formItem support error message with reactNode (#13046)
close #13014
2018-12-18 22:20:52 +08:00
zombiej
0d05ceda08 update snapshot 2018-12-18 19:19:45 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
afc163
1fb7bac8ca
🐛 Fix Badge offset not working when count is ReactNode
close #13694
2018-12-18 18:31:12 +08:00
afc163
7abf528b96
💄 Optimize custom filter demo of Table 2018-12-18 18:19:27 +08:00
Teng YANG
c2d1d72675 Fix #13529 input group compact border color issues (#13550)
fix #13529
2018-12-18 16:53:45 +08:00
Julia Passynkova
7b643d2aaa Added CheckBox.Group to Form demo (#13680) 2018-12-18 13:33:57 +08:00
zombiej
79f25d1107 fix spin style 2018-12-18 11:02:09 +08:00
zombiej
9a386e7336 update test case, OK button under calendar should not clickable 2018-12-18 10:36:51 +08:00
afc163
2e4d2b497a
💄 remove text-align right of card extra 2018-12-18 10:34:43 +08:00
zombiej
c9aeb29b43 update snapshot 2018-12-18 10:32:33 +08:00
偏右
14fff83a4a
Merge pull request #13674 from iugo/patch-2
fix date-picker doc type
2018-12-18 10:09:15 +08:00
偏右
92e10eb015
Merge pull request #13650 from iugo/patch-1
fix RangePickerProps onOk type
2018-12-18 10:08:53 +08:00
Justin Reich
d0d5481c17 Updated CommentProps type for author 2018-12-18 10:08:38 +08:00