Commit Graph

2028 Commits

Author SHA1 Message Date
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
偏右
077ea950d4
demo: fix Table filter dropdown select behavior
close #26144
2020-08-12 11:44:40 +08:00
QoVoQ
f65013994f
fix: #26126 use mergedData instead of pageData to decide if render bottom pagination (#26133)
Co-authored-by: Zhongxian Liang <zhongxian.liang@shopee.com>
2020-08-11 16:18:34 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
骗你是小猫咪
bd02b83da4
feat: Table new sticky prop (#25939)
* feat: Table new sticky prop

* add example

* update snapshots

* fix typo

* fix example and improve less

* rename to @zindex-table-fixed-column

* fix compile error

* fix header z-index

* upgrade rc-table and add active style

* improve less var

* upgrade rc-table and remove hover style

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-07 17:53:23 +08:00
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. (#25903)
* add flex style

* add new demo

* update snapshot

* Merge branch feature into fix-descriptions

* update snapshot

* update snapshot
2020-08-06 14:32:13 +08:00
偏右
9a67f3571d
fix: Table crash when dataSource contains number (#26042)
close #26039
2020-08-05 22:29:38 +08:00
xrkffgg
b0536c2a43
docs: update table demo action (#26010) 2020-08-04 17:49:31 +08:00
偏右
8d7cbbdb0f
fix: Table empty filters throw warning (#26001)
close #25979
2020-08-04 11:43:11 +08:00
xrkffgg
f1154d4f09
fix: table nested table rtl style (#25938) 2020-07-31 17:19:51 +08:00
偏右
43189ed43a
docs: 📖 update Table TypeScript usage (#25928)
* Update index.zh-CN.md

* Update index.en-US.md
2020-07-31 14:01:28 +08:00
Omri Grossman
8800b56e47
fix: The 'indentSize' in the Table component couldn't be zero value (#25890)
* - Fixed the indentSize prop of Table.tsx to also accept 0 values

* - Undo Cascader component test snapshots

* - Added test case
- Used check with typeof === number instead of `undefined` and `null`

Co-authored-by: omri.g <omri.g@alibaba-inc.com>
2020-07-30 10:16:44 +08:00
afc163
9e104292a2 docs: 📝 update table locale API 2020-07-25 14:32:45 +08:00
07akioni
29da624411
fix: Table getCheckboxProps indeterminate not working (#25649)
* fix: Table getCheckboxProps indeterminate not working

* feat: Table warn when set halfChecked using  getCheckboxProps

* chore: rename expand-chidren.md to tree-data.md
2020-07-24 18:46:56 +08:00
zombiej
c5f3ea7b62 chore: Remove useless test case
ref #25736
2020-07-22 13:53:27 +08:00
zombiej
2742596b46 chore: Update snapshot 2020-07-22 13:02:25 +08:00
偏右
b466db56a7
Revert "docs: remove unnecessary code (#25738)" (#25740)
This reverts commit 6e8a14d62a.
2020-07-22 10:43:36 +08:00
hoho2017
6e8a14d62a
docs: remove unnecessary code (#25738)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-22 10:05:44 +08:00
hoho2017
da25fd1b38
docs: remove unused className (#25718)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-21 10:38:30 +08:00
hoho2017
0222d4e7fe
chore: className here is unnecessary (#25701)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-20 15:35:15 +08:00
偏右
8fa79d7eab
update pagination snapshot (#25656) 2020-07-16 14:02:00 +08:00
xrk
8a18a85922
docs: fix table.md (#25629) 2020-07-15 15:09:50 +08:00
偏右
b69d012da8
style: fix Descriptions breaks Table width when (#25593)
inside of expandedRowRender

close #25573
2020-07-13 11:26:15 +08:00
xrk
ad7a37b836
docs: fix type in demo (#25590) 2020-07-12 18:14:35 +08:00
Yunfly
f0efeeb451
docs: fix drag table not correct (#25585)
Co-authored-by: Yunfly <qinfy@knownsec.com>
2020-07-12 14:47:59 +08:00
zombiej
ba3f84f5c5 docs: Update table resize demo desc
ref #14647
2020-07-10 22:56:16 +08:00
zhangchen
d04bd2fabc
fix: Table onChange event is triggered twice (#25520)
* fix: Table onChange event is triggered twice

* fix: Table onChange event is triggered twice

* test: should call onChange when change pagination size

* update: code style
2020-07-10 15:17:15 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
yeshan333
1a692de9e2
docs: Update components/table/demo/custom-filter-panel.md (#25502)
Improved the quality of the sample code.  Considered the case when the data does not exist. If the user searches, an error will be reported.
2020-07-08 18:10:15 +08:00
偏右
0c5f3cce7a
fix: nested Table cell background (#25498)
close #25480
2020-07-08 14:48:11 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
Kermit Xuan
e4bbc8fcb3
refactor(menu): move feature to rc-menu(#24975) (#25369)
* refactor(menu): move feature to rc-menu(#24975)

* fix(table-useFilter): fix types;

* chore(menu): upgrade to 8.4.1
2020-07-06 11:40:52 +08:00
zombiej
645bbacfd6 docs: Add Table expandIconColumnIndex -1 desc 2020-07-04 13:39:16 +08:00
afc163
61eb92f8d2 fix Table test snapshot 2020-07-03 12:07:00 +08:00
xrkffgg
af2cc506da
docs: format api table/tabs/tag (#25384) 2020-07-02 14:07:52 +08:00
偏右
879bcd1479
style: Fix Table header extra border of right column (#25378) 2020-07-02 11:47:47 +08:00
Justin Schuldt
b9e9e238a1
fixed Typescript type in Table example (#25337)
`columns` should not be an array. Here is the `columns` type that Table takes: https://github.com/ant-design/ant-design/blob/master/components/table/Table.tsx#L74

Thanks!
2020-07-01 20:53:55 +08:00
Colder
50ae25d0c7
docs: fix typo resizable (#25279) 2020-06-29 15:37:36 +08:00
陈帅
523b74e3b6
merge master into Feature (#25262)
* feat: add successColor for Progress (#24655)

* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning

* feat: Support rowSelection.dirty (#24718)

* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys

* feat: add ghost prop for collapse (#24734)

* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo

* feat: form instance support getFieldInstance (#24711)

* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs

* feat: dropdown support arrow (#23869)

* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot

* chore: change the style of ghost collapse & demo modified (#24762)

* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse

* feat: cascader dropdown-render prop (#24812)

* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown

* feat: 🆕 support Drawer closeIcon (#24842)

* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs

* feat: 🆕 Cascader expandIcon (#24865)

* feat: cascader expandIcon

* fix: snap

* refactor: reduce CSS size (#24846)

* refactor: reduce button css size

* refactor: remove redundant button .less code

* feat: add Table onChange an action param (#24697)

* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change

* feat: add closeIcon customize tag close (#24885)

* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name

* update snapshot

* snapshot

* feat: add radio `optionType` api to set radio option type (#24809)

* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix

* feat: expand rate character (#24903)

* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

* fix

Co-authored-by: 偏右 <afc163@gmail.com>

* Refactor demo code box actions (#24887)

* refactor: refine the styling of actions part of demo code-box

* fix: lint style

* refactor: move Result children to end (#24945)

* feat: remove content max-width on dot-step (#24907)

* feat: add Skeleton-Image (#24805)

* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style

*  feat: Mentions support autoSize (#24961)

close #17746

* chore: replace textarea with rc-textarea (#24966)

* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)

* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case

* feat: Implement centered prop in Tabs (#24958)

* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>

* feat: Add modal style parameter (#24773)

* add some paramters in default.less

* Update components/style/themes/default.less

Co-authored-by: Amumu <yoyo837@hotmail.com>

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>

* feat: export Tabs addIcon (#25006)

* feat: export Tabs addIcon

* update snapshot

* feat: showNow on timepicker and datetimepicker (#25032)

* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)

* feat: update rc-picker@1.7.1

* delete

* add

* feat: expand rate support props (#24993)

* docs: 📝 Add Form.Item hidden in doc (#25108)

close #25101

* fix: ⌨️ Improve Pagination accessibility issue (#25119)

* ⌨️ Improve Pagination a11y by fixing a W3C error

https://github.com/react-component/pagination/issues/280

* update snapshot

* 🆙 rc-pagination to 2.4.1

* feat: support triggerSubMenuAction for <Menu /> (#25127)

* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases

* chore: Adjust picker logic (#25135)

* chore: update rc-picker 1.10.0 (#25174)

* feat: table row check strictly (#24931)

* feat: add checkStrictly on Table.rowSelection

* fix: LGTM warnings

* test: table rowSelection.checkStrictly

* test: add cov [wip]

* refactor: tree.rowSelection.checkStrictly [wip]

* test: table.rowSelection.checkStrictly basic case

* feat: support rowKey on checkStrictly table

* feat: Table checkStrictly support getCheckboxProps

* docs: Table checkStrictly

* chore: typo

* chore: remove useless comment

* chore: update snapshot

* chore: update snapshot

* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback

* docs: typo

* chore

* chore

* fix: expand buttons of leaf rows in tree data are not hidden

* feat: Table warning about rowKey index parameter

* perf: only generate keyEntities when not checkStrictly

* refactor: remove useless parseCheckedKeys

* refactor: get derived selected & half selected keys from selectedRowKeys

* chore: remove env condition stmt

* chore: revert index usage & code formatting

* chore: rerun ci

* docs: table tree-data checkstrictly

* test: update snapshots

* refactor: use useMergedState hook

* chore: rerun ci

* chore: rerun ci 2

* chore: revert selection select all behavior

* refactor: refactor code based on feature

* chore: revert table code format

* chore: revert table code format

* fix: useMemo deps

* fix: useMemo deps

* fix: useMemo deps

* feat: support preserve (#25186)

* docs: add responsibly order for Col (#25139)

* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case

* fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
大猫
1ca1bb08a6
docs: add protable recommendation (#25043)
* Update index.zh-CN.md

add protable recommendation

* docs: move protable recommand to api

docs: move protable recommand to api

* Update components/table/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-28 22:26:32 +08:00
二货机器人
67513cc71b
fix: Select icon interactive (#25212)
* fix: Select icon interactive

* updat snasphot
2020-06-24 23:28:54 +08:00
偏右
47c25fa470
fix: Table expand icon still interative when hide (#25170) 2020-06-23 12:19:25 +08:00
xrkffgg
cd01eb03ab
fix: Table nested style in rtl (#25156) 2020-06-22 19:48:54 +08:00
xrkffgg
af20068287
fix: Table filter title in rtl (#25152) 2020-06-22 19:47:54 +08:00
二货机器人
a421d6fca3
docs: Update Table sorter default prevent (#25105) 2020-06-19 10:18:45 +08:00
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable (#25088) 2020-06-19 10:13:19 +08:00
JinXin
5e658c2082
docs: fix table-demo data create (#25075) 2020-06-18 13:42:21 +08:00
偏右
1b64eb39bc
style: Add empty style for Table empty filters menu (#25073)
close #25068
2020-06-18 11:38:43 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
xrkffgg
7392c7491a
docs: remove unnecessary (#25026)
* docs: remove unnecessary

* fix: div
2020-06-17 14:48:26 +08:00
07akioni
8dc16037d0
fix: nested unbordered table inside a bordered table has border. (#24995)
* fix: nested unbordered table inside a bordered table has border.

* docs: debug nested bordered table

* test: update snapshot

* fix: nested table border overlap

* test: update snapshot
2020-06-16 20:57:09 +08:00
07akioni
e2337e0021
fix: reduce table filter dropdown max-height (#25001) 2020-06-16 11:27:08 +08:00
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
hehe
ae49280ca0
chore: rm incorrect table props (emptyText) (#24948) 2020-06-13 02:29:20 +08:00
二货机器人
8a2ccae477
fix: Table shouldCellUpdate (#24963) 2020-06-12 22:14:42 +08:00
07akioni
f6c8f81484
fix: shoundn't keep table filterDropdown inner status in controlled mode (#24952)
* fix: shoundn't keep table filterDropdown inner status in controlled mode

* chore: remove useless code in table.filter.test
2020-06-12 18:05:46 +08:00
07akioni
6cc16fb7f5
docs: adapt table edit-rows demo's style to 4.0 (#24926) 2020-06-11 21:18:18 +08:00
二货机器人
d6d3de8a1b
fix: table multiple sorter (#24852)
* fix sort callback

* add test case
2020-06-08 22:45:53 +08:00
xrkffgg
7071ac7f6e
fix: rewrite drag table demo (#24824) 2020-06-08 15:28:28 +08:00
Teng YANG
3d62c44325
feat: allow user customize table font size (#24714) 2020-06-04 08:57:58 +08:00
zombiej
008cf78857 docs: Fix site Table ColumnsType doc 2020-06-02 14:27:12 +08:00
张大大
061b457031
fix: Table no showing scrollbar inside Row (#24661)
Co-authored-by: wb-zt519997 <wb-zt519997@alibaba-inc.com>
2020-06-01 20:51:27 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
Kermit Xuan
0bf728c3e8
docs(table): update hideSelectAll api version (#24594) 2020-05-30 12:31:53 +08:00
Kermit Xuan
49533aafdc
feat(table): support hideSelectAll prop and (#24592)
remove hideDefaultSelections prop in rowSelection(#14581);
2020-05-29 23:50:56 +08:00
afc163
9e9e62911c 🆙 upgrade react-dnd 2020-05-28 23:12:04 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
xrkffgg
9fcd20c6cc
style: optimize table filter dropdown rtl style (#24529) 2020-05-28 12:11:31 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background (#23155)
* feat(tooltip): Tooltip support colour background

Closes #23127

* patch: update test case

* chore: repalce h1 tag to Divider

* chore: update demo
2020-05-25 18:59:00 +08:00
zombiej
7c260c03a5 chore: merge master 2020-05-23 15:00:18 +08:00
偏右
1f371eee09
fix: Table selection out of column when size is small/middle (#24394)
close #24326
2020-05-22 15:20:11 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
二货机器人
0689982def
fix: Table selection cache (#24338)
* test driven

* fix logic
2020-05-21 11:02:12 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
xrkffgg
ce78029933
fix: empty in cascader/select/table/treeSelect (#24279)
* fix: empty in cascader\select\table\treeSelect

* fix: snap
2020-05-19 14:45:57 +08:00
二货机器人
44cfc351cb
fix: Table with controlled filteredValue empty array should not highlight the filtered icon (#24263)
* fix: FilteredValue

* update test case name
2020-05-18 22:03:20 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
sorteam
b73e84da9b
Fix Table type (#24114)
Co-authored-by: soroka_av <soroka_av@st.by>
2020-05-13 16:03:07 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
二货机器人
1cf1a15d50
Merge pull request #24018 from ant-design/master
chore: Feature merge master
2020-05-10 18:42:00 +08:00
Jenna Van Conett
8cce0383a1
Update drag-sorting.md (#24013) 2020-05-10 12:54:57 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
Vitaly Budovski
60d45d8d37
docs: Add documentation for responsive table columns (#23987) 2020-05-09 18:01:16 +08:00
偏右
ee58a34175
fix: 🆙 upgrade rc-steps@3.6.0 (#23989)
* 🆙 upgrade rc-steps@3.6.0

* update snapshot
2020-05-09 14:01:02 +08:00
zombiej
3fad93e41b chore: feature merge master 2020-05-08 22:25:33 +08:00
偏右
1444043fd8
Revert "test: Fix Table test (#23915)" (#23916)
This reverts commit ce17f19ca0.
2020-05-06 23:38:58 +08:00
二货机器人
ce17f19ca0
test: Fix Table test (#23915) 2020-05-06 23:00:02 +08:00
二货机器人
701f35d0eb
chore: Adjust table col className priority (#23914)
* adjust col class

* update snapshot
2020-05-06 22:15:29 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
chore: merge master into feature
2020-05-06 10:58:50 +08:00
二货机器人
0d46d07ad1
test: Add test coverage (#23884) 2020-05-05 21:08:56 +08:00
二货机器人
3a28f31fca
feat: Cell support shouldCellUpdate (#23872) 2020-05-05 15:03:22 +08:00
二货机器人
72bb377628
fix: Textarea height (#23835)
* fix: Textarea height

* update snapshot
2020-05-03 20:32:34 +08:00
afc163
39456263b5 🎬 improve table demo 2020-05-03 19:46:52 +08:00
二货机器人
74645b7baf
docs: Add table render cache faq (#23833) 2020-05-03 16:10:37 +08:00
二货机器人
5f2874b292
fix: Table selection col width not correct (#23806)
* update snapshot

* Update package.json

* update snapshot
2020-05-01 16:02:32 +08:00
二货机器人
9cd8f79366
fix snapshot (#23760) 2020-04-29 21:41:58 +08:00
二货机器人
e1299bfcc9
Merge pull request #23758 from ant-design/feature
chore: Merge feature into master
2020-04-29 20:42:52 +08:00
xrkffgg
f606ca23f4
site: optimize site of components 2 (#23731)
* docs: optimize site of component 2

* add demo

* fix snap

* remove class
2020-04-29 16:21:56 +08:00
xrkffgg
6391df163b
fix: table pagination position in rtl (#23747) 2020-04-29 12:12:54 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
二货机器人
53a76f0bf7
fix: Table should not crash pageSize is undefined (#23724)
* fix: Table crash when pageSize is undefined

* test case

* fix test case
2020-04-28 20:29:34 +08:00
偏右
c3c2c157d0
fix: correct Button type="danger" TypeScript definition (#23709)
* fix: remove Button type danger in TypeScript

close #23708

* docs: fix Table dataSource type in document

close #23697

* add warning about type="danger"

* reverse button type warning logic
2020-04-28 16:14:38 +08:00
xrkffgg
f6d12c5d88
style: optimize table rtl style (#23706) 2020-04-28 14:48:42 +08:00
xrkffgg
156ff7652c
fix: table filter dropdown in rtl (#23695) 2020-04-28 12:16:37 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
xrkffgg
5183592ece
style: fix table row select style in rtl (#23690) 2020-04-28 09:55:16 +08:00
Tom Xu
a9d44593b3
fix: Table pagination position ts typo (#23681)
* fix: Table pagination postion ts typo

* fix
2020-04-27 23:45:14 +08:00
Tom Xu
5f1d5a17de
fix: Table demo dynamic settings pagination (#23679)
* fix: Table demo dynamic settings pagination

* fix test
2020-04-27 21:48:13 +08:00
二货机器人
2da7e29198
feat: Table summary support fixed columns (#23647)
* feat: Summary support fixed column

* update snapshot

* update demo
2020-04-27 15:08:54 +08:00
诸岳
eda0064e83 fix(ci): lint error 2020-04-26 16:25:42 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
afc163
c9c44c173f fix demo snapshot 2020-04-26 11:00:13 +08:00
Tom Xu
60f3e775d0
style: fix table size nest table margin (#23602) 2020-04-26 10:42:05 +08:00
诸岳
454a02b4d9 chore(test): Update snapshots 2020-04-25 22:54:11 +08:00
偏右
d860358f94
chore: 🎬 optimize Table demo code (#23560)
* 🎬 optimize Table demo code

*  fix demo snapshot

* 🐛 Fix Table warning when pageSize is changed

close #23554

* remove console.log

* optimize demo code
2020-04-24 17:16:44 +08:00
Vitaly Budovski
f09686d3df
feat: Responsive table columns (#23298) 2020-04-24 12:17:42 +08:00
xiaoxintang
937beba421
fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT (#23462)
* fix:selections type when use SELECTION_ALL | SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* Update useSelection.tsx

* Update type.test.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-04-22 21:59:18 +08:00
偏右
02faa4bcf1
💄 tweak Table selected row hover background (#23313) 2020-04-21 16:53:06 +08:00
kenve
edcd1b2609
docs(components): improve link (#23355) 2020-04-17 17:56:42 +08:00
二货机器人
c2a1fe5b1f
docs: Update Table edit row example (#23270) 2020-04-15 10:39:16 +08:00
二货机器人
8c11676afa
fix: Table selection childrenColumnName not work (#23205)
* fix childrenPropName

* test case

* update test case
2020-04-13 22:56:26 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item (#22962)
* Fix types in form item

* use jsx.element
2020-04-13 21:30:55 +08:00
HouXiancheng
8c3081788c
fix: table fixed bug (#23181) 2020-04-13 19:32:50 +08:00
二货机器人
12ce6aba06
fix: Safari12 fixed column (#23161)
* fix: Safari12 fixed column

* fix lint
2020-04-12 17:55:30 +08:00
afc163
89ce33f5d8 update snapshot 2020-04-12 12:55:42 +08:00
Chris Young
ca616647ce
modify table size.less to accomodate size prop for footer padding (#23140) 2020-04-11 16:11:28 +08:00
二货机器人
d968fce4dc
chore: Add warning for async (#23118) 2020-04-10 14:13:14 +08:00
二货机器人
a106319934
fix: Table selection style (#23110) 2020-04-10 12:08:10 +08:00
xrkffgg
e652eef04c
style: add rtl base (#22857)
* style: add rtl base

* fix: add test snap
2020-04-09 12:39:10 +08:00
二货机器人
3c7626ede2
docs: update pagination related doc (#23046)
* update pagination related doc

* Update components/pagination/index.en-US.md

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-09 10:52:02 +08:00
二货机器人
f9713bf988
chore: Remove uesless event handler (#23036) 2020-04-08 16:52:37 +08:00
zombiej
1ca45ac8fe chore: Update snapshot 2020-04-08 16:11:01 +08:00
Yu
e852433ef3
fix: FilterDropdownProps TypeScript definition update (#22895) 2020-04-03 20:15:27 +08:00
二货机器人
75524df190
fix jsx filter not work (#22888) 2020-04-03 16:32:50 +08:00
二货机器人
1e5c527146
fix: Table header columns size with filter or sorter (#22872)
* fix size columns

* update snapshot

* more test code

* patch

* force ci

* fix hover small style

* adjust less
2020-04-03 13:42:57 +08:00
二货机器人
14cd2dc434
adjust nest table logic (#22868) 2020-04-02 22:22:34 +08:00
二货机器人
b28b2007be
fix: Center not work in Table (#22858)
* fix: Center not work in Table

* update snapshot

* fix test case
2020-04-02 18:53:49 +08:00
二货机器人
9aa61b78e1
support undefined remove filter icon (#22833) 2020-04-01 22:19:32 +08:00
二货机器人
f2a3ef5926
fix: Table expanded logic (#22832)
* update rc-table deps

* fix style mapping

* snapshot
2020-04-01 20:57:35 +08:00
afc163
c38324e863 docs: 📖 Add FAQ about table filter logic 2020-04-01 19:15:30 +08:00
afc163
ddb0ac46ba fix: 🐛 Table unchanged filter should not trigger onChange
ref https://github.com/ant-design/ant-design/issues/22819#issuecomment-607171024
2020-04-01 19:15:30 +08:00
Michael Shing
06f29d0caa
fix: support table getPopupContainer on row selections (#22787)
* fix: support table getPopupContainer on row selections

* move top to before right

* Add cursor to dropdown arrow

* Feedback suggestion

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-01 17:14:53 +08:00
二货机器人
63e0ce6597
fix: Safari shadow bug (#22794) 2020-03-31 22:04:03 +08:00
偏右
faa71fd7bd
fix: Table loading compatibility (#22739)
* 🐛 Fix Table loading not working when no spinning field

close #22733

*  improve table test case
2020-03-30 15:45:14 +08:00
偏右
db3a81ab19
feat: 🔢 improve default pagination switch experience (#22711)
* 🆙 rc-pagination to 2.1.0

*  update snapshot and fix ci

* 🆙 rc-pagination to 2.2.0

*  update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-03-29 20:15:05 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
zombiej
9e38928379 chore: Update snapshot 2020-03-27 22:43:39 +08:00
二货机器人
c9ab023d39
fix: Safari render bug (#22680) 2020-03-27 22:36:27 +08:00
Tom Xu
fa030a6511
feat: Table pagination position add more option (#22647)
* feat: Table pagination position add more option

* table upate snap

* Table pagination demo remove not use code

* update snap
2020-03-27 15:48:42 +08:00
zombiej
7878fb6edc fix test case 2020-03-27 13:25:18 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
二货机器人
0fa8e4cfab
fix: Table nest style (#22643) 2020-03-26 23:39:16 +08:00
zombiej
9316f180ca chore: Update snapshot 2020-03-26 23:18:17 +08:00
Tom Xu
f5c0eacf6f
fix: Table rowSelection event bubbling (#22566)
* fix: Table rowSelection event bubbling

* test: Table should onRowClick not called when checkbox clicked
2020-03-25 10:51:49 +08:00
Tom Xu
c7add36de6
fix: 4.0 Table with emptyText is not centered (#22548)
* fix #22176

* update table test
2020-03-24 19:51:34 +08:00
afc163
e0c1863108 fix snapshot 2020-03-24 12:24:23 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
二货机器人
9dbd41a853
fix: Table column group with controlled sorter (#22450)
* update interface

* support group sorterOrder controlled

* add test case

* fix test case
2020-03-20 23:33:14 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
Akshat Mittal
fff1f5b7ae
Fix Ant Table Border Radius (#22413) 2020-03-20 10:57:23 +08:00
Rainy
53e9ca20b6
fix: Omit 'checked' for getCheckboxProps return type (#22391)
* Omit 'checked' for getCheckboxProps return type

* Update interface.tsx

* Update interface.tsx
2020-03-19 23:58:25 +08:00
xrkffgg
10d97bf346
style: add rtl.less of Table (#22402) 2020-03-19 17:21:41 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
xrkffgg
e0942ace80
fix: Table less lint (#22374) 2020-03-19 10:06:56 +08:00
二货机器人
2215c7e17a
fix: Table row height (#22367)
* fix style

* rtl support
2020-03-18 22:13:12 +08:00
BugHiding
38c72f279e
fix: Table row expand icon show error in ipad (#22334)
* update table-row-expand-icon style

* change code position
2020-03-18 13:09:03 +08:00
Xudong Huang
8fb9db174d
fix: Table column filter value type could be any (#22277)
* fix: Table column filter value type could be any

* Update components/table/interface.tsx

Co-Authored-By: 偏右 <afc163@gmail.com>

* fix: Solve modification type failed CI check

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:20:21 +08:00
二货机器人
f4d3dc4306
fix: Table onFilter only should work (#22317)
* adjust table logic

* test case
2020-03-17 21:50:01 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
偏右
9a5cea7302
fix: Table filter sub menu max height with many items (#22230)
close #22228
2020-03-15 20:50:02 +08:00
偏右
313f71a3c1
Update index.en-US.md (#22188) 2020-03-13 14:36:21 +08:00
Rainy
e60f18ce0b
Update index.zh-CN.md (#22187) 2020-03-13 14:36:14 +08:00
Rainy
caf6143c1a
Update index.en-US.md 2020-03-13 14:16:06 +08:00
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
afc163
e2029e398e update snapshots 2020-03-13 11:48:56 +08:00
二货机器人
6a563ff49c
docs: Update Table resize demo (#22165)
* update demo

* update snapshot
2020-03-12 21:30:08 +08:00
二货机器人
f44f6f38cf
fix: Table dropdown prefix cls (#22133)
* fix: Table dropdownPrefixCls

* update snapshot

* update snapshot
2020-03-11 23:58:32 +08:00
二货机器人
7ec2b771d4
fix: Table expandable with fixed column style (#22131) 2020-03-11 22:08:07 +08:00
afc163
d03ac85f36 🔀 merge master into feature 2020-03-11 15:41:51 +08:00
Amumu
5d9d1ef31b
remove non-null assertion (#22096) 2020-03-11 11:22:46 +08:00
二货机器人
33e726f874
fix: Should also fix expand col when selection fixed (#22087) 2020-03-10 23:12:37 +08:00
afc163
c5c1b6d9f9 fix missing style dep and uncomment test case 2020-03-10 22:16:18 +08:00
骗你是小猫咪
924f1cfd3a
fix: Table filter menu reset not working (#22079)
* fix: Table filter menu reset not working

* use setFilteredKeysSync
2020-03-10 21:24:41 +08:00
afc163
ebd31cdfc8 test: fix test cases 2020-03-10 20:43:19 +08:00
Saeed Rahimi
5787f3e8b2
fix: FixedColumns issue in rtl (#21914)
* fix: FixedColumns issue in rtl

* update rc-table version
2020-03-10 20:30:31 +08:00
afc163
a68db2da20 💄 update Table filter menu UI 2020-03-10 18:07:11 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
二货机器人
bbe9e346e4
fix: Table className & style in wrong place (#21974)
* fix: Table className style work position

* update snapshot
2020-03-07 23:17:28 +08:00
zombiej
bde335c761 merge master 2020-03-06 18:12:39 +08:00
二货机器人
6e1661db27
docs: 🎬 Update demo ts define (#21931) 2020-03-06 12:50:45 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin (#21925)
* fix: MenuItem with icon only will still have additional margin

* update snapshot

* fix snapshot
2020-03-06 11:53:09 +08:00
二货机器人
36c05ddd8a
fix: Table expandIconColumnIndex with rowSelect (#21915)
* fix: Table expandedIcon order

* update test case

* update test case
2020-03-06 00:58:26 +08:00
偏右
164a4ac3b4
🐛 Fix Table overflow layout (#21905)
unscrollable table should not have overflow style

close #21879 by revert #20705
2020-03-05 19:07:55 +08:00
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
zombiej
e7c2ee5be6 docs: Add Table missing expandIconColumnIndex in doc
close #21803
2020-03-03 22:52:58 +08:00
zefeng
453c681881
docs: rewrite drag-drop demo by react-dnd hooks (#21836) 2020-03-03 22:19:19 +08:00
二货机器人
8fe701b892
fix: Fix table column filtered not work (#21825)
* fix: Table miss filtered

* add test case
2020-03-03 18:18:19 +08:00
偏右
5d63040837
Merge pull request #21818 from ant-design/master
chore: merge master into feature
2020-03-03 16:44:21 +08:00
二货机器人
60f77cef23
fix: table locale not work (#21772)
* fix: Table locale not work

* add test case
2020-03-02 17:15:39 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
二货机器人
e868c87530
fix: Table.Column sortOrder is not working in JSX mode (#21719)
* fix: Table.Column sortOrder is not working in JSX mode

* clean up

* update snapshot
2020-03-01 13:11:28 +08:00
二货机器人
6ba42db314
feat: Selection column also support render node (#21711)
* support customize selection cell

* update snapshot

* update docs

* fix lint

* to debug
2020-02-29 23:11:02 +08:00
zefeng
e262d14c2b
feat: more obviously tips for next sort (#21631) 2020-02-29 22:01:13 +08:00
zefeng
30574b9632
chore: improve table docs (#21667) 2020-02-28 12:11:16 +08:00
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