陈帅
8a4857d91f
better ts type
2019-03-28 18:57:13 +08:00
陈帅
e9df687df5
better ts type
2019-03-28 18:55:52 +08:00
afc163
47084696b9
✅ Fix snapshot
2019-03-28 12:25:44 +08:00
Bestie
267ad3402c
modify interface ListLocale.emptyText from text to ReactNode ( #15571 )
2019-03-21 22:18:58 +08:00
ZYSzys
554fdd4a3c
script: cleanup & reduce useless prettier files ( #15467 )
2019-03-18 10:46:17 +08:00
DiamondYuan
3387ba181d
fix: Typescript definition update for List component ( #15462 )
2019-03-17 14:25:34 +08:00
偏右
5f4f8b0dee
Fix list item style ( #15328 )
...
* 🐛 Fix List Item layout style problems
* 🐛 horizontal list should align center
* ✅ Add test cases
* ✅ Add test cases for List.Item
* 🐛 Fix vertical list item with extra
2019-03-11 23:34:05 +08:00
afc163
4275430094
🐛 Keep same content color of List like previous version
...
close #15296
2019-03-09 19:27:13 +08:00
afc163
b03d9ad4b2
✅ Update test snapshots
2019-03-06 16:52:57 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close #15186
2019-03-06 16:31:07 +08:00
afc163
575796cb92
⚡ clean up code
2019-03-06 15:23:51 +08:00
afc163
0fe82ed936
⚡ refactor list item dom structure
2019-03-06 14:20:51 +08:00
afc163
1c7e0d0b4b
🐛 Fix space lost when inline element in List.Item
...
close #15186
use `display: contents`:
- https://www.zcfy.cc/article/vanishing-boxes-with-display-contents
- https://css-tricks.com/get-ready-for-display-contents/
2019-03-06 14:20:51 +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
米老朱
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
Subroto
57f4c62368
Revert "fix IE 11 bug" ( #14765 )
...
This reverts commit 7d7de2a599
.
2019-02-10 23:25:35 +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
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
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
诸岳
00102d4278
ts: Extend ListItemProps from native div element attributes, close #14171
2019-01-11 11:52:35 +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
zombieJ
b826ecf849
add miss style deps ( #14214 )
...
close #14204
2019-01-09 15:05:41 +08:00
zombiej
3d92443f85
update snapshot
2019-01-07 15:48:35 +08:00
zombiej
9b256b03d4
use inline svg of antd-tools
2019-01-07 14:43:51 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
...
* master: (23 commits)
✅ fix snapshots
Add docs for the List rowKey prop
💄 don't reset font-family in each component
💄 chore card less variable
Remove classNames from custom-typing file
add collapsed faq ref: #13953
feat: support define card border radius
Fix dateRender not supported at WeekPicker
📝 Add links in Home Page
📝 Fix site responsive interaction, close #13954
💄 chore Steps[labelPlacement="vertical"] style
✅ fix warning in test case
📝 update tech antfin cases
🐛 site menu open bug
🐛 fix site defaultOpenKeys
Correct docs
💄 chore button code style
fix spaces in curly brackets
fix two more code style issues
Fix method argument name
...
2018-12-28 12:11:18 +08:00
Gabriel Nunes
a513ee1d73
Add docs for the List rowKey prop
...
Add documentation for the rowKey property of the lists
2018-12-28 10:34:44 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +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
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
9b9c4c7dec
fix typescript errors
2018-11-09 17:38:19 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
b56ef2b7bf
docs: update List grid column optional values, close #12901
2018-11-01 14:57:10 +08:00
afc163
b1d8d173cd
update typescript array definites
2018-11-01 14:57:10 +08:00
afc163
cc37b8ef35
should not hide avatar in vertical item layout of List
2018-10-31 18:55:54 +08:00
Wei Zhu
4ce3800de7
Merge branch 'master' into feature
2018-09-29 16:27:07 +08:00
Wei Zhu
4aa2bf804a
Merge branch 'list-item-style-config'
2018-09-29 15:44:35 +08:00
Wei Zhu
ca7d265b2b
Refactor Grid with new context API ( #12320 )
...
* Refactor Grid with new context API
* Update snapshots of List
2018-09-21 19:30:39 +08:00
Douglas Nassif Roma Junior
03b89a12cf
Fixed Item key unspected change on List component. ( #12299 )
2018-09-19 11:05:01 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
zombieJ
796b56dbc4
New Component Skeleton ( #11226 )
...
* Add new component Skeleton
* Add related doc
* Add sample
* Add test case
ref: https://github.com/ant-design/ant-design/issues/10308
2018-08-22 23:34:36 +08:00
HeskeyBaozi
3b598eafe1
update pagination test snapshot
2018-08-21 17:14:35 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935
update test snap shot
2018-08-13 14:46:55 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
afc163
0e2c58e42e
Fix card width in List.Grid, close #11712
2018-08-11 00:56:16 +08:00
David Hatten
f237effc2a
list padding and margin defaults added
2018-08-07 13:54:03 -04:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Zheeeng
59fe98a194
Add position config for List pagination ( #10581 )
2018-05-21 21:52:18 +08:00
Zheeeng
7f8cb838e3
Remove the side effects in render method ( #10357 )
2018-05-04 17:37:31 +08:00
愚道
b45146486a
merge feature-3.5.0
2018-04-28 11:04:10 +08:00
niko
d50ec436d5
List integrate pagination functional fixed : #9303 ( #10135 )
2018-04-20 15:41:40 +08:00
Zheeeng
069e9207a9
Swap positions between List.footer and List.pagination ( #10045 )
...
* Swap positions between List.footer and List.pagination
* Update List test snapshots
2018-04-19 13:48:55 +08:00
Dmitry Manannikov
c0e60f8097
Fix wrong List property ( #10123 ) ( #10128 )
...
This diff excludes `locale` from `rest` variable to
avoid passing to div.
Close #10123
2018-04-18 00:15:22 +08:00
Rallets
8157be2f4a
Add files via upload ( #10068 )
2018-04-16 14:16:43 +08:00
Zheeeng
08f5c27b0b
Use componentDidMount to replace componentWillMount: componentWillMount is deprecating ( #10047 )
2018-04-14 13:37:24 +08:00
Zheeeng
b92779f821
Fix the infinite & virtualized List is invisible that caused by its height can't be calculated ( #10046 )
2018-04-14 11:18:34 +08:00
afc163
92eeb7f8c9
Tweak list grid margin
2018-04-13 15:35:51 +08:00
afc163
2939aea4ec
Fix list extra border, close #10028
2018-04-13 15:35:51 +08:00
afc163
5f51d8dc43
update demo
2018-04-13 15:35:51 +08:00
afc163
d94e7bd7f0
fix typo
2018-04-13 15:35:51 +08:00
Wei Zhu
1c0b5ed21e
Revert "Update snapshot"
...
This reverts commit 98356e87ff
.
2018-03-21 12:01:58 +08:00
zhuyue
98356e87ff
Update snapshot
2018-03-21 10:51:52 +08:00
afc163
8db3b1f46f
update snapshot
2018-03-15 11:42:42 +08:00
Wei Zhu
a438b9b33f
Add spin dot className to custom indicator
2018-02-14 12:56:22 +08:00
Wei Zhu
a9537e5934
Update snapshot
2018-02-02 12:33:39 +08:00
niko
a09f531453
add grid xxl to List fixed : #9019 ( #9038 )
2018-01-21 01:03:00 +08:00
afc163
f4abc8c14d
Fix extra scrollbar in table or list cause by spin
...
close #8799
change a better way to fix #8602
2018-01-09 16:27:40 +08:00
nikogu
83b1a5f8ba
fixed list grid has scrollbar in ie #8799
2018-01-07 17:35:22 +08:00
niko
99c8444785
remove dump flex style in list for ie compatibility fixed : #8784 ( #8798 )
2018-01-03 10:02:52 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
niko
675c1c1b8c
List not display NoData when loading state & customize Spin indicator. #8647 #8659 ( #8702 )
...
* List not display NoData when loading state & customize Spin indicator. #8647 #8659
* fixed ci warning
* fix: empty block
2017-12-29 10:09:18 +08:00
afc163
b49c0ac35c
Fix snapshot test
2017-12-16 18:54:51 +08:00
afc163
9b2ca4b1aa
Fix List pagination margin, close #8562
2017-12-16 17:31:41 +08:00
afc163
f005974c56
refactor list less code
2017-12-16 17:29:49 +08:00
GauravV-02
b5f13b49ae
Fixed typo in documentation ( #8534 )
2017-12-10 11:23:45 +08:00
Wei Zhu
1b2a9550d9
ListItemMetaProps's description and title should be optional
2017-12-05 16:28:12 +08:00
Wei Zhu
e27061ea5b
ListItemProps.extra should be optional
2017-12-05 16:16:09 +08:00
Wei Zhu
4d74d5c22e
Update snapshot for 2e45074
2017-12-05 15:27:26 +08:00
Wei Zhu
e7042ae541
Fix implicit any error for List
2017-11-21 20:38:30 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
nikogu
fdf0c11ec7
Fixed List snapshots
2017-11-17 11:31:54 +08:00
niko
f6a730e2fe
List empty style ( #8190 )
2017-11-17 11:25:29 +08:00
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
Benjy Cui
70291d5514
chore: update size props order, ref: d12f247
2017-10-30 10:52:05 +08:00
nikogu
5db04b6d4b
update list grid padding bottom
2017-10-27 15:24:11 +08:00
afc163
11c3abb3aa
Fix list border
2017-10-26 15:36:48 +08:00
afc163
c44f9528be
Tweak list style
2017-10-26 15:07:01 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
偏右
ffffd0f4c5
Fix styles ( #7924 )
...
* update demo
* Fix styles
* fix snap
* Fix back-top ci
2017-10-18 17:16:14 +08:00
nikogu
f8f3e0f936
list update pagination margin top
2017-10-17 14:17:20 +08:00
niko
58089c7832
[WIP] List: update english docs ( #7880 )
...
List: update english docs
2017-10-12 22:40:49 -05:00
niko
57d5038d1c
fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-335710078 ( #7875 )
2017-10-12 05:09:37 -05:00
niko
48847e14e0
fixed react-virtualized demo scroll position when other demo element has changed ( #7866 )
2017-10-12 14:09:38 +08:00
niko
b4ed4e6d3f
Improve List Component
...
fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-332442843
(#7853 )
2017-10-11 10:29:45 +08:00
Benjy Cui
91fc781b6c
chore: update docs and code style, ref: #7553#issuecomment-335009581
2017-10-10 10:04:03 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00
niko
c64f46c217
List optimize ( #7736 )
...
* add split props
* add size props
* add footer & header props
2017-09-26 16:11:35 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
niko
91b97d7b25
List virtualized ( #7692 )
...
* add virtualized & infinite demo
* change `children render` to `renderItem`
2017-09-25 15:24:16 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
f8c5849bfa
update snapshot
2017-09-21 14:57:50 +08:00
nikogu
d1bb0b3634
Change List Spin size.
2017-09-18 17:37:13 +08:00
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
2017-09-17 15:48:44 +08:00
niko
bceb15c4e6
List:add infinite & detail optimize ( #7445 )
...
* List:add infinite & detail optimize
* React.children.map -> context
* update snapshots & demo order
* remove Item.Action _id
* update List demo
* List:add infinite & detail optimize
* React.children.map -> context
* 更新 snap
* update snapshots
2017-09-06 15:53:25 +08:00
afc163
cdac7cd28a
fix demo snapshot
2017-09-05 16:35:05 +08:00
niko
75518241d6
List optimize ( #7391 )
...
* change spin size to large
* fixed list loading
2017-08-30 15:16:48 +08:00
nikogu
33c41e97f7
List: change padding bottom
2017-08-30 11:45:47 +08:00
niko
44f63ae010
change list border color ( #7390 )
2017-08-30 10:30:23 +08:00
niko
56f0716b03
List: support responsive ( #7272 )
...
* List: support responsive
* change grid api for responsive & use card responsive function
* abstract getGrid
* update snapshots
* defind grid columns number
* defind grid columns number
* add ListGridType
2017-08-21 21:14:20 +08:00
afc163
9c925d7c9b
fix snap
2017-08-15 23:09:45 +08:00
nikogu
4e68750777
List: remove noHovering prop
2017-08-15 19:57:44 +08:00
nikogu
8ed6883d70
List: change noHovering default true
2017-08-15 17:36:51 +08:00
niko
600d589617
fixed some list style bug ( #7177 )
...
* fixed some list style bug
* add cursor:pointer to hover style
* fixed hover style
2017-08-15 17:25:14 +08:00
乐仪
cd6b017ce5
fix ts error
2017-08-14 22:25:17 +08:00
ddcat1115
1c518c3d97
Card improve & bugfix ( #7204 )
...
* Card improve & bugfix
* update snap
2017-08-14 21:43:32 +08:00
nikogu
0034d0529c
add list grid
2017-08-14 11:09:22 +08:00
nikogu
fab125d741
fixed List Components Props
2017-08-10 18:00:40 +08:00
niko
5836a49899
remove List.Item.Content & change List.Item.Action to List actions props ( #7159 )
2017-08-09 21:46:48 +08:00
niko
12bbe3776c
Feature list component ( #7150 )
...
* add list component
* fixed the demo syntax
* update list snapshots
2017-08-09 15:45:08 +08:00