Commit Graph

1501 Commits

Author SHA1 Message Date
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
afc163
be3226b757
Merge master into feature 2019-06-14 16:20:29 +08:00
afc163
6d2ad5c324
💄 optimize bordered table header scrollbar style
continue after #17065
2019-06-12 19:39:28 +08:00
afc163
52905e1b39
💄 adjust bordered table header scrollbar style 2019-06-12 18:12:11 +08:00
afc163
b585751e49
update snapshots 2019-06-12 11:44:44 +08:00
zombieJ
e67270cd59
fix: Table with sort should reset to first page (#17020)
* sort reset pagination

* add test case
2019-06-10 11:59:46 +08:00
afc163
e5e22e2f9a
Fix test snapshots 2019-06-07 18:18:29 +08:00
偏右
6e5d79cb4e
Merge pull request #16961 from zjffun/patch-2
docs: Add width attr to the table's grouping columns demo
2019-06-07 18:06:19 +08:00
偏右
c6e56e642d
Merge pull request #16934 from ant-design/fix-table-scroll-bar
fix: abnormal scrollbar in Chrome
2019-06-05 11:18:27 +08:00
zombieJ
3547887e75
fix: Table miss border-raidus in Firefox (#16957)
* Revert "Merge pull request #16174 from ant-design/fix-table-chrome"

This reverts commit 686c1fc346, reversing
changes made to 924afc2706.

* firefox only

* add comment
2019-06-05 10:17:41 +08:00
zjf
9c1691b8a3 rebase 2019-06-04 23:41:32 +08:00
偏右
9fdc408cd0
Merge branch 'master' into bugfix 2019-06-04 18:59:20 +08:00
afc163
b1f81045c6
💄 Fix scrollbar border bottom 2019-06-04 16:18:25 +08:00
afc163
1d1339e302
update snapshots 2019-06-04 16:11:01 +08:00
afc163
553487e006
🐛 Fix Table header extra scrollbar control
close #4637
close #14211

https://github.com/react-component/table/pull/333
2019-06-04 15:52:32 +08:00
afc163
eb063d58fa
🐛 Fix abnormal scrollbar in Chrome
when rowSelection and title work together

close #16912
2019-06-03 16:46:31 +08:00
alxkosov
fb6d629e7b Added 2 variables to flexibly control the background of the table cells (#16843) 2019-06-03 10:05:37 +08:00
Sergey Levkovich
7304daf4fa
Update index.en-US.md 2019-05-27 18:45:47 +03:00
afc163
c4128c0d14
🐛 Fix selectedRows missing when there is childrenColumnName in Table
close #16614
2019-05-16 14:50:24 +08:00
afc163
be75d125b6
Fix snapshots 2019-05-14 16:26:21 +08:00
afc163
5313777681
💄 Improve Table demo color style 2019-05-14 12:16:13 +08:00
zombieJ
399778ce2b
update snapshot (#16556) 2019-05-13 15:58:22 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
969c171da1
fix filterDropdown type 2019-05-07 12:09:55 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
陈帅
30508b0124 fix error types (#16043) 2019-04-28 11:47:22 +08:00
afc163
7b56290ef4
📝 Improve column.align document 2019-04-27 18:15:07 +08:00
zombieJ
197c424e54
fix small table header have background color (#16266) 2019-04-24 10:37:29 +08:00
偏右
686c1fc346
Merge pull request #16174 from ant-design/fix-table-chrome
fix: Firefox miss bottom line when use sorter
2019-04-22 11:02:03 +08:00
zombieJ
73188ac497
fix: Table rowSelection.columnWidth should work (#16180)
* set row col width instead of check cecll width

* use rc-table internal hook

* update snapshot
2019-04-21 13:54:15 +08:00
Aaron Cawte
719aff7b1f Documentation - Table Component 2019-04-19 23:37:13 +01:00
zombiej
7e3c338c22 remove background lock 2019-04-18 23:14:09 +08:00
zombiej
09ed59dba7 rm useless code 2019-04-18 22:53:29 +08:00
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
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
afc163
8d3cb85142 fix sort state when toggle between multiple columns 2018-09-21 19:06:38 +08:00
afc163
a0b8637783 destructuring assignment 2018-09-21 19:06:38 +08:00
Wei Zhu
d5a77eff0b Update snapshot 2018-09-21 17:32:35 +08:00
偏右
85749c94fb
test: remove it.only 2018-09-21 15:55:00 +08:00
afc163
7c6299e12e Merge branch 'master' into feature 2018-09-21 14:03:04 +08:00
afc163
f0974e0da7 support column.title as render props
```jsx
columns={[{
  title: (filters, sortOrder) => <div>Title</div>,
}]}
```

close #11246
2018-09-21 13:41:08 +08:00
afc163
71316d6baa update table snapshot 2018-09-21 13:41:08 +08:00
afc163
8feb15ea72 fix test case 2018-09-21 13:41:08 +08:00
afc163
bcb06ec174 Add active style of filtered state 2018-09-21 13:41:08 +08:00
afc163
6530de2961 revert getPopupContainer 2018-09-21 13:41:08 +08:00
afc163
209e40508d fix sort 2018-09-21 13:41:08 +08:00
afc163
da33358e75 tweak icon active style 2018-09-21 13:41:08 +08:00
afc163
27e2654f0f sort by click column area 2018-09-21 13:41:08 +08:00
afc163
6f67c435c2 separate filter and sort into two click area 2018-09-21 13:41:08 +08:00
afc163
4c84dad106 move filter icon to end of column head 2018-09-21 13:41:08 +08:00
zombiej
954c7ecd8e fix #12284. confirmFilter is after set state 2018-09-19 18:33:09 +08:00
afc163
c65d6f6f36 Merge branch 'master' into feature 2018-09-17 15:01:53 +08:00
afc163
c935d53b71 Fix sorter icon align of Table 2018-09-17 14:53:21 +08:00
afc163
cd9b8b20b5 Merge branch 'master' into feature 2018-09-16 17:29:04 +08:00
zombiej
26c3ea4f4a fix #12233. Height should not in transition. 2018-09-13 20:42:45 +08:00
zombiej
2b22d6b19c bump rc-switch & update test case 2018-09-13 19:47:28 +08:00
Mikasa33
6833e767c6 Add defaultSortOrder (#12229)
添加默认排序参数说明
2018-09-13 19:40:43 +08:00
zombiej
526f10d5ff fix #12179. Remove transition of border in small table 2018-09-12 16:51:45 +08:00
zombiej
b1f9f03b3d fix #6515. Add opacity on the table header as fixing additional scroll bar workaround. 2018-09-08 21:24:35 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70 adjust time picker default width since font number to be laregr 2018-09-06 19:16:37 +08:00
包子熊
67024893ce Hotfix/icon issue (#12016)
* fix progress icon

* remove IconDisplay fields.js

* update progress test snapshot

* fix form item circle filled

* update form-item test snapshot

* fix close icon in upload item list

* fix alert icon theme

* update alert test snapshot

* fix time picker clear icon

* fix test snapshot

* fix rotate icon in the header

* update test snapshot

* update new tree test snapshot

* fix icon position

* fix old icon and new icon both display

* fix card actions icon position
2018-09-03 19:29:27 +08:00
HeskeyBaozi
24568f61ff use the whole svg icons 2018-09-02 23:39:58 +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
359191abeb update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
Tom Xu
8ff9dc6bab Table added a new less variable @table-header-color 2018-08-31 10:42:50 +08:00
hongxuWei
698aa3a01a Fix the bug of edit cell demo 2018-08-30 10:42:43 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +08:00
carrie-tanminyi
c2e50610ff Update index.zh-CN.md (#11924) 2018-08-28 17:14:04 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
0c751ca3b5 remove pseudo-class in pagination 2018-08-22 20:01:00 +08:00
HeskeyBaozi
3b598eafe1 update pagination test snapshot 2018-08-21 17:14:35 +08:00
HeskeyBaozi
9330aaec06 update table test snapshot 2018-08-20 15:37:55 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
afc163
838be31543 good looking table demo 2018-08-18 12:48:56 +08:00
HeskeyBaozi
f275f3090a update Icon api 2018-08-16 11:41:37 +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
838abbd358 tweak table demo 2018-08-12 22:02:33 +08:00
HeskeyBaozi
bda65ddb1e update select snapshot 2018-08-09 16:07:57 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
afc163
bead75021b change and undocument onSelectMultiple cause it need more disscuss 2018-08-05 13:58:54 +08:00
afc163
aa2b1a4352 Merge branch 'master' into feature-3.8.0 2018-08-03 23:16:08 +08:00