Commit Graph

24347 Commits

Author SHA1 Message Date
Wuxh
7f189d56e5
refactor: merge preset colors (#39742)
* style: remove redundant code

* feat(style): add preset colour style generation method

(cherry picked from commit 1266e42ba27accb48a6544e3eddaa4a94daef00c)

* feat: uniform preset colour generation css selector method

(cherry picked from commit 5af87e8d5ffcfd23e755946167f200c0565f8222)

* chore: merge preset colors

(cherry picked from commit 05040dfb703f60a3ea1715326748c508acbf41a6)

* chore: update

(cherry picked from commit 241b40a1361469487a6a3e8f1ad07a25d250463d)

* chore: remove Badge preset inverse colors

* chore: remove fix

删除的这部分其实一个 Bug,但是为了给 PR 减负(尽可能单一, 后面新开一个 PR 来修复这个问题

* suggestions accepted

Update components/style/presetColor.tsx

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

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-06 11:06:46 +08:00
lijianan
67e958fdd6
fix: find the missing code (#40047) 2023-01-06 09:46:47 +08:00
lijianan
e597fe8ec6
fix: Button block prop not work (#39992)
* fix: Button block prop not work

* fix

* remove auto

* update demo

* fix

* fix

* fix width

* fix

* update demo
2023-01-06 09:46:00 +08:00
lijianan
ae67ad20c5
fix: fix Checkbox not disabled when itemsLits is empty (#40038)
* fix: fix Checkbox not disabled when itemsLits is empty

* revert

* fix

* update snap

* fix: update snap

* update snap

* update snap

* revert
2023-01-05 20:34:31 +08:00
lijianan
e4dd7096af
site: refactor CC => FC (#40043)
* fix

* fix

* fix
2023-01-05 20:10:03 +08:00
afc163
46d733447a
style: Alert.ErrorBoundary overflow style (#40033) 2023-01-05 16:13:36 +08:00
afc163
7d77f3173d
site: improve demo card style (#40028)
* site: improve demo card style

* test: update snapshot

* test: update snapshot

* fix: demo card border

* docs: fix dark mode

* style: fix color
2023-01-05 15:30:59 +08:00
afc163
755682c317
docs: add animated number demo for Statistic (#40027)
* docs: add animated number demo for Statistic

* style: update demo

* add back countdownValueType

* type: fix demo type
2023-01-05 14:07:33 +08:00
lijianan
c5ab5971fd
refactor: (TransferBody) CC => FC (#39988)
* fix

* fix

* fix type

* rerun ci

* fix

* fix

* fix

* fix

* rename

* add useMemo

* fix

* Code style optimization

* Code style optimization

* fix

* fix

* remove useMemo
2023-01-05 10:37:35 +08:00
叶枫
81a1ffd53c
fix: 修复 Tag onClick 为 undefined 的判断方式 (#40023)
* fix: 修复 Tag onClick 为 undefined 的判断方式

* feat: function
2023-01-05 10:24:14 +08:00
JarvisArt
c74b93b2df
chore: step-next demo supports dark mode (#40014)
* chore: step-next demo supports dark mode

* test: update snapshot
2023-01-04 23:57:05 +08:00
二货爱吃白萝卜
18b91f38c5
fix: Table cell render closure (#40004)
* fix: Table cell render logic

* chore: bump rc-table
2023-01-04 22:59:07 +08:00
二货爱吃白萝卜
3539e668f7
chore: adjust tooltip for cov (#40013)
* chore: adjust tooltip for cov

* chore: update bug version
2023-01-04 22:40:35 +08:00
afc163
c8bc3ce6c6
site: fix home page rtl style and footer icons (#40003)
* docs: fix home page rtl style

* style: fix rtl style

* Update package.json

* style: fix card text align

* style: update footer icons
2023-01-04 19:37:57 +08:00
afc163
df4542e20c
site: make icon search affix (#40002)
* feature: update IconDisplay component in Icon docs template, affix icon search input box to the top of page

* style: change shadow style

Co-authored-by: Chang Wei <changwei1006@gmail.com>
2023-01-04 18:49:55 +08:00
MadCcc
7b06b662d1
chore: add cssinjs linter (#40001) 2023-01-04 17:55:23 +08:00
MadCcc
01023ef0ed
chore: update token statistic script (#40000) 2023-01-04 17:54:31 +08:00
afc163
6683c58b2d
fix: Avatar.Group item could be wrapped (#39993)
* fix: AvatarGroup item could be wrapped

* test: update snapshot

* refactor avatarGroup space

* test: update snapshot

* revert avatarGroupBorderColor
2023-01-04 17:31:31 +08:00
lijianan
dc2686d7eb
refactor: (Transfer) CC => FC (#39958)
* refactor: (Transfer) CC => FC

* add

* fix

* add

* add

* fix

* fix

* add displayName

* add useEffect

* fix

* add useMergedState

* add

* fix

* fix

* fix snap

* rerun

* rerun ci

* rename
2023-01-04 15:09:03 +08:00
afc163
a9bab97d92
chore: update style of github contributors (#39994) 2023-01-04 13:45:02 +08:00
lijianan
977f4da9df
demo: update demo code (#39982)
* type: add Tab type

* add notes

* update demo code
2023-01-04 10:57:03 +08:00
Danial Soheili
a63789e3dc
Bugfix/checkbox style (#39974)
* 🎨 STYLE: fix indeterminate Checkbox style when disabled

* 📖 DOC: add indeterminate checkbox to disabled demo

* 🧪 TEST: update snapshots

* 🐞 FIX: don't change normal checkbox background

* 🐞 FIX: style selector
2023-01-04 10:19:51 +08:00
Peach
0296b4357e
docs: page loading not working bug (#39969) 2023-01-03 18:23:43 +08:00
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch (#39966)
* fix: Node delay for wave pos

* test: test case update

* test: test case update

* chore: update ignore

* test: test case update

* chore: resize check for size changing

* test: coverage

* chore: save code
2023-01-03 16:08:20 +08:00
afc163
cfc763bce3
chore: fix header menu style in mobile device (#39967) 2023-01-03 14:06:57 +08:00
JiaQi
7f3342418f
docs(list): Example display error in English environment (#39959)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-01-03 10:46:46 +08:00
lijianan
0bf4ee88b5
docs: add Space for demo (#39961) 2023-01-03 10:08:42 +08:00
azro352
0a7a600239
Fix demo grid (#39963)
* Fix demo grid

* Fix demo grid
2023-01-03 10:00:37 +08:00
lijianan
ccbec33585
type: remove redundant useContext (#39955)
* type: remove redundant useContext

* add type
2023-01-02 22:18:35 +08:00
lijianan
b44b4e7705
refactor: (Transfer) CC => FC (#39944)
* refactor[Transfer]: CC => FC

* add

* revert

* fix

* revret
2023-01-02 18:10:37 +08:00
二货爱吃白萝卜
9f7b129c41
fix: Button wave follow issue (#39954)
* fix: Button wave follow issue

* test: update test case

* chore: fix lint
2023-01-02 16:34:35 +08:00
lijianan
59a332bf47
chore: use React.useContext() replace <Context.Provider /> (#39950)
* chore: use React.useContext() replace <Context.Provider />

* fix

* fix

* fix

* fix

* fix
2023-01-01 21:17:05 +08:00
Samyek
e9b5805fc2
docs: Updated the Copyright Year (#39952) 2023-01-01 21:13:29 +08:00
lijianan
e80587ec70
docs: optimization docs (#39947) 2023-01-01 13:41:39 +08:00
renovate[bot]
e0ce1b73d1
chore(deps): update cimg/node docker tag to v16.19.0 (#39948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-01 11:48:11 +08:00
二货爱吃白萝卜
5edcdc8200
docs: blog about re-render (#39941)
* docs: rerender blog

* docs: fix lint

* Update docs/blog/render-times.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

Co-authored-by: lijianan <574980606@qq.com>
2023-01-01 11:19:33 +08:00
JarvisArt
2f623fe553
fix: submenu arrow transition (#39945) 2023-01-01 00:26:54 +08:00
lijianan
5d3381334c
chore: remove useless tsx support (#39934)
* chore: remove useless tsx support

* add

* revert

* add

* fix

* fix

* add test case

* fix
2022-12-31 22:12:30 +08:00
kiner-tang(文辉)
a1a7ef933a
fix: solve selection column cover by other cell when fixed (#39940) 2022-12-31 19:38:47 +08:00
JarvisArt
06e0b35b6e
fix: when table filter, the border will be black (#39938) 2022-12-31 19:28:29 +08:00
afc163
7b830c1c01
docs: update links (#39935)
* Update introduce.zh-CN.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md

* Update introduce.en-US.md

* Update introduce.en-US.md

* Update introduce.zh-CN.md
2022-12-31 19:26:52 +08:00
Kirubashankar K
d66b2f5a65
feat: add missing ta_IN translations (#39936)
Co-authored-by: kirubashankar <kirubashankar@ghoshak.com>
2022-12-31 19:14:48 +08:00
afc163
fc033aca8c
chore: update table drag demo (#39929) 2022-12-30 21:28:33 +08:00
afc163
b3710a9510
docs(): release 5.1.2 (#39917)
* docs(): release 5.1.2

* Update CHANGELOG.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>

Co-authored-by: lijianan <574980606@qq.com>
2022-12-30 17:23:55 +08:00
lijianan
54d7f30018
type: remove ForwardRefRenderFunction (#39924)
* type

* fix
2022-12-30 17:23:39 +08:00
afc163
7db31a1959
docs: clarify Transfer filterOption description (#39916)
close #39907
close #39906
2022-12-30 17:21:21 +08:00
lijianan
a80b39d34d
chore: remove rc-util/addEventListener (#39923)
* chore: remove rc-utils/addEventListener

* fix

* fix
2022-12-30 17:15:54 +08:00
Wuxh
06de226d36
docs: update README-zh_CN.md (#39910) 2022-12-30 12:24:20 +08:00
二货爱吃白萝卜
da03c1eb56
fix: tailwindcss reset Image style (#39914)
* fix: tailwindcss reset

* docs: more info

* chore: comment
2022-12-30 11:52:56 +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