Commit Graph

431 Commits

Author SHA1 Message Date
陈帅
4f811cbe82
docs: add a little pro-compents advertising (#28043)
* docs: add a little pro-compents advertising

* docs: add a little pro-compents advertising
2020-11-27 18:29:21 +08:00
二货机器人
fec45cb6fe
docs: Update virtual list demo (#26786) 2020-09-17 16:05:08 +08:00
偏右
c88fd34e9a
chore: 🆙 upgrade react-resizable (#26524)
* chore: 🆙 upgrade react-resizable

* test: fix snapshot

* code style improve
2020-09-02 10:51:04 +08:00
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
骗你是小猫咪
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
xrkffgg
b0536c2a43
docs: update table demo action (#26010) 2020-08-04 17:49:31 +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
偏右
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
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
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
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
二货机器人
a421d6fca3
docs: Update Table sorter default prevent (#25105) 2020-06-19 10:18:45 +08:00
JinXin
5e658c2082
docs: fix table-demo data create (#25075) 2020-06-18 13:42:21 +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
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
07akioni
6cc16fb7f5
docs: adapt table edit-rows demo's style to 4.0 (#24926) 2020-06-11 21:18:18 +08:00
xrkffgg
7071ac7f6e
fix: rewrite drag table demo (#24824) 2020-06-08 15:28:28 +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
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
Jenna Van Conett
8cce0383a1
Update drag-sorting.md (#24013) 2020-05-10 12:54:57 +08:00
afc163
39456263b5 🎬 improve table demo 2020-05-03 19:46:52 +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
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +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
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34: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
二货机器人
c2a1fe5b1f
docs: Update Table edit row example (#23270) 2020-04-15 10:39:16 +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
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
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
二货机器人
6a563ff49c
docs: Update Table resize demo (#22165)
* update demo

* update snapshot
2020-03-12 21:30:08 +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
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
zefeng
453c681881
docs: rewrite drag-drop demo by react-dnd hooks (#21836) 2020-03-03 22:19:19 +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
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00