Commit Graph

28411 Commits

Author SHA1 Message Date
Riyad Arafat
c5f4c71a43
docs(FloatButtonGroup): Add onClick prop (#40706)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-04 10:15:59 +08:00
ice
badfbe3cfe
feat(Button): support variant and color (#50051)
* feat(button): variant & color types

* feat: type -> color/variant

* feat: type -> color/variant

* feat: add variant filled

* test: snap

* refactor(button): rename type -> variant

* docs: add demo

* feat: add danger ghost style

* refactor: remove deprecated

* refactor: eslint

* docs: change color&variant

* test: updated snap

* docs: color-variant

* docs: add debug color&variant

* feat: global token

* refactor: remove comment

* docs: add color&variant docs

* docs: remove default

* docs: add space

* docs: code

* test: update snap

* test: fix snap

* test: btn querySelect

* feat: change filled hoverStyle

* test: fix

* feat: support grey wave

* refactor: enhance

* docs: color/variant -> v 5.21

* test: snap

* feat: add token

* test: to do

* test: fix test

* ci: rebuild

* style: remove

* style: space

* docs: add note & FQA

* feat: add componentsToken

* refactor: remove isNotGrey

* test: add case

* docs: tile button

* test: snap

* docs: site & snap

* Update components/button/index.en-US.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* fix: token color & undef

* docs: site

* docs: responsive

* docs: enhance FAQ

* docs: gap middle

* test: snap

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: rename

* docs: prettier

* chore: eslint

* refactor: cls

* test: add solidTextColor case

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* fix: rename

* docs: text

* fix: remove border

* feat: add token colorErrorBgFilledHover

* chore: add size-limit

* refactor: rename

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
ice
eac5b6893d
feat(menu): support extra prop (#50431)
* feat(dropdown): support extra prop

* text: fix items

* Update components/menu/style/index.ts

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update package.json

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* style: css

* chore: bump rc-menu from 9.15.1 to 9.15.0

* style: classname

* test: clsname

* chore: rc-menu to ^9.15.1

* chore: rc-menu version from ^ to ~

* chore: update deps

* feat: full width

* fix: children is array

* fix: default array

* fix: label

* test: update snap

* test: case

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-09-03 07:15:18 +08:00
Yuno
a0a22bdeeb
docs: update color-picker onChage Docs (#50654) 2024-08-30 17:06:12 +08:00
github-actions[bot]
16f9543ba0
chore: auto merge branches (#50641)
chore: sync master to feature
2024-08-29 15:00:27 +00:00
afc163
c2ee092439
test: fix codecov comment (#50640) 2024-08-29 16:42:29 +08:00
afc163
b27b06250f
style: fix Menu item background transition style (#50624) 2024-08-29 14:05:22 +08:00
afc163
bfd2c06987
docs: tweak document content area width (#50625) 2024-08-29 14:05:07 +08:00
afc163
a3616a5cf6
Revert "test: make a strict codecov rule" (#50613) 2024-08-29 14:01:28 +08:00
github-actions[bot]
06738b8e1e
chore: upgrade deps (#50631)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-08-29 07:50:30 +08:00
thinkasany
df933e94ef
demo(tag): improve import type DragEndEvent for dnd-kit (#50615) 2024-08-28 18:12:02 +08:00
lijianan
911ea14ec0
Revert "chore(deps-dev): bump tsx from 4.11.2 to 4.19.0" (#50614) 2024-08-28 17:38:20 +08:00
afc163
8a0a0d2da9
style: enhance Badge motion when switch mode (#50607) 2024-08-28 14:55:16 +08:00
afc163
de92a2c363
style: tweak Table column header move transition (#50605) 2024-08-28 13:38:41 +08:00
dependabot[bot]
2945441bbe
chore(deps-dev): bump tsx from 4.11.2 to 4.19.0 (#50598)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 12:02:17 +08:00
Andrew Busch
20fbb8e464
chore: Rename ColorPickerProps.onChange string param (#50604) 2024-08-28 11:57:13 +08:00
dependabot[bot]
288a96d491
chore(deps-dev): bump the dev-dependencies group with 1 update (#50597)
* chore(deps-dev): bump the dev-dependencies group with 1 update

Bumps the dev-dependencies group with 4 updates: [@antv/g6](https://github.com/antvis/g6), [eslint-plugin-lodash](https://github.com/idok/eslint-plugin-lodash), [jsdom](https://github.com/jsdom/jsdom) and [puppeteer](https://github.com/puppeteer/puppeteer).


Updates `@antv/g6` from 4.8.24 to 5.0.17
- [Release notes](https://github.com/antvis/g6/releases)
- [Changelog](https://github.com/antvis/G6/blob/v5/CHANGELOG.md)
- [Commits](https://github.com/antvis/g6/commits/5.0.17)

Updates `eslint-plugin-lodash` from 7.4.0 to 8.0.0
- [Changelog](https://github.com/idok/eslint-plugin-lodash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/idok/eslint-plugin-lodash/commits/v8.0.0)

Updates `jsdom` from 24.1.3 to 25.0.0
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/24.1.3...25.0.0)

Updates `puppeteer` from 22.15.0 to 23.2.0
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.15.0...puppeteer-v23.2.0)

---
updated-dependencies:
- dependency-name: "@antv/g6"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-lodash
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
...

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

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-08-28 08:00:25 +08:00
afc163
9f274a0884
refactor: reimplement Typography code (#50561)
Co-authored-by: lijianan <574980606@qq.com>
2024-08-27 22:08:04 +08:00
Nicolò Zandarin
1cd79e3b0a
fix: Disable the Rate component within Form.Item when the form is disabled (#50594)
Co-authored-by: Nicolò Zandarin <nicolo.zandarin@atroos.com>
2024-08-27 18:56:54 +08:00
Wanpan
730a37f0bd
feat[Collapse]: support classNames and styles (#50557)
* feat[Collapse]: support classNames and styles

* fix: update

* fix: update

* feat[Collapse]: update

* Empty-Commit

* docs: update

* docs: update

* docs: update

* docs: update

* docs: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-08-27 14:07:25 +08:00
afc163
cab753c52c
chore: fix webpack config of dist bundle (#50575) 2024-08-27 09:55:59 +08:00
github-actions[bot]
6176d3cefe
chore: auto merge branches (#50582)
chore: merge master into feature
2024-08-26 21:56:33 +00:00
🏎️ Imer
4e446e1c06
Merge pull request #50544 from ant-design/chore/private_export
chore: export private variable.
2024-08-26 01:34:29 -07:00
🏎️ Imer
ac4b17ada1
Merge branch 'master' into chore/private_export 2024-08-26 01:12:12 -07:00
MadCcc
d72255f0ae
docs: changelog 5.20.3 (#50568)
* docs: changelog 5.20.3

* chore: update docs

* docs: update date

* chore: add runtimePublicPath

* chore: update runtimePublicPath value
2024-08-26 16:11:52 +08:00
🏎️ Yumo
be7cf7beff chore: update code comments 2024-08-26 15:46:45 +08:00
afc163
d73035d512
test: make a strict codecov rule (#50571) 2024-08-26 12:23:20 +08:00
afc163
269964a707
chore: enable gzip instead of brotli for size-limit (#50562) 2024-08-26 12:17:06 +08:00
afc163
acc10b4fe5
test: remove unused code (#50560) 2024-08-26 12:05:04 +08:00
Chevindu Wickramathilaka
714a6e1679
docs: Improve english translation of Drawer documentation (#50558) 2024-08-23 21:40:13 +08:00
🏎️ Yumo
7548dd0fa1 chore: change private variable export name 2024-08-23 10:36:52 +08:00
🏎️ Yumo
d04f8b2a2e chore: export private variable. 2024-08-22 20:05:45 +08:00
afc163
4bac8efbf2
docs: add more compatibility info about style (#50517) 2024-08-21 22:56:31 +08:00
Avan
b734917686
style: float button body border radius unify (#50513) 2024-08-21 17:58:54 +08:00
thinkasany
c2c161f2cd
demo(tree): improve type for virtual-scroll demo (#50518) 2024-08-21 17:56:58 +08:00
二货爱吃白萝卜
b9d5933975
fix: ellipsis check for over (#50514)
* fix: ellipsis check for over

* chore: use another way

* refactor: measure update

* chore: no measure if native

* chore: clean up
2024-08-21 14:27:40 +08:00
thinkasany
53495d6307
test: improve test type (#50515) 2024-08-21 12:41:09 +08:00
github-actions[bot]
6f062a5eb8
chore: auto merge branches (#50510)
chore: merge master into feature
2024-08-20 16:19:34 +00:00
栗嘉男
dee90b2509 chore: merge master into feature 2024-08-21 00:00:02 +08:00
qwangry
de5c835d46
docs: fix document typos (#50508) 2024-08-20 23:51:35 +08:00
二货爱吃白萝卜
7edf9315d7
fix: onComplete directly case (#50501) 2024-08-20 17:40:35 +08:00
二货爱吃白萝卜
0b6a2f742e
refactor: use react cycle method (#50500)
* refactor: use react cycle method

* chore: clean up
2024-08-20 17:34:10 +08:00
thinkasany
78a65ef072
demo: improve variant demo (#50495)
* demo(form): improve variant demo

* chore: replace semented
2024-08-20 16:04:11 +08:00
lijianan
c8413cc78f
feat: FloatButton support placement (#50407)
* feat: 不要合并

* fix: fix

* fix: fix

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* Update components/float-button/FloatButtonGroup.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* test: add test case

* fix: fix

* fix: fix

* site: update site style

* demo: update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-20 10:16:07 +08:00
陈帅
5888e6a4b1
docs: add 5.20.2 changelogs (#50492)
* docs: add 5.20.2 changelogs

* remove typo

* v5.20.2

* fix typo
2024-08-19 23:01:06 +08:00
github-actions[bot]
a33a09ee23
chore: auto merge branches (#50476)
chore: sync master to feature
2024-08-19 03:33:28 +00:00
MadCcc
5561a46495
chore: turn off sourcemap (#50473) 2024-08-19 09:58:55 +08:00
afc163
e80ef92fcf
docs: add link of Pronunciation (#50469) 2024-08-18 00:26:01 +08:00
afc163
fa3fddb0ed
test: use bun in github action (#50466) 2024-08-18 00:23:19 +08:00
ice
8a230505b8
type(tag): Optimize ts types (#50427) 2024-08-16 23:39:46 +08:00