Commit Graph

8241 Commits

Author SHA1 Message Date
zombieJ
2164c58198
New Component: Empty (#13651) 2018-12-26 16:01:00 +08:00
zombiej
b5fc19632b merge master 2018-12-26 14:23:40 +08:00
zombieJ
bf087e29bd
Add remark lint (#13906)
support remark-lint check
2018-12-26 14:14:00 +08:00
alexchen
9763c15db4 refactor: add upload-picture-card-border-style 2018-12-26 13:12:38 +08:00
afc163
db5f27ccb1
fix snapshot 2018-12-25 16:31:18 +08:00
Wei Zhu
405bc9783b chroe: add a note comment about table's dataIndex 2018-12-25 16:31:02 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
Wei Zhu
96e1d770ec Revert "fix"
This reverts commit 839d0dcb09.
2018-12-25 16:27:46 +08:00
Wei Zhu
48956d54fc Revert "Update interface.tsx"
This reverts commit f8fbb33c73.
2018-12-25 16:27:36 +08:00
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
iugo
30a6d38898
Update index.zh-CN.md 2018-12-18 09:32:02 +08:00
iugo
21b0f329b9
fix date-picker en doc type 2018-12-18 09:30:59 +08:00
iugo
a98e42784e
fix date-picker doc type 2018-12-18 09:28:25 +08:00
afc163
2c7112be7b
Improve spin perfermance and UI detail 2018-12-17 23:27:24 +08:00
zombieJ
68ad468938
move sorter logic from div to th cell (#13669)
fix #13467
2018-12-17 22:42:16 +08:00
afc163
26936de2e8
🐛 Fix WeekPicker width, close #13629 2018-12-17 20:34:34 +08:00
afc163
1b0d37d1f3
🐛 remove word-break for consistent ui, close #13624 2018-12-17 20:14:39 +08:00
zombiej
d4715e1783 pass props to fix IE <= 10 not support constructor
fix #13540
2018-12-17 16:13:44 +08:00
Damian Green
a140533a26 Fix lifecycle method for radio (#13239) 2018-12-17 15:01:55 +08:00
iugo
5681d6381a
fix RangePickerProps onOk type 2018-12-17 11:39:47 +08:00
zombiej
83b449b1ff set form id on demo
fix #10218
2018-12-17 10:02:08 +08:00
Gianfrancø Palumbo
219500ee7a Fix cursor for radio button disabled state
Add a style for `ant-radio-inner` span element.
2018-12-16 20:43:52 +08:00
zombiej
812c28f26e update snapshot 2018-12-14 15:31:53 +08:00
zombiej
cf43c19a80 use new lifecycle method of Cascader
ref #9792
2018-12-14 11:40:47 +08:00
zombiej
a26766302f add missing less var 2018-12-14 00:58:58 +08:00
afc163
3b8dd8152d
fix back-top test 2018-12-14 00:49:28 +08:00
afc163
8280c6da80
fix back-top test 2018-12-14 00:23:39 +08:00
afc163
d1650e31e9
fix key warning in tabs demo 2018-12-13 22:58:14 +08:00
afc163
50617e7ebe
Merge branch 'master' into feature 2018-12-13 22:53:15 +08:00
afc163
860809f173
fix invalid title in div 2018-12-13 22:51:53 +08:00
陈帅
30d65ef46e Merge branch 'master' into feature 2018-12-13 22:48:08 +08:00
afc163
9c777231e3
fix locale provider snapshot 2018-12-13 22:47:30 +08:00
陈帅
58ac28077c
Revert "Revert "Revert "Use less @plugin" (#13613)" (#13621)" (#13622)
This reverts commit f47aa91c5e.
2018-12-13 22:16:51 +08:00
陈帅
f47aa91c5e
Revert "Revert "Use less @plugin" (#13613)" (#13621)
This reverts commit 2c79d2a7c1.
2018-12-13 22:15:26 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" (#13613) 2018-12-13 18:07:49 +08:00
陈帅
377062bc9b
Merge pull request #13595 from ant-design/lessPlugin
Use less @plugin
2018-12-13 12:22:57 +08:00
zombiej
2d5d71bf85 clean rgb converter 2018-12-13 11:54:34 +08:00
zombiej
06403f92f3 clean convert 2018-12-13 11:16:33 +08:00
zombiej
c5462e4d45 clean _applyModification 2018-12-13 11:12:08 +08:00
zombiej
0574c759cf clean readable 2018-12-13 11:06:42 +08:00
zombiej
2546a30485 remove toXXX 2018-12-13 10:53:14 +08:00
ztplz
05cf557ee1 Format menu 2018-12-13 09:38:55 +08:00
zombiej
a5df939c2c use less plugin 2018-12-12 20:46:44 +08:00
Wei Zhu
2a66546433 docs: document Steps[className] 2018-12-12 17:13:39 +08:00
zombiej
a7c1aca7f9 clean tinyColor 2018-12-12 16:34:16 +08:00
zombiej
75df1e762e del bezierEasing 2018-12-12 16:12:57 +08:00
zombiej
154e6781ec Merge branch 'master' into lessPlugin 2018-12-12 16:04:11 +08:00
zombiej
87efad2da7 clean color-palette 2018-12-12 01:09:58 +08:00
zombiej
62fe5dda35 add color palette 2018-12-12 01:01:34 +08:00
zombiej
41df6cead4 add missing color 2018-12-12 00:18:42 +08:00