Commit Graph

1818 Commits

Author SHA1 Message Date
zefeng
8a50a2cb77
chore: use react internel optimize code style (#21659) 2020-02-28 11:11:00 +08:00
偏右
b86e9fea14
docs: 🎬 fix expandIcon demo link (#21661)
* 🎬 fix expandIcon demo link

close #21657

* Update index.en-US.md
2020-02-28 11:09:17 +08:00
偏右
8e367cc6d5
chore: 🆙 upgrade rc-pagination to 2.0 (#21650)
* 🆙 upgrade rc-pagination to 2.0.0

*  update pagination snapshots

* 🆙 upgrade rc-pagination to 2.0.1
2020-02-27 21:58:11 +08:00
偏右
0154154c9b
🐛 Table filter menu should have max-height (#21602)
close #19542
2020-02-26 14:53:02 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
shmilyKang
6b9e7fc9dd
完善Table Api的Scroll的说明 (#21540)
提示scroll也可以修改滚动区域的宽高。
2020-02-23 13:36:02 +08:00
二货机器人
4358f48abd
fix table selection with empty children error (#21528) 2020-02-22 22:19:33 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
taichiyi
cd19fa595a
docs: fix table rowSelection (#21368) 2020-02-13 18:32:35 +08:00
偏右
291ba0c4be
🆙 pass disabled to custom prev and next buttons (#21361)
close #21351
2020-02-13 13:31:37 +08:00
Artin
297c3961ea fix: table export ColumnProps (#21321) 2020-02-10 17:43:45 +08:00
佛门耶稣
06de637163 no overwrite expandIconColumnIndex if set (#21315) 2020-02-10 15:04:22 +08:00
二货机器人
3080611883
feat: Notification support hooks for context (#21275)
* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
2020-02-07 17:55:26 +08:00
afc163
e03209c7d4 update snapshot
close #20779
2020-02-04 17:42:18 +08:00
二货机器人
6d685c7e8a
fix: Table customize filter update (#21218)
* fix: useSyncState logic

* add test case
2020-02-04 17:30:41 +08:00
二货机器人
b4519407b8
fix: Table.Column should correct handle sorter state (#21194) 2020-02-03 16:48:13 +08:00
二货机器人
d96ab1c985
fix: Table expandIcon should work (#21169)
* test driven

* fix logic
2020-02-01 22:50:58 +08:00
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00
骗你是小猫咪
6378d16e19 chore: upgrade rc-table (#21053) 2020-01-21 20:43:52 +08:00
二货机器人
9aee6d62d8
fix: Table locale emptyText should work (#21024) 2020-01-20 15:12:49 +08:00
zombiej
2584635d73 chore: Update snapshot & clean typo of Table scroll desc 2020-01-19 16:57:04 +08:00
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00
二货机器人
ddfce71532
fix: Table selectAll should not checked when all the checkbox is disabled (#20968) 2020-01-17 14:02:07 +08:00
zombiej
ff079e7d2a chore: Update Table related snapshot 2020-01-16 15:43:45 +08:00
二货机器人
d231d24300
update docs & table version (#20892) 2020-01-14 16:23:47 +08:00
二货机器人
f470f3e1e4
fix: Table onChange return cached data (#20858) 2020-01-13 15:04:27 +08:00
二货机器人
00aab562a0
fix: Table expand icon not clickable when expandRowByClick is set (#20808) 2020-01-09 22:44:31 +08:00
二货机器人
078498058a
fix: Update table deps & fix bordered placeholder missing border right (#20805) 2020-01-09 21:46:55 +08:00
二货机器人
1bea19b1dc
fix: Move table-bg less variable into table background instead of td (#20794) 2020-01-09 14:22:34 +08:00
二货机器人
12c8750488
chore: Add missing Table export interface (#20789)
* chore: Add missing Table export interface

* fix lint
2020-01-09 13:47:30 +08:00
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working (#20765)
Fix InputNumber and Other components icon size

close #20752
2020-01-08 16:31:25 +08:00
二货机器人
4068f3d190
fix: RowSelection fixed should work (#20735) 2020-01-07 19:17:37 +08:00
二货机器人
182dcf5606
fix: Chrome scale 125% should not display y-scrollbar (#20705) 2020-01-07 10:48:42 +08:00
二货机器人
1c1a4a773d
fix: Table should not crash with empty column children (#20703) 2020-01-06 20:28:47 +08:00
二货机器人
6017b3f025
fix: Table ts define (#20695) 2020-01-06 17:28:28 +08:00
zombiej
e38a88181d chore: Merge 4.0-prepare 2020-01-06 11:13:39 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
二货机器人
493e987f16
fix: add IE 11 css hack (#20643) 2020-01-03 16:17:28 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size (#20570)
* feat: Support form & ConfigProvider set component size

* update snapshot

* fix lint

* rm only

* update doc

* Table & Card support sizing

* Update snapshot

* fix lint

* update snapshot

* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components (#19380)
* rtl demo change en-us description

* change bundlesize css limit

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* fix select component arrow issue

* RTL: form component

* add pagination rtl test

* fix test lint error

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* some fixes to RTL components

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* fix switch component text rtl issue

* fix table grouped header text-align

* add rtl support to whole demo with RTL button

* Update rtl demo responsive

* RTL: page-header component

* RTL: typography component

* RTL: Dropdown (Partial)

* update config-provider doc

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* fix lost changes after rebase

* fix lint errors

* RTL: Transfer Component

* RTL: upload component

* RTL: update avatar demo

* RTL: comment component

* RTL: collapse component

* RTL: carousel component

* update snapshots

* RTL: Card component

* RTL: descriptions component

* RTL:  Empty component

* RTL: list component

* RTL: slider component

* slider component import/order

* add shared rtlTest

* RTL: Statistic component

* RTL: tooltip components

* RTL: popover component

* RTL: timeline component

* RTL: tag component

* RTL: alert component

* RTL: drawer component

* RTL: Tab component

* change direction definition

* RTL: progress component

* input.tsx, remove duplicate after rebase

* fix demo.less after rebase

* fix ant-row-rtl after rebase

* fix upload issues in rtl

* badge rtl demo margin fix

* fix: tabs with icon margin

* fix: radio-wrapper margin

* fix: table component after rebase

* fix: centered modal text-align

* update slider snapshot

* RTL: popconfirm component

* RTL: back-top component

* RTL: spin component

* RTL: result component

* RTL: skeleton component

* RTL: menu component

* RTL: time-picker component

* RTL: calendar component

* RTL: date-picker component

* RTL: home page

* update snapshots

* test: add auto-complete rtl test

* test: add avatar component rtl tests

* test: add badge component rtl tests

* test: add breadcrumb component rtl tests

* test: add button components rtl tests

* test: add card component rtl tests

* test: add carousel component rtl tests

* test: add cascader component rtl tests

* test: add checkbox component rtl tests

* test: add collapse component rtl tests

* test: add comment component rtl tests

* test: add dropdown component rtl tests

* test: add empty component rtl tests

* test: add form component rtl tests

* test: add grid component rtl tests

* test: add input component rtl tests

* test: add search component rtl tests

* test: add input-number component rtl tests

* test: add layout component rtl tests

* test: add list component rtl tests

* test: add mentions component rtl tests

* test: add modal component rtl tests

* test: add page-header component rtl tests

* test: add pagination component rtl tests

* test: add radio component rtl tests

* test: add rate component rtl tests

* test: add select component rtl tests

* test: add slider component rtl tests

* test: add steps component rtl tests

* test: add switch component rtl tests

* test: add table component rtl tests

* test: add transfer component rtl tests

* test: add tree component rtl tests

* test: add tree-select component rtl tests

* test: add typography component rtl tests

* test: add upload component rtl tests

* test: add affix component rtl tests

* update calendar tests

* increase css file maxSize

* update snapshots

* remove workflows to allow push

* remove duplicate reverse prop from slider

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* Added direction property to ConfigProvider

* cascader rtl tests added

* update config-provider doc

* RTL: grid system

* RTL: input component

* RTL: switch component

* fix rtl demo lint

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* RTL: form component

* add pagination rtl test

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* input.tsx, remove duplicate after rebase

* fix ant-row-rtl after rebase

* update snapshots

* test: add cascader component rtl tests

* test: add pagination component rtl tests

* update calendar tests

* update snapshots

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* update direction.md icons

* dropdown and cascader default placement in rtl

* update snapshots

* fix lint errors

* remove duplicate import

* update snapshots

* update snapshot

* update calendar snapshot

* update snapshots

* integrate with new rc-picker

* update snapshots

* fix lint errors

* update snapshot

* update snapshots

* update snapshots

* update snapshots :|

* update snapshots

* fix compile error.

* fix typo after rebase

* update snapshots

* remove workflows to allow push

* update snapshots

* update snapshots

* fix dist error

* front-page css fix

* update snapshots

* fix lint and test issues

* restore cascader index.less

* update snapshots

* fix logo in rtl and demo controls

* ci errors

* resolve steps/index.tsx conflicts

* tooltip family demo remove inline style

* resolve table/Table.tsx conflicts

* resolve modal/Modal.tsx conflicts

* resolve cascader/index.tsx conflicts

* add workflows from upstream

* update snapshots

* revert logo to default

* fix codebox demo direction of placements

* resolve tooltip overlayClassName conflicts

* update snapshots

* update popover test

* fix: cascader miss popupClassName

* fix: fix select missing dropdownClassName

* chore: Update snapshot

* chore: Adjust menu use rtl logic

* docs: Update demo line color

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors (#20562) 2019-12-31 15:04:00 +08:00
zombiej
530db658bc chore: Merge master 2019-12-30 16:43:34 +08:00
二货机器人
f2fdf490de
fix: Table with invalidate pagination totol should ignore (#20532) 2019-12-30 15:35:53 +08:00
偏右
df8f34309f revert Table page return 1 after sort (#20507)
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
2019-12-28 21:52:09 +08:00
二货机器人
695b67b045
fix getPopupContainer not work (#20509) 2019-12-28 12:55:03 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x 2019-12-27 12:34:40 +08:00
偏右
2f72e472e5
🐛 Fix Table header text align when colspan=1 (#20463)
https://github.com/ant-design/ant-design/issues/20126#issuecomment-563307001
2019-12-26 16:07:01 +08:00
ycjcl868
f36b4deaaa Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 15:31:05 +08:00
二货机器人
abf215a982
docs: Update 4.0 site (#20290)
* init recommend block

* init design pages

* home frames

* add background banner

* hello, Hitu makes the animation

* add media query

* add images

* update types

* add declare

* preload support

* update ignore

* additional ignore site Home lint

* update ignore

* add hover effect

* adjust alt of bannber

* adjust lang & card shadow

* fix typo

* adjust desc

* hitu in english

* article add link

* Certainty is hitu

* Meaning Hitu

* Growth with Hitu

* Natural Hitu

* slow down of Natural

* adjust speed of icons

* New Meaning animation

* adjust animation duration

* update card link

* update link

* values doc

* replace images

* faster Growth

* update values

* fix lint

* all slow down

* adjust padding

* update icons

* adjust margin

* update images

* adjust montion

* adjust by designer

* update pages

* update design prod

* update articles

* update site style

* update doc

* update images

* update style

* lint fix

* adjust liner color

* github text color update

* adjust margin of title

* mobile design

* update design sub card

* update style

* less lint

* update images

* design card auto height

* update img

* update logo transition

* adjust card style

* adjust style to fix 184

* adjust nav style

* category it

* slow down of logo

* update style

* hide video link

* hitu article

* use img of hitu

* update docs

* style lint

* update Hitu layout doc

* update images

* speed up logo

* update link

* clean up

* clean up

* update doc

* adjust doc

* update images
2019-12-26 15:27:52 +08:00
ycjcl868
e9c5667596 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 11:28:05 +08:00
vagusX
a0beb0f8df feat: update to @ant-design/icons@4.0.0-alpha.16 (#20451) 2019-12-26 00:27:59 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
zombiej
80359a15b1 clean up 2019-12-25 20:19:33 +08:00
zombiej
6dc5a8c2f4 update snapshot 2019-12-25 20:07:10 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
c100b892ba fix: table dark theme style 2019-12-25 15:59:16 +08:00
ycjcl868
839ed3ed05 fix: table site dark style 2019-12-25 15:14:34 +08:00
vagusX
46e1ad1b51 feat: update @ant-design/icons@4.0.0-alpha.13 (#20427) 2019-12-25 11:17:14 +08:00
二货机器人
bfe1294562
4.0 table (#20350)
* chore: Update table style

* chore: diff table filter hover color

* style lint
2019-12-19 17:48:56 +08:00
He Linming
ea9e9fb410 🐛 (Table): fix filters define in onChange (#20337)
close #20270
2019-12-19 10:42:19 +08:00
陈小聪
53bed3ffa8 fix: 4.0 table demo ts to js no work (#20298) 2019-12-17 17:54:10 +08:00
二货机器人
b07d95b0dd
docs: Update Table scroll docs (#20204) 2019-12-12 11:14:43 +08:00
zombiej
50b82ca509 test: Update test case snapshot 2019-12-11 18:32:07 +08:00
Olivier Louvignes
3ef0a402b5 feat(table): Add defaultFilteredValues to table columns (#20088) 2019-12-11 15:15:23 +08:00
二货机器人
7b4123258b
fix: table should not show sorter when sorter is falsy (#20187)
fix #20096
2019-12-11 14:14:52 +08:00
ycjcl868
1641e5a37b fix: lint 2019-12-07 10:38:14 +08:00
ycjcl868
bb42770da7 fix: rename @gray-11 to @popover-background 2019-12-07 10:21:05 +08:00
Kim, Harim
850a5b4567 Docs: fix table demo typing error (#20115)
* Docs: fix table demo typing error

* test: update snapshots (#20115)

* test: update snapshots (#20115)
2019-12-06 14:22:54 +08:00
zombiej
3d8b076b83 fix: table fixed columns should not overlap other z-index element
fix #20098
2019-12-05 19:31:24 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail (#19408)
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
2019-12-05 16:15:10 +08:00
偏右
89a6593c44
🐛 Fix Table column align in windows chrome (#19986)
close #19952
2019-12-05 10:55:45 +08:00
ycjcl868
dfab3c4ab5 fix: border-color in popover component 2019-12-04 11:58:48 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
62952a89b5 fix: empty prefix className, update snapshot 2019-12-03 20:17:13 +08:00
afc163
811d562527 update snapshots 2019-12-03 12:19:49 +08:00
afc163
16ac3b31df 🐛 Fix filterIcon Tooltip title is not working
close #20049
2019-12-03 12:19:49 +08:00
afc163
85b6744bf6 🐛 Fix filterIcon render string cause Table broken 2019-12-03 12:19:49 +08:00
afc163
0ab55ce884 🐛 fix footer style in small table 2019-12-02 19:18:53 +08:00
afc163
ecce1e4aba update snapshots 2019-12-02 19:02:33 +08:00
afc163
6096f6e281 🐛 fix small table header border issue
close #20030
close #18762
2019-12-02 18:07:22 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f merge feature 2019-12-01 15:29:53 +08:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
6ca5628417 Merge 4.0-prepare into fix-button-demo 2019-11-29 14:27:47 +08:00
二货机器人
5ef6b04554
fix: Table ajax pagination should work (#19980) 2019-11-28 14:46:49 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
jeessy2
221d404986 fix: 4.0 table filters value may be previous (#19873)
* fix: 4.0 table filters value may be previous

* create a sync variable to resolve async 'setFilteredKeys'

* useSyncState to fix 'setFilteredKeys' async

* new line

* new line

* add ,

* removed 'setFilteredKeys' and re-render useSyncState

* menu must be a array
2019-11-26 14:25:33 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
ycjcl868
1d0f97d0a9 fix: lint 2019-11-25 07:02:24 +00:00
ycjcl868
37a85366f3 feat: add Button danger 2019-11-25 07:02:24 +00:00
ycjcl868
4f23bbcdc6 fix: Table demo actions margin 16px 2019-11-25 07:02:24 +00:00
mbotnari
fb4ed9a638 chore(Table): Update custom-filter-panel.md demo (#19899)
* Update custom-filter-panel.md

In order to decrease the confusion during search created by highlighted text in all the columns, the proposal is to highlight searched text in the searched column exclusively.

* chore(Table): Update demo.test.js.snap

Snapshot update according to update in components/table/demo/custom-filter-panel.md

* chore(Table): Update custom-filter-panel.md demo

Missing trailing comma comma-dangle
2019-11-24 19:10:29 +08:00
陈小聪
e71a4ef10f docs: Removed version column in 4.0 (#19832) 2019-11-20 17:46:50 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
信鑫-King
9da09ffb2a
Merge pull request #19719 from ant-design/4.0-less-token-tweak
tweak: 4.0 less token
2019-11-19 17:40:15 +08:00
jeessy2
23f74eccbe fix: typescript define (#19780)
* ColumnGroupType should be antd's

* columns should not be from rc-table
2019-11-19 10:03:03 +08:00
Martin Litvaj
bb92b01ae0 Update link to latest ColumnProps (#19789)
* Update link to latest ColumnProps

* update CN docs
2019-11-18 23:02:33 +08:00
ycjcl868
d91ed3e428 Merge 4.0-prepare into 4.0-less-token-tweak 2019-11-18 10:20:14 +08:00
二货机器人
5d98667687
chore: Export some useful define (#19770) 2019-11-17 17:57:35 +08:00
Olivier Louvignes
103920e4f5 Add defaultFilteredValues to table columns (#18925) 2019-11-16 18:58:23 +08:00
二货机器人
72a7ba618f
New Table (#19678)
* chore: update rc-table

* add basic table style

* checked all logic

* checkbox support disabled

* selection style

* selection support radio

* add selections support

* selection extra style

* select all locale

* sorter logic

* add more desc

* init Filter hooks

* init filter hooks

* update style

* filter style

* filter style

* fix filter

* sort control

* ajax it

* add expandedable css

* expandable view style

* fixed style

* border style

* empty style

* fix pagination style

* add fixed demo

* un-comment

* clean up

* fix filter check logic

* fix overflow & ellipsis conflict

* fix tes

* adjust scroll shadow

* fix border fixed style

* add part of test case

* add filter test part

* more test case

* issue related test

* filter test

* adjust pagination logic

* fix pagination test case

* all selection test case

* table sorter test case

* table basic test

* fix test case

* update faq

* update expandable doc

* add v4 doc

* add summary docs

* more demo

* fix selection

* update snapshot

* update test case

* fix ff styling

* update rc-table

* update snapshot

* update snapshot

* fix lint

* fix style lint

* fix style

* update snapshot

* update desc

* fix missing icon
2019-11-15 14:35:25 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
ShuYu Wang
68603366eb fix: add missing null option type (#19722)
See-also: https://ant.design/components/table/#components-table-demo-reset-filter
2019-11-14 10:18:03 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
Dean van Niekerk
af2dd379c2 Fixed typing issue in Table > filterDropdown (#19701) 2019-11-13 07:51:53 +08:00
afc163
91fcf98741
🐛 fix error for typescript@3.7.2 2019-11-10 18:05:43 +08:00
骗你是小猫咪
0ee4a531a1 refactor: upgrade rc-dropdown (#19498)
* refator: upgrade rc-dropdown

* upgrade rc-dropdown version

* update snapshots
2019-11-06 14:49:20 +08:00
zombiej
9bea463638 chore: fix ts define 2019-11-06 11:18:11 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
afc163
fd573acdec 🐛 Fix Table border missing in fixed columns 2019-11-05 01:58:56 +08:00
afc163
b697ef1213 🐛 Fix Table Column defaultSortOrder not working 2019-11-05 01:34:42 +08:00
afc163
0bdf682a80 🐛 Fix Table inifinite loop issue 2019-11-05 01:34:42 +08:00
He Linming
3d8b9df423 fix: table does not automatically scroll to the top when change page size (#19465)
* 🐛 (Table): fix scrollToFirstRow

fix table does not automatically scroll to the top when change page size
close #19464

*  (Table): add test case for scrollToFirstRow

* 👌 (Table): change Trigger to .ant-select

Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>
2019-11-02 17:18:44 +08:00
afc163
92caa2d02c docs: improve table demo description 2019-11-01 10:41:07 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
afc163
99d8f07607 🐛 Fix sort order of columns in render
array value of columns

close #19398
2019-10-27 00:20:24 +08:00
二货机器人
25788e69a8
omit withstore (#19343) 2019-10-22 11:54:03 +08:00
afc163
b919c23d08 🐛 Fix small table bottom border radius issue
https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
2019-10-22 11:16:39 +08:00
afc163
6b74a1e944 update table snapshot 2019-10-21 14:28:16 +08:00
afc163
185d2c41e8 🐛 fix small table border radius issue
close #19287
2019-10-20 19:12:59 +08:00
二货机器人
b9b239ec08 test: add test case for ref test (#19302)
* add test case for ref test

* update test case
2019-10-19 22:48:13 +08:00
afc163
13d219c439 🐛 Fix Table scroll.x max-content not working 2019-10-18 18:34:26 +08:00
二货机器人
40aca57453
chore: Remove React function polyfill (#19279)
* chore: Remove polyfill

* add more skip
2019-10-18 11:29:34 +08:00
二货机器人
0f83e0a4ee
fix: should work in old version react (#19262)
* fix: should work in old version react

* update ci config

* add version log
2019-10-17 16:01:46 +08:00
二货机器人
7d32f99283
fix: Add missing typescript define (#19251)
* fix: Add missing typescript define

* remove withStore

* fix lint
2019-10-16 22:12:52 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
5a07b85d9e upgrade fires change event test case 2019-10-15 16:33:37 +08:00
yoyo837
0522d55f26 snapshot 2019-10-15 16:33:17 +08:00
yoyo837
59685afeeb Provide additional args for onChange sorter when unsorting 2019-10-15 16:04:38 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
Merge features
2019-10-15 14:36:41 +08:00
yoyo837
6db3711876 upgrade table demo : onChange add args extra 2019-10-15 10:00:16 +08:00
zombiej
218798cfb4 merge master 2019-10-14 17:21:22 +08:00
yoyo837
453c01aaae tuple for column fixed prop types 2019-10-14 16:10:22 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion (#19205)
* refactor: Use CSSMotion

* fix lint

* update rc-menu deps

* fix test case

* clean up

* more test case

* fix lint
2019-10-14 15:01:16 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
shao
41bbcfe180 docs: probably better phrased as Table component 2019-10-09 14:21:14 +08:00
Leon Koole
4aa81e576c Clear up confusing language about dataSource keys 2019-10-08 22:53:16 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
orzyyyy
54cf1a924d fix: lint 2019-10-06 07:17:52 +08:00
afc163
47dee4c7d7 fix eslint problems 2019-10-05 18:02:16 +08:00
afc163
916c0659bd increase Table test coverage 2019-09-28 19:11:10 +08:00
afc163
fb913f4f47 💄 fix lint 2019-09-28 19:11:10 +08:00
afc163
e1a4f2891e 🐛 Fix Table filter submenu checkbox margin
https://user-images.githubusercontent.com/507615/65814464-a5c6c000-e214-11e9-8085-2c6fb1f5c6f2.png
2019-09-28 19:11:10 +08:00
afc163
d41b5be377 increase Table test coverage 2019-09-28 19:11:10 +08:00
afc163
66ca4a8b25 more test cases 2019-09-28 19:11:10 +08:00
afc163
650d44e8a7 🐛 fix React.createElement undefined 2019-09-28 19:11:10 +08:00
afc163
bbc8800cb8 optimize Table components compare logic 2019-09-28 19:11:10 +08:00
afc163
3acbc941a6 🔨 react-lifecycles-compat for Table 2019-09-28 19:11:10 +08:00
afc163
3f7b7dedd6 💄 improve code style 2019-09-28 19:11:10 +08:00
kristof0425
18017d6ea5 fix(Table): correct lint errors 2019-09-28 19:11:10 +08:00
kristof0425
3274c55bdf refactor(Table): make row work like a class property 2019-09-28 19:11:10 +08:00
kristof0425
2875933c99 fix(Table): prevent reusing row from previous render 2019-09-28 19:11:10 +08:00
kristof0425
2228e91b01 refactor(Table): move filter updating to getDerivedStateFromProps 2019-09-28 19:11:10 +08:00
kristof0425
4cc5fcdb24 refactor(Table): move columns to state to set in getDerivedState 2019-09-28 19:11:10 +08:00
kristof0425
948d0bd7bb fix(Table): move rowSelection logic to getDerivedStateFromProps 2019-09-28 19:11:10 +08:00
kristof0425
8a60e19b8e fix(Table): rm commented line 2019-09-28 19:11:10 +08:00
kristof0425
8bae8bf27d refactor(Table): move createComponents outside of class, eliminate cWRP 2019-09-28 19:11:10 +08:00
kristof0425
1d5bd4a7aa fix(Table, SelectionCheckboxAll): add eslint comment 2019-09-28 19:11:10 +08:00
kristof0425
0be5e334e4 refactor(Table): rename cWRP to UNSAFE_cWRP 2019-09-28 19:11:10 +08:00
swillis12
2c864b9bc6 Add sortColumn to title render (#19012)
Update docs

Update TS interface

Add null

Fix lint error
2019-09-26 14:02:08 +08:00
MrHeer
90a77c0f02 👌 update README 2019-09-26 12:14:28 +08:00
MrHeer
4a5b0e1669 Flipping table to automatically scroll to the top
👌 apply it in handleFilter and toggleSortOrder
👌 ref instead of findDOMNode
 update test for scroll to first row

close #18623
2019-09-26 12:14:28 +08:00
偏右
9e9abfdc79
Merge branch 'feature' into master-for-merge 2019-09-23 15:33:43 +08:00
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
Thomas Ladd
3e4fd43a07 table: Correct onRow event handlers to receive a MouseEvent instead of SyntheticEvent 2019-09-20 13:06:55 +08:00
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08:00
偏右
721baa80f7
:refactor: remove unneccessary changes of #17614 (#18854) 2019-09-17 15:13:43 +08:00
信鑫-King
0f3f3dc521
Merge pull request #18852 from ant-design/master
chore: merge master into feature
2019-09-17 02:40:54 -04:00
Ilya Bondarenko
8846122060 feat: Add visible to filterDropdown function (#17614)
* Add visible to filterDropdown function

* Update tests
2019-09-17 14:22:16 +08:00
afc163
b935db8e34 🐛 Fix small table headers missing border
close #18762
2019-09-16 14:01:29 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
偏右
1200f7fe00
Merge branch 'feature' into master-to-merge 2019-09-14 15:40:33 +08:00
偏右
632ba44917
🐛 Fix Table cell word break style (#18789)
https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241
2019-09-12 22:54:44 +08:00
骗你是小猫咪
5cd01d0470 feat(Input.Search): add loading prop (#18771)
* feat(Input.Search): add loading prop

* fix: review change

* optimize input search loading prop doc

* fix: ci fail and onSearch disabled when loading
2019-09-12 22:32:29 +08:00
二货机器人
2ea28af6ed
Virtual select component (#18658)
* init

* fix firefox

* add active style

* adjust arrow style

* update select

* update icon logic

* render empty

* init multiple

* fix ff display style

* sync font size

* adjust padding style

* add padding

* padding it

* hotfix of chrome

* single sm

* multiple size

* update option group style

* update snapshot

* clean up transition

* rm combobox in ts define

* auto complete init

* fix auto option def

* update demo

* update demo

* update uncertain demo

* update demo

* warning if user set `size` on AutoComplete

* add debug demo

* updat demo

* update demo of disabled

* update snapshot

* rm useless test

* fix pagination test

* fix Table test

* fix calendar test case

* fix calendar test case

* adjust style

* add big data demo

* support clean up

* fix ts define

* fix lint

* fix demo lint

* fix style lint fix

* rm useless deps

* update snapshot

* stop mock

* add space
2019-09-12 20:15:17 +08:00
Xinxing Li
b786e6b48f docs: update param version info(3.10.0) for title (#18741)
* doc: update param version info(3.10.0) for title

* Update index.zh-CN.md
2019-09-12 14:31:24 +08:00
诸岳
495fc3a99a Fix confilcts from master branch 2019-09-07 00:39:49 +08:00
诸岳
f8af6972ba Merge branch 'master' of github.com:ant-design/ant-design into feature 2019-09-07 00:23:09 +08:00
yoyo837
864138370f update type 2019-09-05 21:24:35 +08:00
afc163
2e5928450d 📝 Improve Table doc about tableLayout 2019-09-05 13:39:06 +08:00
afc163
251ae17376 🎬 Add tableLyout and ellipsis in Table demo 2019-09-05 13:39:06 +08:00
afc163
49a37d10c7 🔨 remove useless default value of tableLayout 2019-09-05 13:39:06 +08:00
afc163
580312bd1f 📝 Add descriptions for ellipsis demo 2019-09-05 13:39:06 +08:00
afc163
499c46b220 fix table snapshot and ci 2019-09-05 13:39:06 +08:00
afc163
d9f2c906ca support column.ellipsis
close #5753
2019-09-05 13:39:06 +08:00
afc163
02da860de1 fix table snapshot 2019-09-05 13:39:06 +08:00
afc163
7c180a7f31 🆙 upgrade rc-table 2019-09-05 13:39:06 +08:00
afc163
d2aeaab486 default overflow-wrap break-word for all cell 2019-09-05 13:39:06 +08:00
afc163
577bc87bba Add Table tableLayout prop 2019-09-05 13:39:06 +08:00
zombiej
43b3da9eae Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-04 16:20:28 +08:00
yoyo837
1e830d782c slice 2019-09-04 15:54:09 +08:00
afc163
97b344e0c1 📝 update table doc 2019-09-04 11:11:25 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
afc163
3d962ba817 fix ci in React 15 2019-08-27 18:31:12 +08:00
afc163
ed133cb859 increase Table code coverage 2019-08-27 18:31:11 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
paranoidjk
f3244d6ae0 fix(Table): apply props.style to container div (#18494)
* fix(Table): apply props.style to container div

* fix: ci
2019-08-27 16:44:53 +08:00
afc163
c5344bde52 💄 Tweak Table expand icon style 2019-08-19 18:42:19 +08:00
He Linming
af39b46595 fix: Prop style is getting duplicated on Table (#18315) (#18330) 2019-08-19 11:14:48 +08:00
afc163
00375c2c5e fix eslint 2019-08-14 19:38:01 +08:00
afc163
6cd8f2bc3c fix unsafe link href 2019-08-14 19:36:59 +08:00
afc163
9e4a36de61 🔨 Use new lifecycle methods for Table
ref #9792
2019-08-14 19:31:16 +08:00
afc163
ab9eaed8d0 🐛 Fix Table row selected hover style
close #18195
2019-08-14 15:47:51 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
偏右
a224d7c2e9 ⌨️ Improve Divider accessibility by add role="separator" (#18116)
https://www.w3.org/WAI/PF/aria/roles#separator
2019-08-08 12:32:39 +08:00
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
28f39739df test: update snapshots 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
872ada07e7 fix: lint:demo 2019-08-06 15:31:59 +08:00
orzyyyy
ac3f319ad2 fix: lint:es 2019-08-06 15:31:59 +08:00
afc163
887aa4c347
📝 antd/lib/xxx => antd/es/xxx 2019-08-05 15:29:26 +08:00
陈帅
7b98df8075 fix: better typescript code, use svg components (#18036)
* better typescript code, use svg components

fix #18017

* snapshots updated

* snapshots updated
2019-08-02 21:37:26 +08:00
啸生
4c23bc2543
Feature (#18049)
Feature
2019-08-02 17:38:50 +08:00
zx6658
2cb0710ec4 doc: 📖 update table component's selectedRowKeys type 2019-07-31 13:43:02 +09:00
zombiej
f56955846c merge master 2019-07-30 19:24:34 +08:00
Yangzhedi
6c8c42c3e3 feat(default.less): add table-footer-bg and table-footer-color variable 2019-07-30 15:05:14 +08:00
偏右
fed7fec30b
Merge pull request #17971 from ant-design/fix-tag-tag-name
refactor: Tag should be span than a div semantically
2019-07-30 13:20:54 +08:00
偏右
53da51841f
🐛 Remove extra margin right of Table placeholder (#17970)
close #17950
2019-07-30 12:32:57 +08:00
afc163
4374514252 fix snapshot and test case 2019-07-30 11:58:45 +08:00
zombiej
514ee9bef9 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-07-29 14:35:15 +08:00
afc163
68d1ec00d4
🐛 Fix small table hover background
close #17922
2019-07-29 14:11:41 +08:00
afc163
ce7ab240cf 🐛 Fix Table filterDropdown always trigger onChange
close #17833
2019-07-24 16:06:51 +08:00
afc163
22179f3511 💄 code style optimizaiton 2019-07-24 15:40:07 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale (#17816)
* ConfigProvider support locale

* update docs

* update category

* clean up

* moving locale

* update check script

* update related code

* add test case

* demo link

* update doc

* hide one rule of md with eslint

* update error link
2019-07-24 10:34:55 +08:00
偏右
161def04aa
Merge pull request #17806 from ant-design/feat-table-popup-container
feat: Table getPopupContainer
2019-07-23 13:46:01 +08:00
afc163
efecf5eafd add test snapshot 2019-07-23 11:58:05 +08:00
afc163
2a5a8415be 🐛 ConfigProvider getPopupContainer for Table 2019-07-23 11:48:34 +08:00
zombieJ
bdea770670
Merge pull request #17804 from ant-design/master
chore: Merge master into feature
2019-07-23 10:23:55 +08:00
afc163
abcfe77b5b
Add snapshot test for Table getPopupContainer 2019-07-22 21:36:57 +08:00
afc163
173859e49c
Add Table getPopupContainer
close #17548
close #16876
close #14864
close #14426
2019-07-22 21:30:45 +08:00
zombieJ
42468b6ad7
feat: Enhance accessibility of Table expanded icon (#17781)
* use icon instead of css

* update snapshot

* clean up

* update style

* update snapshot

* add click test case

* clean up

* update snapshot
2019-07-22 19:28:23 +08:00
afc163
18c05189cf 💄 Remove Table demo use select hack css
close #17455

bc2de929e7/specs/draggable.spec.jsx (L374)
2019-07-22 18:53:58 +08:00
Stanley Thijssen
5a32990874 fix: Styling issue where all spans next to a checkbox wrapper get a padding (#17752)
* fix styling issue

* Added padding for span only when there is a checkbox in front of it
2019-07-20 19:57:52 +08:00
zombiej
735996ce35 merge master 2019-07-16 11:42:55 +08:00
zombieJ
bed07392fd
update snapshot (#17656) 2019-07-15 19:32:46 +08:00
zombiej
edacc50543 not hide scroll line when multiple lines 2019-07-15 17:59:29 +08:00
afc163
e8dabedb76 🐛 Fix Table border radius missing in Firefox
close #17611

ref https://github.com/ant-design/ant-design/pull/12263#discussion_r303193443
2019-07-15 14:23:00 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
vagusX
eac30ec8e4 Feat/remove deprecated (#17510)
* feat: remove warnings for linkRender, nameRender in Breadcrumb

* feat: remove warnings for onOpen, onClose in Menu

* feat: remove warnings for overlay in Popover

* feat: remove warnings for columnsPageRange, columnsPageSize in Table

* feat: remove warnings for afterClose in Tag

* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer

* fix: types in Transfer

* feat: update test cases in Transfer

* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
zombiej
186f973e50 merge master 2019-07-03 20:29:44 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
陈帅
319b11d388
Merge pull request #17364 from ant-design/feature
merge Feature into master
2019-06-29 13:25:47 +08:00
陈帅
722b39ec16 Merge branch 'master' into feature 2019-06-28 21:55:15 +08:00
王林涛
b5d629a8a3 docs(Table): update description of hideDefaultSelections 2019-06-28 16:23:20 +08:00
afc163
10a3a7f7ae
🐛 Fix small table header background
revert #14539

it should be white in our design spec
2019-06-28 13:39:02 +08:00
Meck Zhu
4463d24660 docs: Remove predix I from interface 2019-06-27 14:17:08 +08:00
afc163
d3db99f882
resolve conflict and merge feature branch 2019-06-26 14:30:42 +08:00
afc163
ec7c99998a
🎬 fix react-dnd depracated usage 2019-06-24 13:20:08 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
afc163
936fea5769
🐛 Fix onRow return types
https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714
2019-06-24 11:13:55 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
afc163
bdfd877f3a
🐛 Fix a Table scrollbar style in IE
when customize line-height of empty table

close #17175
2019-06-21 15:20:01 +08:00
zombieJ
e2732eea1e
add fix css (#17198) 2019-06-20 15:32:53 +08:00
yoyo837
f0ed471709 使操纵杆右侧半边也可以操作 2019-06-20 11:45:28 +08:00
wtzeng1
ee1b5975e4 fix(Doc): remove useless option in API Doc for Table component 2019-06-19 21:34:01 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
陈帅
d0799fb983 Merge branch 'master' into feature 2019-06-19 18:16:22 +08:00
zombieJ
b77dbd331d
fix: Table crash when filter dynamic change (#17141)
* update test case

* fix: Table change filter should not crash

* rm focus test
2019-06-17 18:50:38 +08:00
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