zombiej
099322af16
chore: resolve injection
2022-05-30 19:13:16 +08:00
zombiej
300dddebbb
chore: next merge feature
2022-05-30 19:11:21 +08:00
二货机器人
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
2022-05-30 19:06:51 +08:00
MadCcc
e9e8419b19
fix: menu inline & vertical border ( #35742 )
2022-05-26 01:36:39 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
二货机器人
47d73d8e33
Refactor: Menu full token ( #35650 )
...
* chore: more style
* chore: more style
* chore: more and more
* chore: more and more
* chore: all about it
* chore: more style
* chore: more & more
* chore: more
* chore: hover style
* chore: theme of it
* move
* chore: status color
* chore: full token
* chore: update
* chore: update
* chore: force cache update
* chore: force cache back
* fix: commented
2022-05-23 10:58:30 +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
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
Tony Wu
68a2f8b2ac
docs: indicate that menu items require key
s ( #35474 )
2022-05-11 14:29:26 +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
MadCcc
24773d5796
test: lint
2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
Yanming Deng
36ded1a741
docs: fix typo ( #35439 )
...
* chore: fixed typo
* chore: fixed typo+1
2022-05-09 18:09:02 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
MadCcc
83ed62aa0e
Merge branch 'feature' into next-merge-feature
2022-05-07 15:19: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
MadCcc
4734f65f2f
feat: focus menu item automaticly when focusing menu ( #35407 )
...
* feat: focus menu item automaticly when focusing menu
* chore: update mentions
* test: fix test case
* chore: decrease bundle size
* chore: increase bundle size
2022-05-07 11:36:34 +08:00
zombiej
3e69660e52
chore: merge master
2022-05-01 16:32:08 +08:00
MadCcc
42525ffbdc
test: add menu focus test ( #35252 )
2022-04-26 18:17:55 +08:00
二货机器人
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>
2022-04-25 10:54:00 +08:00
afc163
b25d5f90bd
chore: merge master to next
2022-04-24 12:17:49 +08:00
afc163
0efba5f720
docs: add demo link for Menu legacy usage ( #35202 )
...
* docs: add demo links for Menu legacy usage
* Update index.en-US.md
2022-04-24 11:24:46 +08:00
zombiej
669f41502e
Merge branch 'master' into next
2022-04-21 17:10:29 +08:00
afc163
255bfddc3f
docs: improve menu usage for items ( #35131 )
...
* docs: improve menu usage for items
* test: update snapshot
* docs: update menu title
2022-04-20 22:31:21 +08:00
zombiej
566632efa3
docs: Update Menu demo sample
2022-04-20 19:03:39 +08:00
二货机器人
4de07ad102
docs: Add deprecated usage ( #35128 )
2022-04-20 17:56:11 +08:00
黑雨
b0ad8b6d14
feat: fix menu site ( #35127 )
2022-04-20 17:38:13 +08:00
黑雨
87a5ddf0be
feat: cssinjs for menu ( #34958 )
...
* feat: cssinjs for menu
* feat: merge next
* feat: update for lint
* feat: update for test
* feat: update for style
* feat: update snap
2022-04-20 15:31:04 +08:00
afc163
756f06c2fe
chore: sync master into next branch
2022-04-20 11:30:55 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
nuintun
74b60d22b1
fix: cn menus doc ( #35078 )
2022-04-19 21:02:06 +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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
2022-04-15 16:20:56 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
zombiej
a0d1440050
chore: merge conflict
2022-04-11 17:41:54 +08:00
二货机器人
688422b490
test: back of coverage ( #34964 )
...
* test: fix coverage
* chore: bump bisheng
* chore: clean up
* chore: update deps
* chore: test coverage
2022-04-11 15:32:00 +08:00
二货机器人
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
2022-04-08 22:55:42 +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
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
MadCcc
c5e8efb82f
feat: Dropdown support switch options with arrow keys ( #34738 )
...
* feat: dropdown support auto-focus
* chore: code clean
2022-03-28 14:43:10 +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
二货机器人
c50bbe64bb
chore: refactor internal menu with hooks ( #34433 )
...
* chore: refactor menu with hooks
* chore: clean up
2022-03-11 15:26:29 +08:00
afc163
34a63e6892
chore: merge feature into master
2022-02-23 17:11:11 +08:00
Di Wu
15f4452f14
fix: Invalid memoized context value in Menu ( #34121 )
2022-02-18 18:34:21 +08:00
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
...
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
2022-02-16 11:48:24 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
David
2843bd32dd
feat: Add ability to overwrite Menu theme at Menu.SubMenu level. ( #33971 )
...
* Add theme support to Menu.SubMenu
* Tidy up docs
* Tidy up docs
* Update components/menu/index.en-US.md
* Update components/menu/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Add Chinese lang docs
* Extend menu theme demo to additionally demonstrate Sub-menu theming
* Add submenu theme demo
* Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming"
This reverts commit 642a2b5b72322eb5f6d06d6eb644f877e7f6119c.
* Add tests
* Correct typo
* Make demo vertical so absolutely positioned popover doesn't overflow
* Make demo functional component
* Update components/menu/index.en-US.md
Co-authored-by: afc163 <afc163@gmail.com>
* Update components/menu/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/menu/demo/submenu-theme.md
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-02-14 15:21:33 +08:00
afc163
9eed463be3
docs: more acurrate description about Menu overflowedIndicator prop ( #34022 )
...
* docs: add info about Menu overflowedIndicator prop
close #34016
* fix doc
2022-02-12 22:01:24 +08:00