Commit Graph

1268 Commits

Author SHA1 Message Date
zombiej
a137749b53 move background color into tr 2019-04-18 22:24:26 +08:00
zombieJ
21c0ba5bbd
udpate warning (#16138) 2019-04-17 17:31:39 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
afc163
60f4930348
📝 Optimize table and form documentation 2019-04-14 14:32:16 +08:00
zombieJ
38f701cc90
fix: Empty in IE not fully render (#16016)
* fix viewBox

* update snapshot
2019-04-11 13:49:57 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
zombieJ
df3e1b21d8
fix nest table style (#16008) 2019-04-11 01:22:35 +08:00
偏右
d922c377cb refactor: Optimize default selection column width implement (#15990)
* 🔨 Optimize default selection column width implement

make it be able to overrided in css

close #15968

*  update snapshots
2019-04-11 00:54:46 +08:00
偏右
79aa04bf5a
Merge pull request #15895 from ant-design/table-align-right
fix: Table align right not work on title
2019-04-07 16:53:46 +08:00
zombiej
fc45d7003e fix ts def 2019-04-07 01:09:34 +08:00
zombiej
961b081939 update snapshot 2019-04-06 13:07:32 +08:00
zombiej
bdc3ad431d fix align right not work 2019-04-06 12:56:07 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods (#15868)
* use state instead

* rollback demo markdown

* clean test

* sider context should be clean

* update test case

* fix test

* update debug desc

* add siderCollapsed into omit

* rm useless code
2019-04-05 16:15:01 +08:00
afc163
5ee4efb2db
style(Empty): 💄 create simple style Empty in a default way 2019-04-03 18:59:02 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
zombiej
f206a923be rm only in test 2019-04-03 13:45:32 +08:00
zombieJ
87a9c421a2
fix: Fix Table filter display issue when use non-string type (#15817)
* fix filter display logic

* update test case
2019-04-02 22:06:51 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
zombieJ
aebb781000
Table style update. Move sort button after title (#15758)
* update style of sort icon

* update snapshot

* micro adjust

* little offset of arrow
2019-03-31 14:01:24 +08:00
afc163
47084696b9
Fix snapshot 2019-03-28 12:25:44 +08:00
Sergey Levkovich
0975eac8bf
Update index.en-US.md 2019-03-27 00:44:29 +03:00
Sergey Levkovich
ae16e4df61
Update index.en-US.md
Add commas in object
2019-03-26 16:56:42 +03:00
afc163
a462c2ddf4
Fix react-dnd demo broken in react 15 2019-03-26 12:27:32 +08:00
偏右
9e0aa5cb94 🐛 Fix empty missing when Table is loading (#15583)
close #15582
2019-03-22 16:21:58 +08:00
zombieJ
96206ade58
adjust table editable row demo (#15475)
* adjust demo

* rm only
2019-03-18 15:28:42 +08:00
whinc
115db9df70 docs: add 'sortDirections' description to Table component (#15461) 2019-03-17 14:20:13 +08:00
偏右
c1ef989866
Merge pull request #15354 from ant-design/deps-lint
Deps lint
2019-03-14 20:34:10 +08:00
Martin Cermak
46ca311294 Fixed Table's Editable cells demo 2019-03-11 14:39:58 +01:00
zombiej
ee14f8e5d5 add skip test 2019-03-09 18:25:22 +08:00
zombieJ
0f356fb151
update snapshot (#15247)
* update snapshot

* downgrade to node 10
2019-03-07 14:41:17 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps (#15231) 2019-03-06 16:48:14 +08:00
chenlong
fc88005c9c Add fault-tolerant processing for rowSelection.getCheckboxProps 2019-03-06 13:58:04 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
b69f0e5e97
canel when page change (#15082) 2019-02-27 15:55:37 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +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
liuchuzhang
dfa6080d39 update table demo 2019-02-21 20:23:00 +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
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
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
d2c17cd747
only set getPopupContainer when scroll provides (#14864)
* only set getPopupContainer when scroll provides

* adjust
2019-02-16 11:49:15 +08:00
LT246-VINHNPH\vinhnph
bf135c1ceb ReactNode has already included string 2019-02-15 10:15:43 +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
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
LT246-VINHNPH\vinhnph
c41c4670f0 Merge branch 'feature' into ts_table 2019-02-14 13:56:20 +07:00
zombieJ
5ac674e698
sync form item (#14778)
* sync form item

* update snapshot

* use before
2019-02-13 21:45:47 +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
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
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +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
ee97cfe6cc
update doc (#14712) 2019-02-03 13:35:10 +08:00
afc163
c563bc1d10 🐛 Table should pick pageSize over defaultPageSize in priority
close #14320
2019-02-02 22:44:46 +08:00
Amumu
6668c12c46 remove placeholder border override (#14533)
* remove placeholder boder override

* adjust radius when bordered
2019-02-01 16:22:10 +08:00
afc163
305041a79d
💄 update table demo 2019-01-29 18:26:21 +08:00
afc163
579a868f15
🐛 Fix Table selection checkbox label wrap style
close #14316
2019-01-29 15:31:39 +08:00
sdli
18262297da fix table.pagination bug - when pageSize is larger than data source length 2019-01-28 22:43:03 +08:00
zombiej
b835110f79 merge master 2019-01-26 12:02:56 +08:00
zombieJ
318dff9feb
not show overflow content when in elastic (#14550) 2019-01-25 15:35:48 +08:00
krokofant
de8ec0152e #14510 Set small table header to transparent to remove uncolored margin 2019-01-24 17:58:12 +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
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
richardison
2a99fe713a Add missing type on table definition (#14392) 2019-01-17 13:44:15 +08:00
zhaopeidong
21ca7895fb fix table ColumnProps interface 2019-01-17 00:43:47 +08:00
诸岳
307c877a02 Merge master branch 2019-01-13 21:18:38 +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
a9c8874854 🐛 Fix custom filterDropdown trigger sorter
close #14238
2019-01-10 21:54:36 +08:00
LeezQ
b2c6f5622b ts: Update the TypeScript definition of Table[locale] (#14245) 2019-01-10 16:45:58 +08:00
zombieJ
b826ecf849
add miss style deps (#14214)
close #14204
2019-01-09 15:05:41 +08:00
zombieJ
5cec6b56fb
Table sorter tooltip (#14208)
close #14168
2019-01-09 14:10:30 +08:00
zombiej
6777635120 add warning when user both use expandedRowRender & scroll on Table 2019-01-08 21:23:04 +08:00
ycjcl868
3b55f63ef5 🐛 strictNullCheck with defaultProps 2019-01-08 20:20:16 +08:00
信鑫-King
a7f8921f3f 🐛 table sortDirections optional 2019-01-08 20:20:16 +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
Junbin Huang
d78c0f2707
Chore/fix master conflict (#14126)
* adjust table fixed column z-index (#14036)

fix #13930

* 📝 Add instruction for one column without width left in fixed table

* Add full PR template link in template (#14061)

* add full tmpl link

* adjust

* simplify it

* add cn link

* Fix Affix flickering when scrolling

* update

* fix: top border disappeared under some ie9

* fix calendar month range display (#14049)

* Fix tslint warning

* Correct typescript usage (#14074)

* 🐛 Fix steps style under IE9

close #14001

* 🐛 tweak style for not affecting vertical steps

* 📝 enhance upload documentation

* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010

* 🐛 Fix disabled button style in DatePicker panel

https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png

* 📝 site: fix BackTop been covered by footer

close #14093

* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md

* 🐛 Fix nested Timeline last item missing line (#14110)

close #14108

* init Spin should also support delay trigger (#14105)

fix #14100

* Update table docs

* bugfix

* Format

* update snapshot

* test: fix spin test
2019-01-06 13:25:59 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
afc163
e3f7e01266 🐛 Fix Table custom title is not reachable
close #13984
2018-12-30 14:01:13 +08:00
afc163
df8b784158 🐛 Fix Table filters trigger sort
close #13891
close #13933
close #13790
2018-12-30 14:01:13 +08:00
Max
0f83299d91 update table onRow events documentation zh-CN 2018-12-29 18:46:32 +08:00
Maksym Mosyura
0fc12c9cc5 update onRow Table properties documentation 2018-12-29 18:46:32 +08:00
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
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
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +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