Commit Graph

25418 Commits

Author SHA1 Message Date
Zack Chang
e74661f509
refactor: resolve circular reference of Checkbox (#42803)
* refactor: resolve circular reference of Checkbox

* chore: add export
2023-06-25 12:18:34 +08:00
Zack Chang
7dc74b1da9
refactor: solve circular reference of Table (#42813)
* refactor: solve circular reference of Table

* Update index.tsx

* chore: add export
2023-06-25 12:17:44 +08:00
Zack Chang
875a221c62
refactor: solve circular reference of Description (#42812)
* refactor: solve circular reference of Description

* refactor: solve circular reference of Table

* Revert "refactor: solve circular reference of Table"

This reverts commit 7664b01645.

* chore: add export
2023-06-25 12:10:31 +08:00
lijianan
6889af430f
feat: CP support Steps className and style (#43073)
* feat: CP support Steps className and style

* fix lint

* fix: remove useMemo

* docs: update docs

* Update index.tsx

* fix
2023-06-25 11:42:31 +08:00
MadCcc
2f1ef80d14
fix: Textarea should not have height: auto when window resized (#43169)
* fix: Textarea border should always with textarea element

* fix: Textarea should not resize when window resized

* chore: code clean
2023-06-25 11:40:41 +08:00
Zack Chang
f2d5dad8e0
refactor: solve circular reference of DatePicker (#42809)
* refactor: resolve circular reference of DataPicker

* Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker"

This reverts commit 852394c198, reversing
changes made to d661c7b009.

* Revert "Revert "Merge remote-tracking branch 'origin/feature' into fix/datePicker""

This reverts commit 1471235e67.

* Update SiteThemeProvider.tsx

fix lint

* Update useMenu.tsx

fix lint

* Update component-token.tsx

fix lint

* Update index.ts

fix lint

* Update index.test.tsx

fix lint

* Update list.ts

fix lint

* Update index.ts

fix lint

* Update component-token.tsx

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* Update index.zh-CN.md

fix lint

* fix: update getTimeProps fn
2023-06-25 10:16:02 +08:00
Zack Chang
5827f9ddef
refactor: resolve useSize circular reference (#42810) 2023-06-25 10:14:41 +08:00
lijianan
36a5392f99
feat: CP support Segmented className and style (#43072)
* feat: CP support Segmented className and style

* fix: remove useMemo

* docs: update docs

* update docs
2023-06-25 09:32:53 +08:00
daisy
ab0103f33a
feat(Image): imageRender、toolbarRender、onTransform、items、minScale、max… (#43075)
* feat(Image): imageRender、toolbarRender、onTransform、items、minScale、maxScale

* test: update snapshots

* demo: revokeObjectURL url

* docs: update

* docs: update

* docs: update

* fix: revert style

* docs: update md
2023-06-21 19:58:28 +08:00
红果汁
326de2dc05
feat: ColorPicker implement size API (#43116)
* feat: add size prop

* test: add test case

* docs: update doc

* fix: style issue

* docs: add text size demo

* test: update snapshots
2023-06-21 11:30:09 +08:00
lijianan
b8f2b2165d
feat: CP support Spin className and style (#43071)
* feat: CP support Spin className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* fix

* fix
2023-06-20 19:34:45 +08:00
lijianan
5c32480f6f
feat: CP support Typography className and style (#43070)
* feat: CP support Typography className and style

* fix: remove useMemo

* docs: update docs

* fix

* fix

* docs: update docs
2023-06-20 14:35:05 +08:00
kiner-tang(文辉)
f93d5c8ba7
refactor(Tag): refactor closeIcon (#43109)
* refactor: refactor closeIcon

* feat: optimize code

* feat: optimize code
2023-06-20 13:42:55 +08:00
kiner-tang(文辉)
4ad5cbff66
docs: update docs about tabs (#43110) 2023-06-20 11:13:12 +08:00
kiner-tang(文辉)
18ffb0099c
refactor: refactor closeIcon (#43098) 2023-06-19 20:14:21 +08:00
muxin
785115c580
feat: config-provider support divider className and style properties (#43042)
* feat: config-provider support divider className and style properties

* fix: simple ts definition

* fix: merge style & className

* fix: fix space className

* feat: optimize type definition

* feat: optimize type definition

* feat: add version

* test: update test

* test: update test

* fix: fix type

* fix: fix api sort

* fix: fix docs

* docs: add another api table

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:30:16 +08:00
红果汁
1fb8fc57d3
feat: ColorPicker implement showText API (#42865)
* feat: color-picker support showValue api

* Update components/color-picker/index.en-US.md

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

* docs: add version column

* test: fix test coverage

* feat: replace showValue with textRender

* Update components/color-picker/components/ColorTrigger.tsx

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

* fix: style issue

* feat: add showText prop and optimization code

* fix: lint issue

* test: fix coverage

* refactor: combine showText and textRender

* fix: lint issue

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-19 19:29:39 +08:00
daisy
2c20dcd4cc
feat(ColorPicker): add destroyTooltipOnHide (#42645)
* feat(ColorPicker): add destroyTooltipOnHide

* fix: interface -> type
2023-06-19 14:28:11 +08:00
Danial Soheili
4af6a526e2
feat(Anchor): allow replacing in anchor (#43006)
* 📦 ADD: replace prop to Anchor

* 📖 DOC: add demo

* 🧪 TEST: snapshots

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

* 🧪 TEST: Anchor replace

* 🧪 TEST: Anchor with href

* 🗑 REMOVE: unnecessary href default value

* Update components/anchor/demo/replace.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

* Update components/anchor/demo/replace.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-06-18 18:55:36 +08:00
kiner-tang(文辉)
378b54281b
refactor(Modal): refactor closeIcon (#43017)
* refactor: refactor closeIcon

* docs: update docs

* refactor(Drawer): refactor drawer closeIcon (#42993)

* feat: optimize closeIcon

* refactor: refactor closeIcon

* docs: update docs

* feat: optimize code

* feat: update test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* docs: update docs

*  feat: migrate less to token for Slider (#42428)

*  feat: migrate less to token for Slider

*  feat: update snap

*  feat: update style

*  feat: update style

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: 删除未使用token

*  feat: update doc

*  feat: update dome

*  feat: update

*  feat: test ci

* 📝 doc: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add demo

*  feat: add demo

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

* Apply suggestions from code review

---------

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* docs: update docs

---------

Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-16 15:36:28 +08:00
黑雨
4ae0d6bcf5
feat: migrate less to token for Slider (#42428)
*  feat: migrate less to token for Slider

*  feat: update snap

*  feat: update style

*  feat: update style

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: test ci

*  feat: update

*  feat: update snap

*  feat: update

*  feat: update

*  feat: 删除未使用token

*  feat: update doc

*  feat: update dome

*  feat: update

*  feat: test ci

* 📝 doc: update doc

*  feat: update

*  feat: update

*  feat: update

*  feat: update

*  feat: add demo

*  feat: add demo

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

*  feat: update for reviewer

* Apply suggestions from code review

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-15 10:22:17 +08:00
kiner-tang(文辉)
cf961b2c8c
refactor(Drawer): refactor drawer closeIcon (#42993)
* feat: optimize closeIcon

* refactor: refactor closeIcon

* docs: update docs

* feat: optimize code

* feat: update test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* docs: update docs
2023-06-14 22:37:00 +08:00
muxin
5d62e636a1
refactor: rc-input-number refactored with baseInput (#42762) (#43000)
* refactor: refactor with BaseInput

* chore: bump rc-mentions & rc-textarea

* test: update snapshots

* test: update snapshots

* chore: bump rc-input

* fix: bump rc-input

* test: update snapshot

* test: update snapshot penta

* test: update snapshot

* fix: optimize function props

* test: update test

* test: update test

* test: update test

* fix: delete useless className

* feat: let baseInput cal class

* chore: bump rc-input-number

* test: update test

* Revert "test: update test"

This reverts commit a44b35a744.

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump rc-input-number

* chore: bump rc-input-number & rc-mentions

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-14 11:28:40 +08:00
kiner-tang(文辉)
827ada2da6
refactor(Alert): refactor closeIcon (#42962)
* refactor: refactor closeIcon

* feat: update test case

* feat: optimize code

* feat: remove demo about closeText

* feat: remove demo about closeText

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-06-13 14:38:18 +08:00
github-actions[bot]
d8f06c4779
chore: auto merge branches (#42975)
chore: merge master into feature
2023-06-12 11:21:03 +00:00
未觉雨声
46c67ab607
docs: fix InstallDependencies logo logical margin (#42970) 2023-06-12 17:59:33 +08:00
lijianan
348d835f8a
docs: update site use-with-typescript (#42905)
* docs: update use-with-typescript

* update

* add img
2023-06-12 17:50:57 +08:00
dingkang
9459cbfaf8
add FloatBotton component open api description and demo (#42835)
* docs: FloatBotton open 属性说明

* test: update snapshots

* demo: add controlled demo

* demo: update demo

* feat: add warning

* feat: update warning

* demo: update controlled demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-12 17:20:55 +08:00
lijianan
b8eef9d1b2
docs: update site use-with-create-react-app (#42904)
* docs: update use-with-create-react-app

* update
2023-06-12 16:45:59 +08:00
lijianan
05b8436c05
docs: update site use-with-next (#42903)
* docs: update use-with-next

* update

* update
2023-06-12 16:42:06 +08:00
lijianan
81c26096be
docs: update site use-with-vite (#42906)
* docs: update use-with-vite

* update

* fix
2023-06-12 15:44:44 +08:00
kiner-tang(文辉)
7d16256d7b
refactor(Notification): notification support hidden close button when closeIcon setting to null or false (#42927)
* feat: notification support hidden close button when closeIcon setting to null or false

* feat: reset prettier format
2023-06-12 14:20:10 +08:00
kiner-tang(文辉)
f0a94139e7
fix(Button): button's children should be disabled when button is disabled (#42949)
* fix: button's children should be disabled when button is disabled

* feat: update test case

* feat: update test case
2023-06-12 10:22:32 +08:00
Leon Lin
0e520f730a
docs: update spec/lightweight (#42952) 2023-06-12 10:17:17 +08:00
muxin
e3110e5458
refactor: refactor color picker circluar dependency (#42843)
* refactor: fix color-picker circluar dependency

* fix: fix import path
2023-06-12 10:11:17 +08:00
kiner-tang(文辉)
e119236b94
docs: fix design documentation style (#42954)
* feat: optimize size layout

* feat: optimize site layout

* feat: optimize site layout
2023-06-12 10:03:28 +08:00
kiner-tang(文辉)
66017c9f1a
docs: fix design documentation style (#42956) 2023-06-12 10:03:10 +08:00
ZiJason
b3c13cad0b
docs: update data-format.zh-CN.md (#42951) 2023-06-11 19:35:06 +08:00
Amir M. Mohamadi
486e326a07
fix(Drawer): add max width to prevent width overflow for small screens (#42914)
* fix(Drawer): add max width to prevent width overflow for small screens

* feat(Drawer): content max width `vw` instead of percent

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-09 18:21:55 +08:00
kiner-tang(文辉)
fddd84c0bd
fix(site): solve drawer open delay in safari issue (#42922)
* fix: solve drawer open delay in safari issue

* feat: update comment

* feat: reset debug code

* feat: optimize code

* feat: optimize code
2023-06-09 18:20:53 +08:00
github-actions[bot]
f066df8dc7
chore: auto merge branches (#42932)
chore: merge master into feature
2023-06-09 08:57:50 +00:00
kiner-tang(文辉)
0ac59d42d8
feat: optimize select type (#42935) 2023-06-09 16:29:52 +08:00
lijianan
5c83da5f36
test: add codecov for fix CI fail (#42909)
* test: add codecov fix CI fail

* test: add test case

* test: remove test case
2023-06-09 15:44:25 +08:00
lijianan
795002bb0e
chore: fix typo (#42884)
* site: add docs Use in vite

* fix

* update

* Update docs/react/use-with-remix.zh-CN.md

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

* Update docs/react/use-with-next.zh-CN.md

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

* reanme

* update

* update

* update

* update

* chore: fix typo

* update

* update

* fix

* Update use-with-create-react-app.en-US.md

* Update use-with-create-react-app.zh-CN.md

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-06-08 17:20:22 +08:00
afc163
dae8cc279d
Delete pr-stat.yml (#42918) 2023-06-08 12:02:26 +08:00
Vetin
87ee19e698
type(menu): replace component interface with type #42907 (#42908)
Co-authored-by: Egor Miasniankin <egormyasnyankin@gmail.com>
2023-06-08 00:47:36 +08:00
linxianxi
f801318868
fix(Table): preserveSelectedRowKeys should work when checkStrictly is false (#42784)
* fix(Table): preserveSelectedRowKeys should work when checkStrictly is false

* fix: 修改

* fix: use Set instead of Map
2023-06-07 23:01:09 +08:00
47f30ee266
fix: transfer error when reset data in some cases (#42785)
* fix: transfer error when reset data in some cases

* fix: lint

* fix: error

* DX: improvement

* fix: code style

* fix: code style

* chore: update grammar

* chore: update

* chore: update

* refactor: keys sync logic

* chore: clean up

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-07 22:54:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
MadCcc
80264a7aa5 chore: disable vitest threads 2023-06-07 21:18:16 +08:00