Commit Graph

1258 Commits

Author SHA1 Message Date
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
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
c29daf952a
🔨 Merge master into feature 2018-12-22 18:02:10 +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
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
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +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
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
zy410419243
2bfc23b6f1 fix: render correctly when set childrenColumnName 2018-12-20 17:05:27 +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
zombiej
d23a996b35 update doc
close #11802
2018-12-18 23:31:50 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
afc163
7abf528b96
💄 Optimize custom filter demo of Table 2018-12-18 18:19:27 +08:00
zombieJ
68ad468938
move sorter logic from div to th cell (#13669)
fix #13467
2018-12-17 22:42:16 +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
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
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
Nathan Broadbent
cbed63cb3e Added middle and small sizes for Card component 2018-12-11 19:31:28 +08:00
afc163
6ee4c1a290
🐛 Fix Table filter dropdown button not clickable 2018-12-11 11:08:18 +08:00
陈广亮
1e0400704b fix getColumnTitle bug
title: <div>
           <span>title</span>
           null
        </div>
2018-12-10 16:19:22 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombiej
821ced5e30 fix filtered record miss selectedRows
fix #11384
2018-12-06 11:06:10 +08:00
zy410419243
4b6d2ede2f pref: fix codecov problem 2018-12-05 19:45:38 +08:00
zy410419243
61ae2267c5 pref: remove useless code 2018-12-05 19:45:38 +08:00
zy410419243
cac8e97854 try: to find whether there is something wrong with test case 2018-12-05 19:45:38 +08:00
zy410419243
ddec8a4db6 test: update snapshots 2018-12-05 19:45:38 +08:00
zy410419243
e0b3b28e9f pref: add test case 2018-12-05 19:45:38 +08:00
zy410419243
32d1f2852a fix: add title type 2018-12-05 19:45:38 +08:00
zy410419243
0f9788911e revert: head.MD 2018-12-05 19:45:38 +08:00
zy410419243
24e6556f08 pref: fix ci problem 2018-12-05 19:45:38 +08:00
zy410419243
20de214c49 pref: fix ci problem 2018-12-05 19:45:38 +08:00
zy410419243
374c831822 pref: fix lint problem 2018-12-05 19:45:38 +08:00
zy410419243
4354e0aec4 fix: #13312 2018-12-05 19:45:38 +08:00
amedora
0aeb9a356b use color definitions insted of numbers 2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
cc6402aec6
Upgrade TypeScript version to 3.2 2018-12-04 20:18:16 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
18f705fcf6
Merge branch 'master' into feature
* master: (28 commits)
  remove overflowY on TextArea autoSize since height transition has been removed for a long time fix #10151
  💄 tweak form control margin, close #13183
  Update Crowdin configuration file
  Correct date-picker demo
  📝 upgrade ts comment
  💄 tweak tree switcher icon size
  Fix regular error in firefox and safri
  add change log
  add checkbox-border-width
  add style to SwitchProps
  update rc-tree-select
  Snapshot fixed.
  tabIndex prop added to DatePicker
  Improve form demo
  prefer logical AND over ternary (#13254)
  fix form demo
  format (#13252)
  📝 improve document images
  migrate locale provider to new lifecycle method
  types: add generic type for Select[value]
  ...
2018-11-27 11:26:16 +08:00
ztplz
e54b50cc01 Fix regular error in firefox and safri 2018-11-25 22:09:03 +08:00
Laith
2bf0fadb11 Starting sort order with 'ascend', then 'descend', then undefined. (#13069) 2018-11-21 00:27:11 +08:00
wa1k3r
eac1c2482f update checkbox wrapper-state-class snap 2018-11-20 22:06:00 +08:00
zombiej
5ef2e23bcf Merge remote-tracking branch 'origin/master' into feature 2018-11-20 16:36:18 +08:00
zombiej
8fbfa1f876 should check more strict to avoid shallow compare miss match
fix #13028
2018-11-15 23:34:13 +08:00
afc163
cdafee70f2 Merge branch 'master' into feature
* master:
  🔥 update less code style
  ⬆️ upgrade react-dnd version
  update
  Remove unused dependencies
  3.10.7 changelog
  🐛 Fix typo, #12978
  update changelog
   Release 3.10.6
  🚑 Fix Button[href] 1px align bug in another way
  tweak style
  💄 tweak button style
2018-11-12 12:06:24 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
afc163
11384384d0
Merge branch 'master' into feature 2018-11-10 22:10:07 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
713b363a9b Merge branch 'master' into feature
* master:
  fix: extra space
  docs(table): generic type arguments in jsx elements demo
  revert webpackbar
2018-11-09 18:56:01 +08:00
muzea
0c5bbf04f4 fix: extra space 2018-11-09 18:35:34 +08:00
muzea
0760cb7ff7 docs(table): generic type arguments in jsx elements demo 2018-11-09 18:35:34 +08:00
zombiej
fac13e2e0b Merge remote-tracking branch 'origin/master' into feature 2018-11-09 10:50:20 +08:00
afc163
368468829f Fix nested Table style insider another wrapper
close #13025
2018-11-08 20:52:38 +08:00
afc163
2358cbef31 💄 improve table style 2018-11-08 14:45:16 +08:00
afc163
9b9f2ceaaf Fix nested small/middle size Table style 2018-11-08 14:21:39 +08:00
afc163
fa457c465d docs: explain tree table and childrenColumnName, close #13002 2018-11-07 17:37:58 +08:00
afc163
ad0f9b28ec Merge branch 'master' into feature
* master:
  site: add Community discusstion links
  🌐 site: transition component category, close #11629
  Fix Collapse Panel id definition, close #12357
  Fix style overlap with sorter when long text in Table column header
  Add more recommendation
  adjust datepick reset logic
  reset showDate when picker is closed fix #12929
2018-11-04 17:15:29 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
1784949e94 Fix style overlap with sorter when long text in Table column header
close #12650

ref #12552
2018-11-04 15:54:31 +08:00
picodoth
3b748981ba Merge branch 'master' into feature 2018-11-04 00:15:06 +08:00
yoyo837
41360cc4c8 update dataIndex description 2018-11-03 12:32:56 +08:00
afc163
2aefdda0ff Build in and improve UI of nested Table in expand-children Table
close #12877
2018-11-02 18:23:26 +08:00
afc163
0fc32da6ea Merge branch 'master' into feature
* master: (27 commits)
  Fix sort order broken issue when columns were put in render
  fix Modal docs typo
  Improve Alert
  update select props :onPopupScroll
  add transform-origin on dropdown as menu
  Update validate-other.md
  should not hide avatar in vertical item layout of List
  fix stylelint again by locking version :sad:
  Fix fixed-columns Table border issue, close #9687
  site: still need the fallback scrollIntoView, #12683
  use latest stylelint
  site: fix npm run site error
  Update jsdom requirement from ^12.1.0 to ^13.0.0
  🐛 dynamic form doc fix
  Fix button icon margin style bug
  remove babel-plugin deps
  clean up useless deps
  Use recomended babel-preset-env
  findDOMNode to refs, close #12843
  componentWillReceiveProps => getDerivedStateFromProps
  ...
2018-11-01 14:36:14 +08:00
afc163
a7f17b4cde Fix sort order broken issue when columns were put in render
will handle these situation

- with 'key'
- with function has same stringify value

close #12870
close #12737
2018-11-01 13:44:48 +08:00
afc163
08600adade Fix fixed-columns Table border issue, close #9687 2018-10-31 17:03:40 +08:00
Wei Zhu
af54f500eb Merge branch 'master' into feature 2018-10-29 19:40:08 +08:00
afc163
073ffd6503 fix typo selector, #12723 2018-10-26 23:59:57 +08:00
afc163
a835536dde Fix checkbox align of small/middle size table, close #12723 2018-10-26 23:49:13 +08:00
afc163
6f955681b8 Fix small size table header border missing in Firefox
close #12840

ref #12628
2018-10-26 23:22:41 +08:00
afc163
ba5409afa3 Merge branch 'master' into feature 2018-10-26 18:48:34 +08:00
yoyo837
512e85ec5f fix test case 2018-10-26 12:29:43 +08:00
yoyo837
da143a064f fix test case 2018-10-26 12:29:43 +08:00
yoyo837
49f4fdf9b6 update demo 2018-10-26 12:29:43 +08:00
yoyo837
722b903118 update docs react-component/table#222 2018-10-26 12:29:43 +08:00
zombiej
0235ba585f adjust small table placeholder style
fix #12682
2018-10-24 23:30:03 +08:00
Ivan Kravets
65f85257b0 Avoid static table backgrounds and use dynamically calculated
Tested with light/dark themes.
2018-10-23 12:30:59 +08:00
Li Chao
b92d4ed627 Update head.md
The parameters of the sorter method are rows
2018-10-18 11:09:59 +08:00
zombiej
0e1caae01d Table add expandIcon prop
close #10819, #11802
2018-10-17 21:22:40 +08:00
afc163
42e5b8b77e Fix Table th border missing in Firefox
close #12628

solution found at https://stackoverflow.com/a/16337203
2018-10-15 11:12:16 +08:00
afc163
68c177cdc1 update snapshot 2018-10-10 15:12:06 +08:00
afc163
f1d1d87de0 Fix unexpected column title in unsorted columns 2018-10-10 14:50:59 +08:00
afc163
46f4a3e9da Fix Table sort style of right-aligned column
when size is small
2018-10-10 14:45:56 +08:00
afc163
55a13a11fc Fix Table sort style of right-aligned column
close #12552
2018-10-10 13:52:33 +08:00
afc163
688f4ec8d6 Fix sort state not change when columns in render
close #12571
2018-10-10 11:23:44 +08:00
afc163
9e58e56e76 tweak sorter icon position 2018-10-09 18:53:32 +08:00
afc163
86b342545d Fix sorted column background in small size Table 2018-10-09 18:53:32 +08:00
afc163
419287de2b Fix sort event on every columns when sorter is true
close #12515
2018-10-06 18:21:30 +08:00
Wei Zhu
a9f7a2d38d tweak table sort icon size 2018-10-02 00:48:45 +08:00
Wei Zhu
a3ce6678cb Update snapshot 2018-10-01 23:57:45 +08:00
Wei Zhu
ff0595733f refactor: use instanceof instead typeof 2018-09-30 17:04:05 +08:00
Wei Zhu
2bf2bb5af4 fix: type error 2018-09-30 16:58:25 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Wei Zhu
fe677e2966 fix: type error of filterDropdown 2018-09-30 16:11:25 +08:00
zombieJ
2cd0ca3225 Get the filtered data after executing the filter function on the dataSource (#12369)
* update testcase

* rename as currentDataSource
2018-09-30 11:17:39 +08:00
Wei Zhu
fcb546ea57 Update snapshot 2018-09-29 16:41:56 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
KentonYu
5545342bd4 docs: 修改 Table 文档 (#12460)
RowSelection 中 onSelectAll、onSelect 说明中的 列 改为 行
2018-09-28 22:05:43 +08:00
Wei Zhu
306bce385b Improve type definition and doc of TableComponents 2018-09-25 19:48:50 +08:00
Xiaoyu Li
1f8ac3f697
fix filterIcon type
based on api [ReactNode|(filtered: boolean) => ReactNode]

https://ant.design/components/table-cn/#components-table-demo-dynamic-settings
2018-09-22 20:11:09 -05:00
ycjcl868
4d1e46e03d Merge master into feature 2018-09-23 01:43:35 +08:00
zombiej
2906b456ce update test case 2018-09-22 14:53:45 +08:00
zombiej
048a9020f3 adjust style 2018-09-22 14:53:45 +08:00
zombiej
50dc59e1ce adjust table style 2018-09-22 14:53:45 +08:00