MadCcc
93908debec
feat: v5 radius ( #37146 )
* feat: v5 radius
* test: fix test
2 years ago
二货爱吃白萝卜
94edd8e917
refactor: Select like PurePanel remove motion and support auto width ( #37117 )
* refactor: Pure support open
* chore: fit content size
* test: Update snapshot
* test: back of snapshot
* test: ignore purePanel
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
二货机器人
c91af108d6
test: Update snapshot
2 years ago
MadCcc
ec3444a407
refactor: token udpate ( #36892 )
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
d7c2f5f5d3
feat: menu theme implemented by design token ( #36738 )
* feat: menu theme implemented by design token
* test: fix test
* fix: lint
* fix: menu motion
* 偷偷加了几个token
Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
二货机器人
94a3d51cb0
feat: Dropdown support PurePanel ( #36461 )
* feat: Dropdown support PurePanel
* chore: clean up
2 years ago
MadCcc
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
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
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
MadCcc
373f0c5a65
refactor: shadow alias ( #36213 )
* refactor: shadow
* refactor: component box shadow
* refactor: shadow alias
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
MadCcc
d5c23dc265
fix: more colorBgElevated ( #36142 )
2 years ago
MadCcc
1bcfe0cce3
refactor: motion ( #36136 )
* fix: modal motion
* fix: image motion
* refactor: popover & tooltip motion
* chore: code clean
* refactor: move motion
* refactor
* chore: code clean
* refactor: dropdown support move motion
2 years ago
MadCcc
5639e1a5ba
feat: update token ( #36095 )
* feat: update token
* feat: update token
* fix: override ts definition
* fix: rename token
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
MadCcc
9ca7973521
refactor: image full token ( #35465 )
* refactor: image full token
* chore: remain switch size
* refactor: less token
* chore: text color
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
MadCcc
24773d5796
test: lint
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
MadCcc
eed87d6276
chore: remove keyframes declaration ( #35231 )
3 years ago
二货机器人
b4730281a9
refactor: Dropdown cssinjs support ( #35214 )
* chore: init
* chore: dropdown style
* chore: more style
* chore: icon style
* chore: more style
* chore: diff shows the cache path
* chore: motion support
* chore: more style
* feat: status
* chore: sub menu style
* chore: all dropdown style
* fix: ts
* chore: update snapshot
* Update components/dropdown/style/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* chore: update style
Co-authored-by: MadCcc <1075746765@qq.com>
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
a513051761
docs: Update Dropdown demo
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
d416354a75
docs: Update Dropdown basic demo icon
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