Commit Graph

438 Commits

Author SHA1 Message Date
dingkang
1ef45439d6
test: replace Cascader test case with test library (#36475)
* test: relpace test case with test library

* test: fix test case

* test: replace snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-07-26 22:27:42 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment (#36126)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
dingkang
40e3d7a053
docs: Convert part demo to ts version (#35641)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks

* docs(pagination): replace class component with hooks

* docs(popconfirm): replace class component with hooks

* docs(popover): replace class component with hooks

* docs(progress): replace class component with hooks

* docs(rate): replace class component with hooks

* docs(radio): replace class component with hooks

* docs: jsx to TS demo
2022-05-19 20:02:56 +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
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps (#35570)
* chore: rm in root

* chore: fix ts

* test: Update snapshot

* chore: ignore part
2022-05-16 16:34:42 +08:00
zombiej
e8d9c42565 test: Update snapshot 2022-05-13 10:14:09 +08:00
MadCcc
b11cf22dd3 test: update snapshot 2022-05-12 23:23:51 +08:00
MadCcc
2d70027f45 Merge branch 'master' into feature-merge-master 2022-05-12 15:56:18 +08:00
dingkang
5cf579c37a
docs: replace class component with hooks (#35472)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks
2022-05-10 20:49:42 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning (#35417)
* refactor: remove useless warning (#35291)

* refactor: remove useless test case

* docs: remove cascader tagRender
2022-05-10 13:57:38 +08:00
afc163
594f138760 resolve conflict between feature and master 2022-05-08 17:01:54 +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
黑雨
b0a652580a
feat: Form disabled (#35210)
* feat: add form disabled

* feat: add form disabled

* feat: add radio disabled

* feat: update snap

* feat: add test case
2022-04-29 20:48:10 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
王浩
a7c5f6b516
fix(cascader): search result not fill the entire panel (#35019)
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-04-13 21:59:41 +08:00
zombiej
85a351ed3b chore: test fix 2022-04-11 18:07:34 +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
黑雨
215d2ad883
feat: add showCheckedStrategy api for cascader (#34568)
* feat: add showCheckedStrategy api for cascader

* feat: update doc

* feat: add demo and update doc

* feat: update demo
2022-03-26 00:17:34 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form (#34712)
* refactor: feedbackIcon migration

* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
0de1e66ff1
refactor: move override code in form (#34694)
* refactor: move override code in form

* refactor: radio and checkbox

* chore: code clean

* test: fix lint

* test: fix lint
2022-03-24 21:54:20 +08:00
EvanOne(文一)
ac130c63ca
docs(components:Cascader): supplement the API documentation (#34466)
* docs(components:Cascader): supplement the API documentation

* docs(Cascader:en-US): supplement the API documentation
2022-03-13 21:46:44 +08:00
github-actions[bot]
2d194ecd0a
chore: auto merge branchs (#34209)
chore: merge master into feature
2022-02-25 10:52:16 +00:00
Long Hao (龙濠)
517ab4c3ce
fix: issue #34015 cascader document of option less isleaf param (#34174)
* fix: issue #34015 cascader document of option less isleaf param

* fix: add comment

* fix: comment change

Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
2022-02-24 10:53:51 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +08:00
二货机器人
e0c1e0650c
docs: Multiple displayRender support (#34116) 2022-02-18 15:02:26 +08:00
MadCcc
533bc8740a
feat: cascader support status (#34086)
* feat: cascader support status

* chore: code clean

* chore: raise bundle size limitation

* chore: code clean
2022-02-17 15:08:13 +08:00
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
babycannotsay
a7e8f1034f
fix: cascader's onChange ts adapts to single and multiple (#33947)
* fix to: cascader's multiple determines the declaration of onChange

* fix: cascader's onChange ts adapts to single and multiple

* test: fix
2022-02-12 21:56:55 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs (#33794)
chore: merge master into feature
2022-01-21 05:32:19 +00:00
MadCcc
9cf0dca8fc
test: fix cascader test coverage (#33802) 2022-01-21 11:49:07 +08:00
afc163
5d2994ec12
style: Cascader loading icon (#33799) 2022-01-21 10:40:34 +08:00
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement (#33541)
* feat: select components add placement api

* feat: select components add placement api

* fix: delete placement

* fix: change md demo and delete export

* feat: cascader and tree-select add placement

* feat: datapicker add placement api

* fix: change repeat static declaration to single

* test: updata test units

* doc: change doc

* fix: delete merge message & delete decalare ts

* test: fix unit test

* fix: add transName in select & treeSelect & cascader

* fix: change common api in utils

* fix: change useless if block to only

* fix: change placement string to enum

* fix: lint done

Co-authored-by: 礼检 <ljj337009@antgroup.com>
2022-01-20 16:54:47 +08:00
afc163
62eac5c830
chore: update Cacasder demo and remove array-tree-filter (#33754)
* chore: upgrade rc-cacasder

* update snapshot
2022-01-19 11:39:39 +08:00
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' (#33649)
* fix: Warning: Encountered two children with the same key, 'seperator' #33183

* eslint-disable-next-line react/no-array-index-key

Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
2022-01-11 13:18:17 +08:00
afc163
fb59bd2a47
docs: improve Cascader API documentation (#33484)
close #33477
2021-12-30 11:38:48 +08:00
zombiej
7ae451729f test: update snapshot 2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00
binyellow
5c3e483217
docs: fixing document issues (#33259) 2021-12-22 17:22:15 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps (#33364)
* chore: bump select related version

* test: Fix test case

* chore: bump rc-select version

* test: Update snapshot

* chore: Update Select ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* chore: Update ts definition

* chore: fix internal ts def

* test: update auto complete snapshot

* chore: update snapshot

* chore: bump version

* chore: fix demo ts

* chore: Move ValueType to the first place

* test: Update test case
2021-12-21 21:38:11 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
二货机器人
c6c0662b97
docs: Cascader displayRender data (#33087)
* docs: Cascader displayRender data

* ts: clean up

* test: Update rc-resize-observer version

* test: fix resize related test case

* chore: fix ts error

* test: Fix resize logic
2021-11-30 17:26:51 +08:00
二货机器人
e7ac69edeb
fix: Cascader typescript (#33008)
* chore: Cascsader add missing suffixIcon

* chore: export CascaderRef

* chore: Casacer type
2021-11-24 17:45:13 +08:00
zombiej
a008ebb118 docs: Update Cascader changeOnSelect desc
close #32886
2021-11-17 11:06:30 +08:00