Commit Graph

366 Commits

Author SHA1 Message Date
iamkun
9cab0f3322
docs: update Day.js doc (#35935)
* docs: update dayjs doc

* docs: update dayjs doc

* chore: update doc

* chore: update doc

* chore: update doc

* chore: update doc
2022-06-13 14:03:43 +08:00
zombiej
af4fae1383 test: Update snapshot 2022-06-01 19:15:15 +08:00
zombiej
01dbe2ff25 chore: merge master 2022-06-01 18:46:38 +08:00
zombiej
81a2b2dd06 chore: bump rc-dialog & update snapshot 2022-06-01 15:02:36 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs (#35683)
* chore: init

* chore: part of

* fix: Buttons style

* chore: refactor dom structure

* test: Update snapshot

* test: more coverage
2022-05-23 20:34:20 +08:00
zombiej
8ca928d153 test: update snapshot 2022-05-23 16:23:21 +08:00
zombiej
3a4d399248 chore: merge feature 2022-05-23 15:52:14 +08:00
二货机器人
aa9815303f
refactor: with empty token (#35606)
* refactor: with empty token

* chore: patch

* chore: more toke

* chore: add seedToken

* test: update snapshot
2022-05-18 15:37:27 +08:00
Amumu
b222f93cc5
feat: add a new locale tk_TK (#35605)
* feat: add a new locale tk_TK

* fix: fix moment locale
2022-05-18 11:20:53 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
MadCcc
01ebb6a563
test: update snapshot (#35452) 2022-05-09 20:25:55 +08:00
Mykyta Velykanov
fcf2afd3fa
fix: add missing localizations (#35430)
* Add missing localizations

* Update snapshot
2022-05-08 22:35:46 +08:00
iamkun
03cceeea01 fix: override snapshots that have different locales between moment.js and day.js 2022-05-06 17:59:09 +08:00
iamkun
11e302e39c fix: update test 2022-05-06 15:16:25 +08:00
iamkun
a82cf68db4 fix: update test 2022-05-06 15:05:44 +08:00
iamkun
084b17b307 fix: update dayjs locale file 2022-05-06 14:08:00 +08:00
iamkun
7dd0bd396d fix: update merge 2022-05-06 14:02:45 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
zombiej
7f54a459f6 test: Update snapshot 2022-04-18 22:37:28 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases (#35026)
* test: React StrictMode

* test: fix Spin test

* chore: wrapper enzyme

* test: fix setState

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: disable part of it

* test: fix test & add placeholder

* test: Use orign enzyme mount

Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
二货机器人
640fe5df09
chore: rc-dialog id unique sync (#35072) 2022-04-18 15:12:06 +08:00
iamkun
c3da183293 update test 2022-04-14 15:40:57 +08:00
iamkun
4b6bcd42c8 update test 2022-04-14 15:35:51 +08:00
iamkun
1ed1a51aab update test 2022-04-14 15:04:06 +08:00
iamkun
d2b0592764 update test 2022-04-13 17:17:28 +08:00
iamkun
70acaf4d46 update dayjs locale mapping 2022-04-13 15:27:09 +08:00
iamkun
2804cb843a update test 2022-04-13 14:27:29 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
iamkun
886d9598d6 update lint 2022-03-30 13:34:27 +08:00
iamkun
e73cd9c34e Merge remote-tracking branch 'origin/next' into feat/momentjs-to-dayjs 2022-03-29 11:10:14 +08:00
afc163
10e7337081 chore: fix moment snapshot change 2022-03-23 14:56:16 +08:00
iamkun
f8dc201218 fix merge 2022-03-18 16:57:11 +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
iamkun
b22815d4d2 feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js 2022-02-14 15:01:00 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
VIREAK KEOSOKVIBOL
121937186b
fix: some incorrect translation for km_KH (#33738)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot

* Fix translation

* Add test
2022-01-17 15:13:59 +08:00
Di Wu
f53e615518
fix: Invalid memoized context value in LocaleProvider (#33723)
* fix: Invalid memoized context value in LocaleProvider

* Add button type in test case.

* fix: Invalid memoized context value in Anchor
2022-01-14 18:34:27 +08:00
VIREAK KEOSOKVIBOL
f0c8402d65
feat: Add km_KH locale to component (#32853)
* Add km_KH locale to component

* Add test and docs

* Fix typo

* Add test snapshot
2021-11-20 15:02:28 +08:00
damon.chen
e7f5030f2b
fix: change Ok to OK (#32259)
* 修复AutoComplete组件allowClear属性的说明有歧义的问题

* fix: change Ok to OK

* update jest snapshot

Co-authored-by: chj_damon <chjdamon@gmail.com>
2021-09-23 22:13:05 +08:00
Primlx
371d1421c6
feat: Georgian translation (#32106)
* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400

Add files via upload

add georgian translation

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Create ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

Create ka_GE.tsx

Create ka_GE

Rename ka_GE to ka_GE.tsx

Update ka_GE.tsx

Update ka_GE.tsx

Create ka_GE.tsx

update rc-picker version

* Update package.json

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

* test case

* add language option in markdown

* test

* Update components/calendar/locale/ka_GE.tsx

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

* Update components/calendar/locale/ka_GE.tsx

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2021-09-09 19:40:26 +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
Jabir K.H
b3c4cebd96
feat: Malayalam(ml_IN) translation (#31521)
*  added ml_IN locale

*  malayalam localization - rc-packages updated

* ml_IN test cases added

Review comments integrated

* ml_IN translation - en doc updated

PR review comments integrated

* ml_IN translation zh doc updated

PR review comment integrated

* ❇️ changes after running npm test locally

* 🚀 npm test after removing and reinstalling node modules and package-lock
2021-07-27 10:56:41 +08:00
Mohammad Anas
24e416437e
feat: add urdu language intl (#31346)
* feat: add urdu language intl

* feat: update test snapshot
2021-07-13 10:02:21 +08:00
Aminul Islam
6196bf01e9
feat: Added bn_BD Bangla language (#31257)
* feat: Added bn_BD Bangla language

* fix: added missing provider

* changed to bn-bd

* added test

* updated test snap

* update i18n docs
2021-07-05 10:58:48 +08:00
afc163
feba8d62ed test: update snapshot 2021-06-25 13:38:07 +08:00
afc163
1d894a2276 test: update snapshot 2021-06-10 13:10:15 +08:00
afc163
7427f52a64
fix: Table column align with sorter and filter (#30744)
* fix: Table column align with sorter and filter

close #30741

* update snapshot
2021-05-28 13:27:58 +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
Jaideep Ghosh
599a8f82f9
fix: Updated hindi locale with missing messages. (#30541)
* fix: Updated hindi locale with missing messages.

* feat:Updating snapshots.
2021-05-18 10:48:05 +08:00