二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
...
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2023-02-15 10:21:28 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
...
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2023-01-20 11:03:50 +08:00
二货爱吃白萝卜
1bcb25166b
test: update snapshot ( #40328 )
2023-01-19 17:14:49 +08:00
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden ( #40071 )
...
* test: add case
* fix: fix the error of missing custom icon className
* test: add case
* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode
* test: update snapshot
* Revert "fix: fix the error of missing custom icon className"
This reverts commit 71c79a3f75
.
* test: update case
* fix: fix the error of missing custom icon className
2023-01-07 21:50:09 +08:00
Wuxh
5f40fe874b
fix: dropdown menu style issue ( #39904 )
...
* fix: dropdown menu item in danger
Disable dropdown menu item when type is equal to danger
increase disabled CSS specificity
remove unnecessary changes
fix: remove reordering functions
Remove reordering functions by increasing `disable` class on line 350 CSS specificity
Revert "fix: remove reordering functions "
This reverts commit bd94daaddf973f5f8ef1641ea3081f5aab2fc3a2.
* chore: update style
* chore: update demo
ref: https://github.com/ant-design/ant-design/issues/39322
* test: update snapshot
Co-authored-by: samyar <75088294+samyarkd@users.noreply.github.com>
2022-12-29 21:08:45 +08:00
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode ( #39859 )
2022-12-29 14:25:57 +08:00
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style ( #39626 )
...
* fix: Optimize the custom-dropdown demo style
* chore: Using the token variable
2022-12-19 14:10:20 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs ( #39290 )
...
* docs: remove v3 to v4 migration docs
* update
Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
lijianan
4efa3b2896
test: console.error
should nullable in Console ( #39050 )
2022-11-28 14:19:25 +08:00
章鱼怪
ee3b94fcfc
fix: Dropdown.Button's dropdownRender is not executed ( #38862 )
2022-11-22 20:33:10 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
MadCcc
ab4bcc4463
Merge branch 'master' into next-merge-master
2022-11-17 14:04:31 +08:00
lijianan
5ef12dfaa5
chore: fix typo ( #38568 )
2022-11-15 15:51:34 +08:00
二货机器人
ac85fbec6f
chore: merge master
2022-11-13 14:33:07 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
...
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case ( #38454 )
2022-11-09 11:55:11 +08:00
lijianan
fe9ac7b936
fix: incorrect warning ( #38446 )
2022-11-09 09:46:27 +08:00
二货机器人
3bc6bbd6d9
chore: fix ts def
2022-11-07 23:51:56 +08:00
二货机器人
d5cfd195dd
chore: merge master
2022-11-07 23:32:46 +08:00
MadCcc
242b1713f5
Merge branch 'master' into next-merge-master
2022-10-26 14:56:44 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender ( #37885 )
2022-10-23 00:33:45 +08:00
二货机器人
94b688ff8c
chore: feature merge master
2022-10-22 22:53:41 +08:00
MadCcc
ca72c10feb
Merge branch 'feature' into next-merge-feature
2022-10-22 13:14:19 +08:00
hms181231
30d2a24898
test: Update Dropdown test case ( #38144 )
2022-10-21 15:07:44 +08:00
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
2022-10-19 23:36:41 +08:00
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
lijianan
ddaead6777
fix: delete defaultprops ( #37822 )
...
* fix: delete defaultprops
* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
MadCcc
415c22bc8c
refactor: menu theme style ( #37640 )
2022-09-19 22:17:26 +08:00
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure ( #37624 )
...
* fix: PurePanel width measure
* test: Update snapshot
2022-09-19 11:37:44 +08:00
MadCcc
7a73035f82
chore: fix snapshot
2022-09-14 14:29:05 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
黑雨
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>
2022-09-09 15:51:35 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
...
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2022-09-06 21:46:49 +08:00
MadCcc
5174024561
test: fix test
2022-09-05 22:02:23 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +08:00
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
2022-09-02 17:22:23 +08:00
yykoypj
41a8003241
feat: switch visible to open for Dropdown ( #36799 )
...
* feat: switch visible to open for Dropdown
* feat: add warning when use visible
* fix: visible in dropdown-button
* chore: merge conflict
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 17:46:44 +08:00
二货机器人
25e001f8b5
chore: next merge feature
2022-08-18 17:24:39 +08:00
二货机器人
bf8a7ace41
Merge remote-tracking branch 'origin/master' into feature
2022-08-18 10:57:17 +08:00
二货爱吃白萝卜
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
2022-08-17 19:57:10 +08:00
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
2022-08-15 17:47:10 +08:00
二货机器人
c91af108d6
test: Update snapshot
2022-08-05 16:02:27 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
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>
2022-08-04 10:49:55 +08:00
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>
2022-07-28 20:33:10 +08:00
二货机器人
94a3d51cb0
feat: Dropdown support PurePanel ( #36461 )
...
* feat: Dropdown support PurePanel
* chore: clean up
2022-07-11 15:57:05 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close ( #36148 )
...
* test: test driven
* fix: Dropdown with Menu list group
2022-06-21 15:48:29 +08:00