Commit Graph

499 Commits

Author SHA1 Message Date
二货爱吃白萝卜
1bcb25166b
test: update snapshot (#40328) 2023-01-19 17:14:49 +08:00
Wuxh
0086884179
fix(menu): fix custom expand icon cannot be hidden (#40071)
* test: add case

* fix: fix the error of missing custom icon className

* test: add case

* fix(menu): fix the bug that the custom expand icon is not hidden in collapse mode

* test: update snapshot

* Revert "fix: fix the error of missing custom icon className"

This reverts commit 71c79a3f75.

* test: update case

* fix: fix the error of missing custom icon className
2023-01-07 21:50:09 +08:00
lijianan
d3764fcce3
test: refactor test case demo CC => FC (#40070)
* test: refactor test case demo CC => FC

* add type

* type
2023-01-07 21:15:59 +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
4e45276c4e
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-28 23:20:22 +08:00
二货爱吃白萝卜
809252b431
fix: Slider Tooltip appear motion not working (#39857)
* fix: use native tooltip

* chore: clean up

* test: Update snapshot

* test: Update snapshot
2022-12-28 00:01:45 +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
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
元凛
5912c0d7b2 chore: fix merge 2022-12-19 20:55:33 +08:00
二货爱吃白萝卜
862231d07b
fix: Tabs inkBar in StrictMode (#39653)
* fix: tabs inkBar in StrictMode

* test: update snapshot

* test: update snapshot
2022-12-19 16:56:32 +08:00
MadCcc
a5324e8204 Merge branch 'feature' into feature-merge-master 2022-12-18 14:30:52 +08:00
MadCcc
bd15aaedd6 Merge branch 'master' into feature-merge-master 2022-12-18 14:28:58 +08:00
Chuns Chen
359eaa697b
fix: Table should not warn DefaultProps (#39571)
* fix: Table should not warn DefaultProps

* chore: update table snapshot

* fix: table test fail

* Revert "chore: update table snapshot"

This reverts commit 1afc95b5bda83c109999ff83f505676b4c623202.

* chore: update table snapshot
2022-12-15 20:45:58 +08:00
yoyo837
0424ca14cd Merge branch 'master' into mergeMaster 2022-12-14 17:30:07 +08:00
二货爱吃白萝卜
0fffe06bd9
chore: Select virtual=false will bind to real element for a11y (#39550)
* chore: bump rc-select

* docs: update doc

* test: Update snapshot

* test: Update snapshot
2022-12-14 17:16:13 +08:00
dongfang
bcd32305bb
feat: ConfigProvider support select.showSearch (#39531) 2022-12-14 10:22:17 +08:00
Amumu
d689c7b855
feat: Remove locale-provider (#39373)
* feat: remove locale-provider

* chore: fix lint

* Empty-Commit

* test: remove test

* Revert "test: remove test"

This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.

* chore: 阶段性兼容

* fix lint

* fix: fix lint

* fix: add index

* docs: update docs

* docs: update

* docs: update

* docs: update
2022-12-09 15:04:08 +08:00
MadCcc
7b3adcb5ae
fix: wireframe style for popconfirm (#39313)
* fix: wireframe style for popconfirm

* chore: add demos
2022-12-06 23:14:30 +08:00
afc163
e975e5d41d
chore: update tree snapshot (#39242)
* chore: update tree snapshot

* chore: bump rc-util

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-12-05 11:35:37 +08:00
二货爱吃白萝卜
50377083ba
fix: form missing motion validate (#38962)
* fix: form missing motion validate

* test: Update snapshot
2022-11-24 21:43:35 +08:00
lijianan
0c3ba124b4
fix[BackTop]: delete visible & use visibilityHeight=0 replace visible (#38763)
* type: delete visible & code optimization

* add PureBackTop

* fix: update snap

* fix: cov

* fix: add istanbul ignore

* fix

* feat: use visibilityHeight=0 replace visible=true

* snap

* cov

* test case

* test case

* fix

* fix cov

* fix test

* simplify code

* rename function
2022-11-24 14:59:17 +08:00
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs (#38902)
* refactor: Optimize theme export and add docs

* chore: fix lint

* chore: fix lint

* chore: fix lint
2022-11-23 20:22:38 +08:00
dainli
8907c3910f bugfix(DisabledContextProvider): fix disabled logic (#38886)
* bugfix(DisabledContextProvider): fix disabled logic

* test: add test for ConfigProvider componentDisabled

Co-authored-by: dian.li <dian.li@yunzhanghu.com>
2022-11-23 11:05:06 +08:00
MadCcc
91b25d554e
feat: empty simple in dark theme (#38785)
* feat: empty simple in dark theme

* chore: fix lint

* chore: update snapshot

* chore: update snaot
2022-11-21 17:12:10 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
MadCcc
6848b23169
fix: global icon style (#38617)
* fix: global icon style

* chore: code clean

* feat: icon style in CP

* chore: code clean

* chore: code clean

* chore: support ss

* feat: wrapSSR only if iconPrefixCls does not equal parent

* chore: code clean

* chore: fix lint

* chore: fix lint

* chore: test

* chore: wrap children

* chore: code clean

* chore: fix lint
2022-11-18 09:55:42 +08:00
MadCcc
a77f1aa8fc chore: rename theme separated to inherit 2022-11-17 01:06:33 +08:00
MadCcc
c0de3b2737
feat: theme seperated (#38608)
* feat: theme seperated

* chore: code clean

* chore: update API
2022-11-17 00:22:15 +08:00
二货机器人
ac85fbec6f chore: merge master 2022-11-13 14:33:07 +08:00
lijianan
d52b8c6afb
type: type optimization (#38510) 2022-11-11 18:15:02 +08:00
Dunqing
382b2cacf7
fix(theme): inconsistent results with different algorithm order (#38481)
* fix(theme): inconsistent results with different algorithm order

* fix: revert

* fix: revert

* fix: revert again

* test: update

* fix: lint
2022-11-10 17:18:40 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00
Katsiaryna Pustakhod
cc67f63785
fix: Adds role progressbar to Progress component (#38447)
* Add role to progress component

* Update snapshots
2022-11-09 09:42:10 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
afc163
b154c9c8ae
fix: Pagination simple should support showTotal (#38399)
* fix: Pagination simple should support showTotal

* test: add test case
2022-11-06 15:58:48 +08:00
kiner-tang(文辉)
2dbfbea502
fix(table): fix Table aria-label contains [object Object] (#38389)
* fix: columns title render not as expected

* feat: code optimize

* feat: update test case

* feat: update test case

* feat: code optimize

* Update components/table/__tests__/Table.test.tsx

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

* feat: update aria-label

* feat: update test case

* feat: update snapshots

* feat: update snapshots

Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-11-05 12:44:37 +08:00
MadCcc
9f88c1238a
feat: token update (#38314)
* feat: token update

* chore: update test

* chore: lint

* chore: code clean

* test: update test case

* feat: radius token update

* fix: form size

* chore: fix steps style

* chore: code clean

* chore: update test case
2022-11-01 15:06:38 +08:00
github-actions[bot]
6c6913c367
chore: auto merge branches (#38278)
chore: merge feature into master
2022-10-31 03:22:15 +00:00
Bojack
892ef7e925
fix: The text should read "No data" (#38127) 2022-10-30 21:33:23 +08:00
二货爱吃白萝卜
752d671acb
feat: DatePicker support presets (#38249)
* chore: basic style

* chore: all of token spread

* chore: default presets style

* docs: update presets

* chore: fix style

* chore: fix ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* test: update snapshot

* chore: bump bundle size

* test: update snapshot

* chore: update picker style

* chore: rm useless content
2022-10-28 16:44:19 +08:00
MadCcc
ffc09a2a0d
feat: compact theme (#38105)
* feat: compact theme

* chore: code clean

* chore: code clean

* chore: show dynamic theme in preview

* chore: code clean

* feat: compact algorithm
2022-10-25 17:04:36 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender (#37885) 2022-10-23 00:33:45 +08:00
MadCcc
e382802f76 chore: update snapshot 2022-10-22 13:23:16 +08:00
MadCcc
ca72c10feb Merge branch 'feature' into next-merge-feature 2022-10-22 13:14:19 +08:00
Yuki Zhang
9721ebe331
refactor: use Space.Compact for Dropdown.Button (#38090)
* feat: use Space.Compact for Dropdown.Button

* test: update button demo tests

* test: update config-provider demo tests

* fix: deps-lint-skip for dropdown

* fix: lint issue
2022-10-19 23:36:41 +08:00
MadCcc
659b89d5e6
fix: inherit default config (#38089)
* fix: inherit default config

* test: add test case
2022-10-18 23:18:11 +08:00
MadCcc
0a0f96798d chore: snapshot 2022-10-14 12:11:43 +08:00
MadCcc
2471bf88aa test: fix test 2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00