Commit Graph

501 Commits

Author SHA1 Message Date
MadCcc
d1be33f224 Merge branch 'master' into next-merge-master 2022-09-14 10:31:17 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
二货机器人
1cad665d15 chore: merge master 2022-09-07 10:35:16 +08:00
afc163
133d899097
docs: fix Table ajax demo (#37431)
* docs: fix Table ajax demo

* Update ajax.md

* Update ajax.md
2022-09-06 22:57:46 +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
二货机器人
394aba4afe chore: merge master 2022-07-29 15:56:11 +08:00
afc163
2146d18045
style: fix Table tree data ellipsis style problem (#36608)
close #36583
2022-07-20 13:30:34 +08:00
MadCcc
f65c73fa2a Merge branch 'master' into next-merge-master 2022-07-05 22:24:39 +08:00
MadCcc
ab19033876
docs: replace lib with es (#36367) 2022-07-04 22:09:54 +08:00
afc163
a5fe576d48 chore: merge master to next 2022-06-24 11:32:42 +08:00
afc163
f8a9cb3498
fix: nested Table margin style (#36209)
* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot
2022-06-24 10:49:59 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
pfsu
092bfd7496
docs: update demo code (#36127) (#36143) 2022-06-21 14:09:31 +08:00
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS (#35584)
* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add sorter style

* style: add sorter style

* style: add filter style

* style: add filter style

* style: add filter style

* style: fix filter and sort style

* style: fix bordered style

* style: fix bordered style

* style: fix bordered style

* style: add size style

* style: fix size style

* style: add selection style

* style: format code

* style: add sticky code

* style: add expand code

* style: add expand code

* style: add expand code

* style: add fixed code

* add fixed style

* style: fix diff place

* style: use number as px string

* chore: improve function name

* chore: use token

* style: rtl styles

* chore: fix marigin and padding logical properties

* fix: rtl styles

* fix: table filter dropdown style

* chore: remove useStyle

* chore: revert classNames

* fix: test case

* fix shadow in rtl

* Apply suggestions from code review

* chore: sub filter tree

* style: fix tree dropdown padding

Co-authored-by: zombiej <smith3816@gmail.com>
2022-05-31 10:10:35 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
二货机器人
f8d728161c
docs: Update demo with Space (#35172) 2022-04-22 13:35:27 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
a67d39cd6c
feat: Menu support items (#34559)
* docs: Update Menu cn doc

* chore: update ts def

* chore: support convert

* docs: more demo

* docs: more demo

* docs: all menu demos

* docs: dropdown demo

* docs: dropdown all demos

* docs: update demo

* test: coverage

* docs: more demo

* docs: layout demo

* docs: all demo

* chore: fix ts lint

* docs: fix doc

* docs: all docs
2022-03-18 15:20:35 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input (#34206)
* feat: introduce rc-input

* fix: export InputRef alias

* docs: fix demo

* chore: code clean

* test: fix lint

* test: test coverage

* chore: code clean

* chore: code clean

* test: update snapshot
2022-03-01 14:17:48 +08:00
黑雨
2c56927ae9
feat: table filterSearch supports function (#34085)
* feat: table filterSearch supports function

* feat: update for test

* feat: update document
2022-02-25 16:05:18 +08:00
黑雨
086e5d8e60
feat: table FilterDropdown support clearFilters({ confirm: false, closeDropdown: false }) (#34120)
* feat: table FilterDropdown support `clearFilters({ confirm: boolean })`

* feat: update `clearFilters` and `confirm`

* feat: add FilterRestProps,update document

* feat: update onReset params order

* feat: add test case
2022-02-25 16:03:22 +08:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage (#33729)
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
ef8179e6b5 chore: remove react-virtualized from demo 2021-12-04 00:01:20 +08:00
二货机器人
4cc055749d
refactor: Move Table rowSpan & colSpan demo to onCell instead (#33114)
* docs: change doc of span demo

* docs: clear render props
2021-12-02 10:35:18 +08:00
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN (#33026)
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN

* docs: Update docs
2021-11-26 17:50:41 +08:00
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824)
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0

Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases)
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* chore: code style

* memoize-one

* add comment

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* improve useMemo deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
xrkffgg
3d81a10d61
Merge pull request #32036 from ant-design/master
branch: merge master into feature
2021-09-06 15:25:15 +08:00
Sushant Gulati
4a23e3569f
docs: fix typo in drag-sorting-handler.md (#32035) 2021-09-06 09:45:24 +08:00
afc163
9c17f94cab
feat: Table filterMode and filterSearch functions (#31809)
* feat: Table supports filterMode="tree-select"

* add tree component

* fix detail

* use tree

* add @table-filter-dropdown-max-height

* feat: add check all to filter tree

* feat: add search

* feat: use filterTreeNode

* fix code style

* fix style

* style: tree node selected bg

* fix demo

* feat: add filterSearch

* fix: clear search value after close filter dropdown

* update snapshot

* code style

* fix test case

* chore: new FilterDropdown.tsx file

* chore: searchValueMatched function

* add test case

* test: add test cases

* feat: reset only works on dropdown state now

* chore: add table locales

* fix search input width

* tweak style

* style: update transfer search input style

* perf: improve table perf

* fix: filterMuiltiple={false}

* test: add test for selecting

* chore: fix table filter selection

* fix lint

* remove unused code

* fix: style dependencies

* test: turn off bail config for duplidated-package-plugin in feature branch

* Update components/table/hooks/useFilter/FilterSearch.tsx

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

* fix locale link

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Peach <scdzwyxst@gmail.com>
2021-09-01 10:49:52 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
5cb47f76f4
chore: upgrade array-move (#31786) 2021-08-13 17:33:09 +08:00
afc163
a1c550ef7b
docs: Update drag-sorting.md (#31634) 2021-08-03 18:18:38 +08:00
afc163
85935e18c0 chore: merge feature into master 2021-08-02 18:36:27 +08:00
Kim, Harim
71af741173
docs: fix typo dragable to draggable 2021-07-29 19:37:38 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
chore: sync master to feature
2021-07-04 20:00:59 +08:00
afc163
4e12007441 demo: update components/table/demo/edit-cell.md 2021-06-30 11:15:12 +08:00
afc163
16599d498c
Revert "docs: Update head.md (#30881)" (#30886)
This reverts commit 921315f582.
2021-06-07 11:05:17 +08:00
Diego Villacís
921315f582
docs: Update head.md (#30881) 2021-06-07 10:46:30 +08:00
二货机器人
5fc63ffafb
feat: Table.Summary support fixed top position (#30726)
* chore: bump rc-table

* docs: Update demo & snapshot
2021-05-27 16:51:14 +08:00
二货机器人
17e863fc94
docs: Add Table.Summary desc (#30673)
* docs: Add summary desc

* test: Update snapshot
2021-05-25 16:12:41 +08:00
afc163
082f626a3e
style: redesign Table header action (#30651)
* feat: improve Table filter and sorter position

* fix: edge cases of th border

* fix lint

* style: apply new design

* fix css detail

* fix stylelint

* fix css error

* style: sorter icon hover color

* fix test cases

* update snapshot

* fix th padding

* fix calc

* style: fix dark theme
2021-05-24 22:16:06 +08:00
陈帅
0d1b1c40a6
merge featrue into master (#30636)
* feat: add Table expandable fixed (#29959)

* fix: Use flex gap of space (#30023)

* fix: use flex gap when supported

* test: update snapshot

* refactor: Use single hooks

* feat: Allow breadcrumb component in PageHeader (#30019)

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Rename variable

rename var from _breadcrumbRender to breadcrumbRenderDomFromProps

* feat: add onChange for Statistic.Countdown (#30265)

* feat: add onChange for countdown

* update the demo

* feat(upload): add onDrop (#30319)

* feat(upload): Add onDrop

* Replace "if prop" logic with existential operator

* Remove redundant conditional

* feat(upload): itemRender add actions params (#30236)

* feat(upload): itemRender add actions params

* chore: optimize type definition

* chore: update doc

* chore: rename actions

* chore: trigger ci

* chore: rename method name of actions

* feat: Add missing dutch translations (#30389)

* feat: Add missing dutch translations

* fix: Translate remaining english values

* fix: Update snapshot for ui tests

* test: increase code coverage to 100% (#30415)

* test: fix Space code coverage

* test: should use nl_BE locale for DatePicker

* fix: Switch tabIndex type (#30416)

* feat: updated Romanian internationalization (#30419)

* feat: updated Romanian internationalization

* fixed lint error

* feat: Menu support accessibility & keyboard access (#30382)

* chore: Use focus style

* fix: prefixCls

* fix: prefixCls

* fix: inline tooltip

* fix: inlineCollapse logic

* fix: ts definition

* test: Update snapshot

* test: Update snapshot

* fix: dropdown logic

* test: Update snapshot

* test: Fix some test  case

* bump rc-menu

* test: More test case

* fix test finder

* test: fix test case

* test: Update snapshot

* test: Update snapshot

* chore: Update ssr effect

* test: Update ConfigProvider snapshot

* test: Fix Table Filter test case

* test: Fix table test case

* chore: Update style

* chore: beauti css

* bump rc-menu

* test: update snapshot

* test: update snapshot

* test: Fix menu test

* test: Fix test case

* test: Coverage

* chore: clean up

* bump rc-menu

* ehance accessibility style

* feat(radioGroup): support data-* and aria-* props (#30507)

close #30501

* feat: Typography add italic type (#30458)

* Typography增加斜体字支持

* update snapshot

* 文档添加版本号

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>

* chore: alpha Menu fix merge (#30546)

* chore: Update script

* bump alpha version

* chore: Update script desc

* chore: bump rc-tabs & rc-mentions

* chore: Adjust style

* chore: 4.16.0-alpha.1

* test: Fix mention test case

* fix: sider of layout width style

* chore: bump 4.16.0-alpha.2

* fix: Tabs tabBarGutter should work as expected (#30545)

close #30526

* feat: Table summary support sticky mode (#30631)

* chore: Bump rc-table

* feat: Patch summary fixed color

* fix: style className

* test: Update snapshot

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00