Commit Graph

15529 Commits

Author SHA1 Message Date
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
afc163
b554e061ee chore: replace react-sticky to react-sticky-box in Tabs demo (#39898)
* docs: replace react-sticky to react-sticky-box in Tabs demo

* test: fix test case
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
512883e59a fix: useModal default okText (#39884) 2022-12-31 22:24:55 +08:00
李瀚
9baea0d05f fix: filtered word error (#39887)
* fix: filtered word error

* Optimize the code
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
Amumu
6378197996 fix: fix filtered update not working (#39883) 2022-12-31 22:24:55 +08:00
lijianan
dedbbda5f2 type: LiteralUnion optimization (#39871) 2022-12-31 22:24:55 +08:00
lijianan
4f16966e28 refactor[Wave]: CC => FC (#39705)
* fix

* refactor[Wave]: CC => FC

* fix lint

* fix

* fix

* fix

* add test case

* add test case

* fix test

* fix test

* test case

* add test case

* fix

* fix

* fix

* fix

* raname

* fix

* test case

* test case

* test case

* fix test

* test case

* refactor: Use React way

* test: coverage

* chore: clean up

* rerun fail ci

* fix: React 17 error

* test: fix test case

* test: fix test case

* fix borderRadius

* test: fix test case

* chore: clean up

* chore: clean up

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-31 22:24:55 +08:00
黑雨
689feb8a1a style: fix input addon misplace when zoom up (#39842) 2022-12-31 22:24:55 +08:00
kiner-tang(文辉)
45dcbd50f4 fix(table): Sorted/Filtered table fixed column transparent background unreadable (#39012)
* fix: Sorted/Filtered table fixed column transparent background unreadable

* feat: remove redundant code

* Update components/table/style/index.tsx

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

* feat: code optimize

* style: reset format doc

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-31 22:24:55 +08:00
Wibus
c1032f4743 fix: remove useless tsx support (#39853) 2022-12-31 22:24:55 +08:00
kiner-tang(文辉)
e17fe929f0 docs: remove notification.warn(config) (#39852) 2022-12-31 22:24:55 +08:00
二货爱吃白萝卜
6246647b50 fix: Slider Tooltip appear motion not working (#39857)
* fix: use native tooltip

* chore: clean up

* test: Update snapshot

* test: Update snapshot
2022-12-31 22:24:55 +08:00
lijianan
d2d37bda21 fix: fix QRCode style (#39849)
* fix: fix style

* snap

* Update components/qrcode/style/index.ts

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

* rename className

* use token

Co-authored-by: afc163 <afc163@gmail.com>
2022-12-31 22:24:55 +08:00
JiaQi
1fca9cfaf8
feat(List): Added list pagination alignment option (#39858)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2022-12-31 19:18:09 +08:00
kiner-tang(文辉)
78235623c4
feat: tour support custom mask style and fill color (#39919) 2022-12-30 18:38:16 +08:00
Yuki Zhang
4eff22497d
feat: Anchor horizontal (#39372)
* feat: AnchorInk

* feat: update

* feat: update ink

* test: add test

* feat: handle with nested link

* feat: improve

* fix: lint

* feat: get direction from context in AnchorLink

* docs: update demo

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update test cases

* test: update snapshot

* test: update snapshots

* test: update snapshots

* test: update test cases

* test: update test cases

* docs: update

* test: improve

* docs: update demo

* doc: update demos

* doc: update demos again

* feat: use scroll-into-view-if-needed

* fix: hide  scrollbar

* docs: update demos

* fix: active transition for horizontal anchor

* chore: fix terser (#39617)

* chore: fix terser

* chore: clean up

* test: update snapshot

* feat: improve code style

* feat: anchor ink improvement

* feat: improve code style

* fix: lint issue

* test: update snapshots

* docs: simplified the demo

* feat: Merge the AnchorInk component back into the Anchor component

* feat: Adjust DOM order

* test: update snapshots

* docs: Improve the document

* feat: simplify css classnames

* test: update snapshots

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2022-12-27 17:14:35 +08:00
afc163
00655846d7
style: add codeFontFamily for Typography elements (#39823)
* style: add codeFontFamily for Typography elements

* Update components/typography/style/mixins.tsx
2022-12-27 16:43:45 +08:00
github-actions[bot]
b0a5eb3681
chore: auto merge branches (#39844)
chore: merge master into feature
2022-12-27 08:26:57 +00:00
kiner-tang(文辉)
7cb8b79a6a
fix: tree switcher's background display unexpected in dark theme (#39838)
* fix: tree switcher's background display unexpected in drak theme

* fix: tree switcher's background display unexpected in drak theme

* feat: remove demo
2022-12-27 15:52:32 +08:00
Amumu
7329ac7fc7
refactor: remove shallowequal (#39662) 2022-12-27 15:46:51 +08:00
github-actions[bot]
b804aee68d
chore: auto merge branches (#39840)
chore: feature merge master
2022-12-27 07:41:36 +00:00
MadCcc
386588dd2b
chore: update test (#39824)
* chore: update test

* chore: code clean
2022-12-27 11:49:09 +08:00
MadCcc
3a03c7abde
fix: menu slide bar style (#39819) 2022-12-27 10:29:51 +08:00
二货爱吃白萝卜
ff9237064d
fix: Checkbox disabled should support Tooltip (#39829)
* docs: update demo

* test: Update snapshot
2022-12-26 23:35:18 +08:00
JarvisArt
838b08e761
chore: Image preview interactive optimization (#39812) 2022-12-26 16:19:54 +08:00
MadCcc
c1390b20a9
fix: font-family for components (#39806)
* fix: font-family for components

* chore: code clean
2022-12-26 16:08:42 +08:00
MadCcc
663d1454f2
chore: fix ci (#39811)
* chore: fix ci

* chore: code clean

* chore: update form test

* chore: test
2022-12-26 15:48:50 +08:00
lijianan
8180bb983b
docs: use en link in EN_US (#39808) 2022-12-26 11:55:18 +08:00
afc163
e44f11b0f4
style: fix Table filter dropdown broken style (#39805)
close #39799
2022-12-26 11:35:29 +08:00
MadCcc
9fbf80aa8b
type: remove useless internal tag (#39754)
* chore: remove useless internal tag

* docs: add desc
2022-12-26 10:54:53 +08:00
黑雨
74262023ea
docs: update doc (#39753)
* feat: update doc

* feat: update doc

* feat: update doc

* feat: update doc
2022-12-26 10:08:15 +08:00
JarvisArt
a16e2a7bb2
fix: menu inline transition (#39800) 2022-12-25 22:55:47 +08:00
lijianan
fa6c9c15f4
refactor: delete legacy function withConfigConsumer (#39798)
* chore: delete legacy function withConfigConsumer

* fix

* fix
2022-12-25 22:54:56 +08:00
JarvisArt
7be364f3d9
fix: The image preview operation bar is covered during the animation (#39788) 2022-12-25 18:39:19 +08:00
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets (#38779)
* Update package.json

* chore: bump antd-tools

* Update package.json

* fix: browserslist in codesandbox

* chore: upgrade antd tools

* chore: upgrade antd tools

* test: fix Cannot access mockCanUseDom before initialization

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* upgrade @ant-design/tools

* Update package.json

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-25 18:37:57 +08:00
lijianan
7f89d9a7c9
refactor: use React.useContext() replace <ConfigConsumer /> (#39793)
* feat: use React.useContext() replace <ConfigConsumer />

* fix

* fix

* add
2022-12-25 18:34:42 +08:00
sea、lucky
f488cb871b
fix(antd/transfer): transfer performance optimization while dataSourc… (#39465)
* fix(antd/transfer): transfer performance optimization while dataSource is large

* fix(antd/transfer): unified function format of transKeys util file

* fix(antd/transfer): transKeys Map Structure Adjustment
2022-12-25 15:21:21 +08:00
afc163
c7feef28f2 Update render-in-current.md 2022-12-24 16:06:08 +08:00
Wuxh
951e0e2c79
fix(list): fix error reported due to incorrect paginator parameters (#39681)
* fix(list): fix pagination parameter error

* test: add case

* test: update snapshot

* chore: update case

* feat(util): add mergeProps

ref: 3c87f1c5b1/src/utils/with-default-props.tsx (L5)

* chore: replace method

* chore: rename
2022-12-24 15:05:33 +08:00
Chuns Chen
9d671ed939
fix: table expandable row header has no top left border radius (#39781)
* fix: expandable row table header is rendered as td and has no top left border radius #39769

* test: update expandIconColumnIndex
2022-12-24 14:14:07 +08:00
afc163
47c5f3963c
chore: improve table demo (#39733) 2022-12-23 14:39:07 +08:00
Gabriel Schneider
753172b0df
fix(QRCode): improve en_US locale (#39751) 2022-12-23 12:22:47 +08:00
Wuxh
76241f5d0b
chore(tabs): update demo (#39731)
* 做重复了

* Revert "做重复了"

This reverts commit 79c59e79ea66c6592df9dca0e41e10399044ec7a.

* site(theme): demo block supports no inner margin configuration

ref: https://d.umijs.org/guide/write-demo#%E4%B8%8D%E9%9C%80%E8%A6%81%E5%86%85%E8%BE%B9%E8%B7%9D

* docs(tabs): update demo styles

* chore: update style

* test: update snapshot

* Revert "site(theme): demo block supports no inner margin configuration"

This reverts commit ee2ff25796.

* chore: update

* Revert "chore: update"

This reverts commit bbe449cb3f.

* Revert "Revert "site(theme): demo block supports no inner margin configuration""

This reverts commit 5eac19e7f2.

* chore: convert to debug demo

* chore: use emotion

* test: update snapshot
2022-12-23 12:12:24 +08:00
ChenXiao
70115e75c8
update components/space/style/index.tsx, change flex-baseline to baseline (#39748) 2022-12-23 10:47:26 +08:00
kiner-tang(文辉)
b91bab09b2
fix(table): reset aria-label in table column (#39738)
* feat: reset aria-label in table column

* feat: reset aria-label in table column
2022-12-22 20:47:46 +08: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
afc163
0e98cb572c
style: fix Table header radius when has fixed columns (#39723)
close https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574
2022-12-22 16:51:09 +08:00
MadCcc
3307a8b2a8
fix: table border issue (#39729)
* fix: table border issue

* chore: code clean

* docs: update demo

* fix: table borderRadius

* chore: add comment
2022-12-22 16:03:55 +08:00