Commit Graph

586 Commits

Author SHA1 Message Date
MadCcc
5d53884919
fix: fix wrong button icon size and margin (#42516) 2023-05-22 13:37:41 +08:00
二货机器人
4e311f0d95 test: update snapshot 2023-05-08 23:47:41 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point (#42225)
* chore: align motion follow popup point

* test: update snapshot
2023-05-08 23:28:13 +08:00
二货爱吃白萝卜
711c9d6754
chore: fix ts def (#42218)
* chore: fix ts def

* chore: fix ts
2023-05-08 17:37:04 +08:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
e18400a554
chore: bump rc-dropdown (#42013)
* chore: update snapshot

* chore: update placement

* chore: postProps

* chore: update snapshot

* test: update table test case

* chore: update pure-panel style

* chore: update snap
2023-04-29 11:13:53 +08:00
二货机器人
f60e116503 Merge remote-tracking branch 'origin/master' into feature-merge-master 2023-04-19 11:22:32 +08:00
二货爱吃白萝卜
a5d420b941
chore: bump motion (#41873)
* chore: bump motion

* test: update snapshot

* test: update snapshot
2023-04-19 11:22:09 +08:00
黑雨
41ed9bd430
feat: Button semantic dom (#41456)
* feat: add semantic doc

* 🔀 feat: rebase feature

* feat: update for code reviewer

* feat: update snap

* feat: update snap

* 🐛 bug: update for cov

* Message

* bug: update snap

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* ♻️ feat: ref code

* 🩺 feat: update for review

* 💄 style: update style

* 📝 doc: update doc

* 💄  style: update style

* 💄  style: update style

* 💄 style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 📸 feat:update snap

* 🚧 feat: clean up

* 🚧 feat: clean up

* feat: icon wrapper

* test: update snapshot

* chore: code clean

* fix: icon only font size

* chore: rollback unexpected commit

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
lijianan
65224d357d
🦄️ refactor: use React.useMemo replace function (#41550)
* 🦄️ refactor: use React.useMemo replace function

* add

* fix

* add

* add
2023-03-30 14:55:34 +08:00
MadCcc
3ef08ed0ef
fix: dropdown down icon size (#41501) 2023-03-28 13:20:59 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info (#41475) 2023-03-27 15:33:22 +08:00
二货爱吃白萝卜
6770b7fb22
test: Use render for demo-extends test (#41242)
* test: update snapshot

* test: use render

* test: fix skip

* test: fix skip
2023-03-15 00:08:31 +08:00
dependabot[bot]
1df1034f20
chore(deps-dev): bump glob from 8.1.0 to 9.2.1 (#41109)
* chore(deps-dev): bump glob from 8.1.0 to 9.2.1

Bumps [glob](https://github.com/isaacs/node-glob) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update api

* fix

* fix

* fix path

* fix path

* update snap

* update snap

* update snap

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-03-10 11:50:12 +08:00
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version (#41013)
* chore: bump select tree-select cascader version

* chore: adjust align prepare style

* chore: bump trigger version

* test: update snapshot
2023-03-02 22:09:02 +08:00
栗嘉男
745015ef09 resovl CONFLICT 2023-03-02 00:48:00 +08:00
lijianan
ed94e03705
docs: update docs (#40902) 2023-02-24 14:19:40 +08:00
二货爱吃白萝卜
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
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
MadCcc
8e5c31413a Merge branch 'master' into feature-merge-master 2023-02-06 10:56:07 +08:00
MadCcc
12596a06f2
fix: optimize arrow style (#40521)
* perf: optimize arrow style

* chore: code clean

* chore: code clean
2023-02-03 14:36:46 +08:00
二货机器人
b02b7aeadb chore: merge master 2023-01-31 10:21:17 +08:00
afc163
467741f558
fix: Dropdown submenu wrong position (#40349) 2023-01-21 12:35:52 +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
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
二货爱吃白萝卜
1bcb25166b
test: update snapshot (#40328) 2023-01-19 17:14:49 +08:00
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop (#40234)
* feat: tooltip support arrow props

* docs: update docs

* chore: update rc-tooltip version

* feat: update snapshots

* feat: update snapshots

* style: format code

* Update components/tooltip/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/tooltip/index.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/tooltip/demo/arrow.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/tooltip/demo/arrow.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: code optimize

* docs: update docs

* feat: code optimize

* feat: del doc

* feat: update snapshots

* feat: update snapshots

* feat: update snapshots

* feat: refactor dropdown arrow style

* feat: comment

* Update components/tooltip/demo/arrow.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: popover support arrow prop

* feat: tour arrow style optimize

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update test case

* feat: update test case

* feat: update test case

* Update components/popover/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/tooltip/index.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-19 11:21:05 +08:00
二货爱吃白萝卜
92203acc33
Merge pull request #40195 from ant-design/master
chore: feature merge master
2023-01-13 00:01:15 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button (#40077)
* fix: type updated from any, and comments removed #15930

* refactor: removed unnecessary comments, created helper for button

* fix: cleanupTimer

* fix: import fixed

* Update components/button/button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/dropdown/dropdown-button.tsx

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches (#40107)
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
github-actions[bot]
73d0a9bc30
chore: auto merge branches (#40086)
chore: feature merge master
2023-01-08 04:41:22 +00: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
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
Wuxh
5836724dc4 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-31 22:24:55 +08:00
lijianan
3ed7ec906e chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-31 22:24:55 +08:00
JarvisArt
8d7e17a11c chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-31 22:24:55 +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
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-29 14:25:57 +08:00
github-actions[bot]
b804aee68d
chore: auto merge branches (#39840)
chore: feature merge master
2022-12-27 07:41:36 +00:00
MadCcc
e3e1b8534d
feat: Dropdown support autoAdjustOverflow (#39735)
* feat: Dropdown support autoAdjustOverflow

* docs: api

* docs: update api desc
2022-12-22 17:56:02 +08:00
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +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
lijianan
120db80c25
type: Button type optimization (#39533)
* type: type optimization

* fix type

* fix type

* fix type

* update docs
2022-12-15 17:48:29 +08:00
Amumu
ca5b9a6ae0
docs: CN it. (#39519) 2022-12-13 15:49:05 +08:00