lijianan
d292257e47
chore: type optimization ( #38460 )
2 years ago
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case ( #38454 )
2 years ago
lijianan
fe9ac7b936
fix: incorrect warning ( #38446 )
2 years ago
JarvisArt
4522340700
docs: fix the steps docs layout ( #38277 )
* docs: update dropdown wrong word
* docs: update breadcrumb wrong word
2 years ago
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2 years ago
hms181231
30d2a24898
test: Update Dropdown test case ( #38144 )
2 years ago
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button ( #38090 )
* feat: use Space.Compact for Dropdown.Button
* test: update button demo tests
* test: update config-provider demo tests
* fix: deps-lint-skip for dropdown
* fix: lint issue
2 years ago
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement ( #37971 )
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
* fix: delete defaultprops
* fix: delete defaultprops
2 years ago
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups ( #37816 )
2 years ago
lijianan
3588ae82c1
type: strong type ( #37805 )
2 years ago
黑雨
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>
2 years ago
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2 years ago
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown ( #37232 )
* feat: switch visible to open for Dropdown
* fix: merge state
* fix: props pass
* test: fix coverage
2 years ago
Yuki Zhang
969925653c
test: move test cases to testing-library for DropDown ( #37003 )
* temp
* fix: mock esmodule default for Dropdown
* test: move test cases to testing-library for DropDown
* chore: remove console
* fix: snapshot test
* refactor: jest mock improvement
2 years ago
nuintun
dd6e93d4ae
feat: Dropdown button add danger status support ( #36810 )
* feat: Dropdown button add danger status support
* fix: Dropdown button danger test
* fix: Dropdown button danger test
* Update components/dropdown/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/dropdown/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
42e030edd9
fix: arrow compatibility ( #36266 )
* fix: arrow campatibility
* chore: code clean
* chore: rm useless style
* chore: code clean
* fix: use inset
* chore: bundlesize optimization
* chore: rm useless style
* chore: rm useless style
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close ( #36148 )
* test: test driven
* fix: Dropdown with Menu list group
2 years ago
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable ( #36098 )
* fix: Table customize Menu should be selectable
* test: Add test case
* test: Update snapshow
2 years ago
苯苯
961383fa0c
fix: missing semicolon ( #36008 )
2 years ago
苯苯
a86feb702e
fix: `DropdownProps` definition ( #35990 )
Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic ( #35810 )
* refactor: Dependency Inversion
* test: update snapshot
* test: Update snapshot
* test: more
* fix: table dropdown logic
* fix: menu lint
3 years ago
章鱼
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
3 years ago
dingkang
58df74c38e
docs: replace class component with hooks ( #35519 )
* 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
3 years ago
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
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
MadCcc
7f6e4492a0
feat: Dropdown support autoFocus ( #35391 )
* feat: Dropdown support autoFocus
* chore: add bundle size
3 years ago
afc163
0658932fa0
Revert "feat: dropdown auto-focus ( #35307 )" ( #35337 )
This reverts commit 1ff58d23f0
.
3 years ago
MadCcc
1ff58d23f0
feat: dropdown auto-focus ( #35307 )
* feat: dropdown auto-focus
* chore: update rc-tabs
3 years ago
二货机器人
f8e7cba353
refactor: Simplify Button Group Style ( #35175 )
* chore: refactor grp with context
* test: Update snapshot
* chore: clean up
* test: fix test case
* chore: clean up
* test: fix test
3 years ago
zombiej
6a00bddade
docs: Update Dropdown demo
3 years ago
二货机器人
f8d728161c
docs: Update demo with Space ( #35172 )
3 years ago
afc163
8f06430336
fix: DropDownProps => DropdownProps ( #35161 )
* fix: DropDown => Dropdown
* chore: leave DropDownProps for compatibility
3 years ago
zombiej
15599bb3b8
docs: Add dropdown menu missing keys
3 years ago
zombiej
3e6817a10a
docs: Update Dropdown basic demo icon
3 years ago
二货机器人
1525ac47fb
chore: bump dropdown with inject mark ( #35153 )
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
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>
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
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
3 years ago
MadCcc
c5e8efb82f
feat: Dropdown support switch options with arrow keys ( #34738 )
* feat: dropdown support auto-focus
* chore: code clean
3 years ago
二货机器人
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
3 years ago
二货机器人
235ab32f44
fix: Dropdown not auto adjust placement ( #34390 )
3 years ago
qdzhaoxiaodao
3b0174dbdb
feat: add variable for aliyun theme of dropdown ( #34189 )
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
3 years ago
afc163
1c28ed37fc
fix: Dropdown item style when text is long ( #34177 )
close #34176
3 years ago
MadCcc
186ba3a7de
chore: update snapshot
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago