Commit Graph

228 Commits

Author SHA1 Message Date
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
Leslie Wu
e9dcc4fea3
docs: update doc for table sorter (#45548)
Co-authored-by: leslie-home <wwwsuonggg@gmail.com>
2023-10-26 21:51:25 +08:00
Zhou Bill
a29a0796ae
feat: columnTitle render props (#41937)
* feat: columnTitle render props

* feat: 添加测试

* docs: 修改table rowSelection interface

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:29 +08:00
二货爱吃白萝卜
bef9539e22
feat: Table support scrollTo reference (#45245)
* feat: add ref

* feat: table support reference

* chore: rename

* chore: proxy

* test: add test case

* chore: fix lint

* docs: update desc

* docs: update desc

* docs: update desc

* chore: clean up

* chore: fix lint
2023-10-11 13:55:20 +08:00
lijianan
4f7655ce31
docs: update Table docs (#44772) 2023-09-11 22:31:38 +08:00
Kyriewen
c28e1ff210
docs: mark deprecated for date-picker defaultPickerValue prop (#43781)
* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: 删除 defaultPickerValue 属性

* chore: use defaultValue instead defaultPickerValue

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-09-07 17:56:55 +08:00
二货爱吃白萝卜
6f2bddd5a1
feat: Table support virtual (#44349)
* chore: update demo

* chore: adjust fixed style

* chore: opt scroll height

* chore: clean up

* chore: update demo

* chore: bump rc-virtual-list

* chore: update deps

* chore: bump rc-table

* fix: clean up

* chore: fix demo

* test: add test case
2023-08-28 17:36:23 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
MadCcc
5465975b1a
feat: table component token (#44118)
* feat: table component token

* chore: add typedoc
2023-08-09 10:52:39 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
lihuan-bot
40febebe6e
docs: The parameter is different from the actual (#44101) 2023-08-08 13:49:52 +08:00
黄庄妮
fd8a9884f0
docs: fix Table api description (#43407) 2023-07-06 19:02:02 +08:00
daisy
78d117f492
docs: table column sorter (#43130) 2023-06-21 09:46:01 +08:00
dyecma
c1dbcae764
feat: rename sorterOrder to sortOrder (#42519) 2023-05-22 18:03:45 +08:00
lijianan
ecc222e5f4
docs: add version (#42518) 2023-05-22 16:08:56 +08:00
dyecma
8aca325d99
feat: implement sortIcon on Table (#42498)
* implement sortIcon on Table

* drop React.ReactNode from sortIcon

* add sortIcon test

* fix sortIcon arg type

* add sortIcon to docs

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-22 12:03:57 +08:00
Dunqing
8215910cf7
feat(Table): support onCell in rowSelection (#36187)
* feat: support onCell in rowSelection

* fix: add onCell test

* docs: update onCell related documentation

* fix: format

* fix: repeat import

* Update More.tsx

* fix: revert

* fix: revert again

* fix: revert again

* fix: revert again

* fix: revert again

* Update index.zh-CN.md

* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2023-05-06 15:24:22 +08:00
黑雨
cef58664e8
📝doc: add design token table (#41717)
* feat: add token

* 📝doc: update lint

* 📝doc: update doc
2023-04-11 10:25:24 +08:00
lijianan
326d7a1074
fix: add col width, fix table width error (#41626)
* Update useSelection.tsx

* Update useSelection.tsx

* fix

* fix

* fix

* add demo
2023-04-06 17:16:27 +08:00
Lioness100
fd0d8b6031
docs: fix typos (#40791)
* docs: fix typos

* Update index.zh-CN.md

* test: update snapshot

* docs: fix demo ref

* chore: force trigger ci

* chore: force trigger ci

* chore: bump dumi ver

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
lijianan
9fd6159772
lint: fix eslint error (#40629) 2023-02-08 15:04:32 +08:00
lijianan
cffd1e63d4
fix site style (#40550)
* fix site style

* fix md style

* update

* fix
2023-02-05 19:03:59 +08:00
linxianxi
590b084565
demo: add table drag sorting handler demo (#40346)
* demo: add table drag sorting handler demo

* update snapshot
2023-02-02 10:54:13 +08:00
二货爱吃白萝卜
91df688efd
refactor: Table render logic opt (#40063)
* chore: basic prepare

* chore: adjust render logic

* chore: fix lint

* chore: bump table

* test: update snapshot
2023-01-07 21:21:52 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
xrkffgg
d43b8e71b9
docs: add table rowScope (#39686)
* Update index.zh-CN.md

* Update index.en-US.md
2022-12-20 21:18:05 +08:00
South
7fac457e66
docs: fix Table size default value (#39351)
* docs: Table文档size参数不正确

* docs: table size
2022-12-07 18:39:10 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs (#39290)
* docs: remove v3 to v4 migration docs

* update

Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
易风
f15f85b196
docs: Refine the table options (#39070)
* docs: Refine the table options

* docs: Refine the table options
2022-11-29 15:41:21 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
Chuns Chen
cc5c4fed51
refactor: locale files reference path (#38194)
* chore: add locale files to npm pkg

* docs: locale files reference path

* docs: fix locale path

* chore: bump @ant-design/tools

* refactor: default locale file

* chore: add site wepack alias

* chore: bump @ant-design/tools

* fix: site theme locale reference path

* chore: add locale files to eslint ignore

* fix: markdown demo unable to resolve path to module antd/locale
2022-10-26 14:38:54 +08:00
MadCcc
7a38804f95 Merge branch 'master' into next-merge-master 2022-10-18 21:33:51 +08:00
Wesley
e3abd1e77f
docs: Table Documentation interface description error (#38065)
Co-authored-by: YONGWEI PENG <yongweipeng@YONGWEIdeMacBook-Pro.local>
2022-10-17 18:06:38 +08:00
yykoypj
a2605f757d
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#36747)
* feat: change filterDropdownVisible to filterDropdownOpen for Table

* docs: resolve conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 15:37:51 +08:00
github-actions[bot]
19acac6f80
chore: auto merge branches (#37173)
chore: next merge feature
2022-08-22 04:14:58 +00:00
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#37026)
* feat: table filterDropdownVisible to filterDropdownOpen

* chore: adjust prosp pass

* test: Update test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 11:19:53 +08:00
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +08:00
losgif
aa648d2cd8
feat(table): add column title attribute in expandable props. (#36794)
* chore: rc-table's version up to 7.26.0

* docs(table): add column title attribute in expandable

* docs(table): add column title attribute in expandable
2022-07-30 17:13:20 +08:00
zombiej
3a4d399248 chore: merge feature 2022-05-23 15:52:14 +08:00
MadCcc
6817db7b52
feat: table rowSelection.onChange support type (#35598)
* feat: table rowSelection onChange support method

* docs: update

* chore: rename param

* test: update

* test: update
2022-05-18 11:59:00 +08:00
github-actions[bot]
fb9c2fc51e
chore: auto merge branchs (#35553)
chore: merge master into next
2022-05-14 10:03:09 +00:00
afc163
46df154ce4
chore: deprecated rowSelection.onSelectNone and onSelectMultiple (#35545) 2022-05-14 16:41:34 +08:00
zombiej
3a0c53470f chore: merge master 2022-05-13 10:20:20 +08:00
limingxin
765bc1effc
docs: Table QA about rowSelection renderCell (#35494)
* Update index.zh-CN.md

之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。

所以想要完善一下文档,可以方便其他用户找到此内容。

* docs: Table QA about rowSelection renderCell

update US doc
2022-05-11 17:58:26 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
afc163
089dc7e36a docs: remove editable in table documentation
close
https://github.com/ant-design/ant-design/pull/35471#issuecomment-1123239879
2022-05-11 14:35:43 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00