Commit Graph

17618 Commits

Author SHA1 Message Date
afc163
cf12fb19d1
docs: enable toc to all docs (#48424) 2024-04-13 21:40:07 +08:00
kiner-tang
d1df8e54cc
refactor: Use constant instead of enum to reduce package size (#48406)
* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-04-12 16:28:06 +08:00
Chua Kiem Fai
646b960d1a
docs: update slider tooltip props document (#48410)
Signed-off-by: Chua Kiem Fai <kievechua@gmail.com>
2024-04-12 11:49:27 +08:00
thinkasany
c648fd1513
docs(demo): Convert to lowercase (#48415) 2024-04-12 11:45:25 +08:00
lijianan
82a7d596fd
docs: update href link (#48404) 2024-04-11 17:50:53 +08:00
二货爱吃白萝卜
4216003c1b
fix: OTP with controlled of '' not working (#48399)
* test: test driven

* fix: controlled logic
2024-04-11 15:24:18 +08:00
LiveTembiso
f460b48e8f
docs: Fixed typo (#48393)
Signed-off-by: LiveTembiso <livetembiso0@gmail.com>
2024-04-11 12:09:37 +08:00
lijianan
dd6cb6c120
test: update snap (#48382) 2024-04-10 19:50:45 +08:00
二货爱吃白萝卜
ce9353153e
fix: Upload has empty space (#48370)
* fix: empty space

* chore: clean up
2024-04-10 14:51:44 +08:00
lijianan
d82f65468d
chore(deps-dev): bump the dev-dependencies group with 7 updates (#48361) 2024-04-09 23:04:22 +08:00
lijianan
25a1849af9
demo: rm useless Tag margin-right (#48356)
* site: rm useless Tag margin-right

* chore: revert
2024-04-09 21:35:31 +08:00
二货爱吃白萝卜
089514bae9
fix: week selection not have hover style (#48355) 2024-04-09 21:34:49 +08:00
lijianan
854cdb4352
type: optimize CompoundedComponent type (#48346)
* type: optimize CompoundedComponent type

* chore: fix

* type: fix type

* chore: fix

* type: fix type

* type: add ts-ignore

* fix: fix

* chore: revert
2024-04-09 16:49:47 +08:00
二货爱吃白萝卜
44cd5342f7
fix: Typography dynamic of copyable & eidtable (#48350)
* fix: editable should show

* test: test driven

* fix: copyable of render
2024-04-09 12:01:46 +08:00
二货爱吃白萝卜
727aa2d030
fix: Typography copyable not sync (#48347)
* test: test driven

* fix: copy of stable
2024-04-09 11:00:52 +08:00
二货爱吃白萝卜
61c8a439fc
fix: typography expanded should not break lines (#48340) 2024-04-08 23:00:25 +08:00
二货爱吃白萝卜
8fc4fa06c8
fix: Steps with process style in compact theme (#48251)
* fix: use css var for calc

* fix: tail align

* Update components/steps/style/index.ts

Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>

* test: update snapshot

* chore: fix lint

* chore: adjust style

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 红 <wxh1220@gmail.com>
2024-04-08 15:53:45 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
afc163
b63a94108f
demo: fix linear gradient button demo and remove debug flag (#48320)
* demo: fix linear gradient button demo and remove debug flag

* fix active colors
2024-04-07 19:14:56 +08:00
afc163
c5a02b2f83
docs: update info title (#48318) 2024-04-07 17:02:59 +08:00
lijianan
52df99f9bf
refactor: use css token (#48311)
* refactor: use css token

* style: update
2024-04-07 15:36:38 +08:00
lijianan
2386fa69e7
refactor: use css token (#48312) 2024-04-07 15:19:16 +08:00
winches
392f1f1471
docs(radio): comsummate radio group options type (#48168)
* docs(radio): comsummate radio group options type

* docs: optimize
2024-04-07 10:19:59 +08:00
kiner-tang
80af2a65ed
docs: Added ways to use bun installation dependencies (#48289)
* docs: add bun

* docs: add bun

* docs: add bun

* docs: add bun
2024-04-05 18:27:10 +08:00
Cooper
db822fd74e
demo: Upload demo add margin (#48268)
* fix: Upload add demo marigin

* use Flex and update Snap

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-04-05 15:13:49 +08:00
kiner-tang
ea67f49f31
docs: optimize docs (#48284) 2024-04-05 14:02:34 +08:00
kiner-tang
7724e51068
docs: opt docs about tabs (#48280) 2024-04-05 11:04:03 +08:00
kiner-tang
acfeb94f50
docs: Refine documentation on onClose event object types (#48279) 2024-04-05 11:03:38 +08:00
Cooper
9cea438930
docs: Translate the untranslated Chinese in an English document (#48266) 2024-04-04 17:33:58 +08:00
afc163
c0d2282db4
chore: update mocky.io to mockapi.io (#48252) 2024-04-03 23:37:22 +08:00
daisy
c152c58116
docs: update table faq (#48245) 2024-04-03 18:11:00 +08:00
afc163
88d40e2750
demo: fix Input demo icon color (#48207) 2024-04-02 17:46:39 +08:00
lijianan
570c1be492
site: add component version to meta (#48226)
* site: add component version to meta

* Update .dumi/theme/builtins/ComponentMeta/index.tsx

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 16:33:57 +08:00
二货爱吃白萝卜
7e6678aa51
enhance: ssr ellipsis effect (#48205)
* enhance: ssr ellipsis effect

* test: update snapshot

* chore: fix lint
2024-04-02 14:50:46 +08:00
lijianan
0a79a79bc7
docs: update sidebar style of website (#48224)
* docs: update GetRef/GetProp/GetProps docs

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2024-04-02 14:05:03 +08:00
dependabot[bot]
c78f61d1b8
chore(deps): bump the dependencies group with 1 update (#48214)
* chore(deps): bump the dependencies group with 1 update

Updates the requirements on [@ant-design/react-slick](https://github.com/ant-design/react-slick) to permit the latest version.

Updates `@ant-design/react-slick` to 1.1.2
- [Release notes](https://github.com/ant-design/react-slick/releases)
- [Changelog](https://github.com/ant-design/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ant-design/react-slick/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: "@ant-design/react-slick"
  dependency-type: direct:production
  dependency-group: dependencies
...

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

* test: update snapshot

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-02 10:01:32 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
叶枫
ff231ab557
demo: remove optionLabelProp (#48186)
* feat: remove optioLabelProp

* feat: doc

* feat: doc

* feat: option-render

* feat: option-render

* feat: snap
2024-04-01 11:09:23 +08:00
LingJinT
15553f54a3
test: update table.filter test case (#48202)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

* fix: update table.filter test case

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-01 10:46:05 +08:00
LonelySnowman
e665894e3a
fix: float button render hover color correctly (#48198) 2024-04-01 10:11:11 +08:00
MadCcc
7b280d307b
chore: bump rc-table to v7.45.0 (#48190)
* chore: bump rc-table to v7.45.0

* feat: 补充类型

* feat: 补充类型

---------

Co-authored-by: 叶枫 <645381995@qq.com>
2024-03-31 16:04:36 +08:00
MadCcc
5384a97f37
Merge pull request #48189 from ant-design/feature
chore: merge feature into master
2024-03-31 13:55:04 +08:00
kiner-tang
506753c3ef
feat: Tag support aria-* in closable (#47678)
* feat: Tag support aria-* in closable

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* refactor: useClosable

* chore: modal

* fix: check logic

* chore: clean up

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-03-31 11:56:55 +08:00
momesana
18f9be6a6e
fix: vertically center icons in icon-only buttons (#48178)
Co-authored-by: Mehdi Salem <mehdi.salem@qt.io>
2024-03-30 22:14:34 +08:00
afc163
663004b426
fix: confirm content not centered when no icon (#48173)
* fix: confirm content not centered when no icon

* chore: add comment
2024-03-30 22:12:52 +08:00
lijianan
1b36fd22e5
Merge pull request #48172 from ant-design/master
chore: merge master into feature
2024-03-29 20:10:12 +08:00
章鱼怪
fe83792754
feat: Table add rowHoverable to disable hover interaction (#48112) 2024-03-29 15:29:49 +08:00
叶枫
8cc1d30351
feat: copy support async (#48123)
* feat: copy support async

* feat: add test

* feat: doc

* feat: snap

* feat: add loading

* feat: 恢复 try

* feat: 判断是否是 Error

* feat: throw error

* feat: 为了醋包了饺子

* feat: remove code

* feat: add loading test

* fix: test

* fix: icon import way

* chore: improve test case code

* chore: improve test case code

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:20:02 +08:00
LingJinT
5a9dca2ae7
fix: Fixed the problem that internationalization of table columns fails when searching (#48126)
* fix: 表格列在搜索情况下,国际化失效 #48110

* Update components/table/hooks/useFilter/FilterDropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>

* fix: 补充测试用例

---------

Signed-off-by: LingJinT <63446949+LingJinT@users.noreply.github.com>
Co-authored-by: l2015 <lingjt@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-03-29 13:19:52 +08:00
Cooper
595e600813
fix: Upload remove margin using flex display (#48091)
* fix: remove upload margin with flex

* fix

* use support not

* fix
2024-03-29 10:21:30 +08:00