Commit Graph

667 Commits

Author SHA1 Message Date
lijianan
ed94e03705
docs: update docs (#40902) 2023-02-24 14:19:40 +08:00
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift (#40632)
* chore: adjust doc

* chore: simplify arrow offset

* chore: auto adjust shift

* docs: adjust demo

* chore: update snapshot

* chore: provide ref

* test: prepare

* chore: update deps

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: fix part test

* test: update snapshot

* fix: missing pure render

* fix: Popover pure panel

* test: update snapshot

* test: update tour snapshot

* chore: bump trigger ver

* test: fix render ssr logic

* test: skip unnecessary case

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: fix test case

* chore: clean up useless warning

* test: add check for placement

* chore: ignore default
2023-02-15 10:21:28 +08:00
MadCcc
40e77c40d3
docs: overview dark cover (#40666)
* docs: add dark overview

* docs: show dark cover in dark theme

* docs: update cover
2023-02-09 22:17:31 +08:00
MadCcc
8e5c31413a Merge branch 'master' into feature-merge-master 2023-02-06 10:56:07 +08:00
MadCcc
12596a06f2
fix: optimize arrow style (#40521)
* perf: optimize arrow style

* chore: code clean

* chore: code clean
2023-02-03 14:36:46 +08:00
二货机器人
b02b7aeadb chore: merge master 2023-01-31 10:21:17 +08:00
afc163
467741f558
fix: Dropdown submenu wrong position (#40349) 2023-01-21 12:35:52 +08:00
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName (#40217)
* chore: init test

* test: rootClassName inject

* test: part of test

* chore: patch qrcode rootCls

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* test: more test

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* test: more test

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: part rootClassName

* chore: fix lint

* chore: fix lint

* chore: ignore part of lint

* test: update snapshot

* test: fix test case

* chore: fix node test

* chore: adjust render logic

* fix: test

* test: update snapshot

* test: update

* refactor

* chore: fix require module logic
2023-01-20 11:03:50 +08:00
MadCcc
40944a1c02
perf: only one parent selector in style (#40325)
* chore: add parent selector

* chore: update lint script

* chore: code clean

* perf: style

* chore: remove demo test cssinjs

* fix: input group
2023-01-20 10:31:27 +08:00
二货机器人
56f76c79ec chore: feature merge master 2023-01-19 17:21:02 +08:00
二货爱吃白萝卜
1bcb25166b
test: update snapshot (#40328) 2023-01-19 17:14:49 +08:00
kiner-tang(文辉)
8b3868ac63
feat(tooltip): tooltip support arrow prop (#40234)
* feat: tooltip support arrow props

* docs: update docs

* chore: update rc-tooltip version

* feat: update snapshots

* feat: update snapshots

* style: format code

* Update components/tooltip/index.tsx

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

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

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

* Update components/tooltip/demo/arrow.md

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

* Update components/tooltip/demo/arrow.md

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

* feat: code optimize

* docs: update docs

* feat: code optimize

* feat: del doc

* feat: update snapshots

* feat: update snapshots

* feat: update snapshots

* feat: refactor dropdown arrow style

* feat: comment

* Update components/tooltip/demo/arrow.tsx

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

* feat: popover support arrow prop

* feat: tour arrow style optimize

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: update test case

* feat: update test case

* feat: update test case

* Update components/popover/index.tsx

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

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

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

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

Co-authored-by: MadCcc <1075746765@qq.com>
2023-01-19 11:21:05 +08:00
二货爱吃白萝卜
92203acc33
Merge pull request #40195 from ant-design/master
chore: feature merge master
2023-01-13 00:01:15 +08:00
Muhammad Sohaib Raza
5191b85b96
refactor: button (#40077)
* fix: type updated from any, and comments removed #15930

* refactor: removed unnecessary comments, created helper for button

* fix: cleanupTimer

* fix: import fixed

* Update components/button/button.tsx

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

* Update components/dropdown/dropdown-button.tsx

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

Co-authored-by: afc163 <afc163@gmail.com>
2023-01-11 10:32:05 +08:00
github-actions[bot]
2d58e1843a
chore: auto merge branches (#40107)
chore: feature merge master
2023-01-09 09:53:07 +00:00
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
github-actions[bot]
73d0a9bc30
chore: auto merge branches (#40086)
chore: feature merge master
2023-01-08 04:41:22 +00: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
dongfang
0dc7815599
fix: missing css code in demo code preview (#39471)
* fix: missing demo style in windows

* fix: missing css code in demo preview

* fix: change TabPane to tabs items

* fix: change cn why-open url
2023-01-06 12:36:43 +08:00
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
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
JarvisArt
8d7e17a11c chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-31 22:24:55 +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
lijianan
9aec72c395
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-29 18:33:13 +08:00
JarvisArt
fbeddb572e
chore: dropdown context-menu demo supports dark mode (#39859) 2022-12-29 14:25:57 +08:00
github-actions[bot]
b804aee68d
chore: auto merge branches (#39840)
chore: feature merge master
2022-12-27 07:41:36 +00: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
Peach
6236e356b5
docs: update all site anchors (#39687)
* docs: update all site anchors

* docs: handle hash change from Link component
2022-12-22 14:12:26 +08:00
JarvisArt
1ce7d3a13d
fix: Optimize the custom-dropdown demo style (#39626)
* fix: Optimize the custom-dropdown demo style

* chore: Using the token variable
2022-12-19 14:10:20 +08:00
lijianan
120db80c25
type: Button type optimization (#39533)
* type: type optimization

* fix type

* fix type

* fix type

* update docs
2022-12-15 17:48:29 +08:00
Amumu
ca5b9a6ae0
docs: CN it. (#39519) 2022-12-13 15:49:05 +08:00
lijianan
12543277b7
type: remove tuple、tupleNum、ElementOf (#39478)
* type: remove tuple

* type: remove tuple

* type: remove tuple

* fix

* fix

* fix type

* fix type

* fix type

* fix type

* fix type

* Update ColorPicker.tsx

* Update components/badge/utils.tsx

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

* fix type

* fix type

* fix type

* fix

* fix

* fix type

* fix type

* fix type

* update snap

* update snap

Co-authored-by: MadCcc <1075746765@qq.com>
2022-12-13 14:57:40 +08:00
huangkairan
8cb46243fd
docs: remove v3 to v4 migration docs (#39290)
* docs: remove v3 to v4 migration docs

* update

Co-authored-by: huangkairan <wb-hkr877030@alibaba-inc.com>
2022-12-06 20:11:22 +08:00
二货爱吃白萝卜
fe60528e84
fix: Dropdown sub-menu missing motion (#39235)
* chore: fix dropdown motion miss

* fix: dropdown missing motion & site check
2022-12-04 13:22:57 +08:00
Dave
337703d550
refactor(type): replace interface with type for export component (#39060) 2022-12-01 14:33:51 +08:00
MadCcc
e7edfa42d7
docs: update overview img (#38946)
* docs: update overview img

* chore: code clean

* chore: code clean

* chore: update

* chore: code clean
2022-11-30 20:14:41 +08:00
lijianan
4efa3b2896
test: console.error should nullable in Console (#39050) 2022-11-28 14:19:25 +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
Yuki Zhang
0b54a18afe
fix: context issues for Space.Compact (#38870)
* fix: context issues for Space.Compact

* test: update snapshots
2022-11-22 22:52:40 +08:00
章鱼怪
ee3b94fcfc
fix: Dropdown.Button's dropdownRender is not executed (#38862) 2022-11-22 20:33:10 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
MadCcc
0162d2e2d8
feat: change transiton to mid duration (#38648) 2022-11-17 23:31:41 +08:00
afc163
e027cbec1c
docs: format all markdown (#38629)
* chore: add prettier-ignore in markdown demo

* docs: format markdown api table

* docs: format markdown api table
2022-11-17 17:31:26 +08:00
MadCcc
ab4bcc4463 Merge branch 'master' into next-merge-master 2022-11-17 14:04:31 +08:00
MadCcc
fab90b09f4
docs: fix site issue (#38552)
* docs: put an example loading component

* fix: site issue

* fix: site issue

* feat: add loading

* feat: alert

* docs: rm ReactDOM.render in md

* docs: use style tag

* chore: update snapshot

* Revert "docs: use style tag"

This reverts commit 1f75a99f8c.

* docs: update demo

* chore: update demo

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2022-11-15 22:55:01 +08:00
lijianan
5ef12dfaa5
chore: fix typo (#38568) 2022-11-15 15:51:34 +08:00
二货机器人
ac85fbec6f chore: merge master 2022-11-13 14:33:07 +08:00
lijianan
d292257e47
chore: type optimization (#38460) 2022-11-09 17:36:49 +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
lijianan
b36f013e2a
test: add mockRestore to fix incorrect test case (#38454) 2022-11-09 11:55:11 +08:00
lijianan
fe9ac7b936
fix: incorrect warning (#38446) 2022-11-09 09:46:27 +08:00
二货机器人
3bc6bbd6d9 chore: fix ts def 2022-11-07 23:51:56 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00
黑雨
b0850139f2
[new component] Next tour (#37867)
* feat: init

* feat: update

* feat: upate

* feat: update

* feat: update

* feat: init

* feat: init

* feat: init

* feat: update

* feat: update

* feat: update

* feat: update rc-tour

* feat: init component

* feat: init component

* chore: update pck

* doc: update doc

* doc: update reviewer

* doc: update reviewer

* doc: update reviewer

* feat: update reviewer

* feat: update reviewer

* feat: update doc

* feat: update deme

* feat: update demo doc

* feat: update demo

* feat: update demo

* feat: update style

* feat: update dom & style

* feat: update dome

* feat: update dome

* docs: update demo

* feat: update doc

* feat: update dome

* feat: add locale

* doc: update locale

* doc: add test

* feat: add test case

* feat: add test case

* feat: update package

* feat: update ts

* feat: update ts

* feat: update snapshots

* feat: update demo

* feat: update demo

* feat: update demo

* feat: edit maxSize

* feat: edit maxSize

* feat: update lint

* feat: update lint

* feat: update style reviewer

* feat: update style

* feat: merge next

* feat: add locale

* feat: reset bundleSize

* feat: change maxSize

* feat: update test coverage

* feat: update test coverage

* feat: add type

* chore: simplify en locale

* feat: update

* feat: update test snap

* docs: demo update

* chore: adjust style

* chore: adjust style

* chore: bump rc-tour

* Update package.json

* feat: update package

* feat: update package

* feat: update cover

* docs: update api

* docs: update overview snap

* feat: update token

* feat: delete repeat ts

* feat: remove finishButtonProps

* chore: update demo

* feat: tour style

* test: fix lint

* chore: code clean

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-11-02 16:25:28 +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
JarvisArt
4522340700
docs: fix the steps docs layout (#38277)
* docs: update dropdown wrong word

* docs: update breadcrumb wrong word
2022-10-30 17:17:47 +08:00
MadCcc
242b1713f5 Merge branch 'master' into next-merge-master 2022-10-26 14:56:44 +08:00
JarvisArt
a41e14dfaf
feat: Dropdown support menu and dropdownRender (#37885) 2022-10-23 00:33:45 +08:00
二货机器人
94b688ff8c chore: feature merge master 2022-10-22 22:53:41 +08:00
MadCcc
ca72c10feb Merge branch 'feature' into next-merge-feature 2022-10-22 13:14:19 +08:00
hms181231
30d2a24898
test: Update Dropdown test case (#38144) 2022-10-21 15:07:44 +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
4490d9dbdc Merge branch 'master' into next-merge-master 2022-10-14 11:35:18 +08:00
Hencky
1d89a9b2e6
docs: fix Dropdown.Button default placement (#37971) 2022-10-12 19:28:47 +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
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
lijianan
ddaead6777
fix: delete defaultprops (#37822)
* fix: delete defaultprops

* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
Zheeeng
49206a53c5
chore: prefer using @internal annotation over other markups (#37816) 2022-09-30 14:26:41 +08:00
lijianan
3588ae82c1
type: strong type (#37805) 2022-09-30 09:49:28 +08:00
MadCcc
415c22bc8c
refactor: menu theme style (#37640) 2022-09-19 22:17:26 +08:00
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure (#37624)
* fix: PurePanel width measure

* test: Update snapshot
2022-09-19 11:37:44 +08:00
MadCcc
7a73035f82 chore: fix snapshot 2022-09-14 14:29:05 +08:00
MadCcc
d1be33f224 Merge branch 'master' into next-merge-master 2022-09-14 10:31:17 +08:00
MadCcc
83447e5b2c
feat: arrow offset (#37527)
* feat: arrow margin

* feat: dropdown arrow offset

* chore: code clean
2022-09-13 17:07:16 +08:00
MadCcc
0a0f0e8a41
feat: v5 dropdown style (#37491)
* feat: v5 dropdown style

* feat: TimePicer item radius
2022-09-09 17:47:17 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
MadCcc
8e328d0ae2
feat: focus outline (#37483)
* feat: focus outline

* feat: add tree focus
2022-09-09 10:53:03 +08:00
MadCcc
229d0d81b7
feat: v5 hover (#37433)
* feat: v5 hover

* feat: breadcrumb margin

* feat: badge hover

* feat: v5 error

* fix: badge ribbon corner
2022-09-07 12:00:00 +08:00
二货机器人
1cad665d15 chore: merge master 2022-09-07 10:35:16 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this (#37422)
* chore: tags deprecated support

* chore: Slider Tooltip test

* chore: Table dropdown visible legacy

* chore: drawer warning of legacy

* chore: Modal legacy prop

* chore: dropdown open legacy prop

* chore: Tooltiop visible legacy info

* fix: format logic

* test: Update test for 18

* chore: fix lint
2022-09-06 21:46:49 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open (#37420) 2022-09-06 14:03:39 +08:00
MadCcc
5174024561 test: fix test 2022-09-05 22:02:23 +08:00
MadCcc
d5c17a9a7c Merge branch 'master' into next-merge-master 2022-09-05 21:26:04 +08:00
yykoypj
bcb0b4dff1
feat: switch visible to open for Dropdown (#37232)
* feat: switch visible to open for Dropdown

* fix: merge state

* fix: props pass

* test: fix coverage
2022-09-02 17:22:23 +08:00
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary (#37254)
* feat: v5 shadow

* chore: color lint

* test: fix test case
2022-08-26 16:05:16 +08:00
MadCcc
e3a2c68236
feat: better round arrow (#37236) 2022-08-25 19:39:26 +08:00
yykoypj
41a8003241
feat: switch visible to open for Dropdown (#36799)
* feat: switch visible to open for Dropdown

* feat: add warning when use visible

* fix: visible in dropdown-button

* chore: merge conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 17:46:44 +08:00
MadCcc
93908debec
feat: v5 radius (#37146)
* feat: v5 radius

* test: fix test
2022-08-19 10:10:51 +08:00
二货机器人
25e001f8b5 chore: next merge feature 2022-08-18 17:24:39 +08:00
二货机器人
bf8a7ace41 Merge remote-tracking branch 'origin/master' into feature 2022-08-18 10:57:17 +08:00
二货爱吃白萝卜
94edd8e917
refactor: Select like PurePanel remove motion and support auto width (#37117)
* refactor: Pure support open

* chore: fit content size

* test: Update snapshot

* test: back of snapshot

* test: ignore purePanel
2022-08-17 19:57:10 +08:00
Yuki Zhang
969925653c
test: move test cases to testing-library for DropDown (#37003)
* temp

* fix: mock esmodule default for Dropdown

* test: move test cases to testing-library for DropDown

* chore: remove console

* fix: snapshot test

* refactor: jest mock improvement
2022-08-15 17:47:10 +08:00
二货机器人
c91af108d6 test: Update snapshot 2022-08-05 16:02:27 +08:00
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +08:00
MadCcc
ec3444a407
refactor: token udpate (#36892) 2022-08-04 16:16:50 +08:00
nuintun
dd6e93d4ae
feat: Dropdown button add danger status support (#36810)
* feat: Dropdown button add danger status support

* fix: Dropdown button danger test

* fix: Dropdown button danger test

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

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

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

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

Co-authored-by: afc163 <afc163@gmail.com>
2022-08-04 10:49:55 +08:00
MadCcc
d7c2f5f5d3
feat: menu theme implemented by design token (#36738)
* feat: menu theme implemented by design token

* test: fix test

* fix: lint

* fix: menu motion

* 偷偷加了几个token

Co-authored-by: 期贤 <qixian.cs@antgroup.com>
2022-07-28 20:33:10 +08:00
二货机器人
8a0764dd69
feat: Tooltip support pure render (#36512)
* chore: init

* feat: Pure Panel Tooltip

* test: snapshot

* chore: clean up
2022-07-13 23:06:28 +08:00
二货机器人
94a3d51cb0
feat: Dropdown support PurePanel (#36461)
* feat: Dropdown support PurePanel

* chore: clean up
2022-07-11 15:57:05 +08:00
MadCcc
cdbfe45df1
feat: generate anchor style for all components (#36460)
* test: fix lint

* chore: code clean

* doc: anchor color

* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
8e27cf986f
chore: rm component less file (#36244)
* chore: rm component less file

* refactor: less file

* refactor: rm less

* refactor: rm page-header and comment

* chore: rm less in components

* chore: update dist config

* chore: update image test

* chore: update dekko

* chore: rm lib dekko

* chore: update dist dekko

* chore: udpate bundle size

* test: update snapshot

* test: rm theme test

* test: update snapshot

* test: update snapshot

* chore: copy reset.css

* test: update image test

* chore: copy reset.css to es

* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
9d7c11f391 Merge branch 'master' into next-merge-master 2022-07-03 09:42:26 +08:00
MadCcc
42e030edd9
fix: arrow compatibility (#36266)
* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style
2022-06-30 11:11:01 +08:00
二货机器人
de2992f96f
chore: move path (#36243)
* chore: base move

* chore: all path

* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
373f0c5a65
refactor: shadow alias (#36213)
* refactor: shadow

* refactor: component box shadow

* refactor: shadow alias
2022-06-24 10:45:29 +08:00
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
zombiej
91245c16ad chore: merge master 2022-06-21 19:40:22 +08:00
二货机器人
9ab8cc44a3
fix: Dropdown with group menu can not close (#36148)
* test: test driven

* fix: Dropdown with Menu list group
2022-06-21 15:48:29 +08:00
MadCcc
d5c23dc265
fix: more colorBgElevated (#36142) 2022-06-21 11:06:06 +08:00
MadCcc
1bcfe0cce3
refactor: motion (#36136)
* fix: modal motion

* fix: image motion

* refactor: popover & tooltip motion

* chore: code clean

* refactor: move motion

* refactor

* chore: code clean

* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
MadCcc
5639e1a5ba
feat: update token (#36095)
* feat: update token

* feat: update token

* fix: override ts definition

* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
63fc5055f9
fix: Table customize filterDropdown with Menu should not block default selectable (#36098)
* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow
2022-06-17 14:37:18 +08:00
MadCcc
9dd5e9b5e9 Merge branch 'master' into next-merge-master 2022-06-16 10:46:55 +08:00
苯苯
961383fa0c
fix: missing semicolon (#36008) 2022-06-11 15:10:03 +08:00
苯苯
a86feb702e
fix: DropdownProps definition (#35990)
Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2022-06-10 17:59:26 +08:00
zombiej
300dddebbb chore: next merge feature 2022-05-30 19:11:21 +08:00
二货机器人
99c16aa8d6
refactor: Fix Dropdown nesting menu injection logic (#35810)
* refactor: Dependency Inversion

* test: update snapshot

* test: Update snapshot

* test: more

* fix: table dropdown logic

* fix: menu lint
2022-05-30 19:06:51 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40 chore: merge master 2022-05-21 22:14:15 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo (#34742)
* docs: add general components TS demo

* docs: add layout components TS demo

* docs: add navigation components TS demo

* docs: add data entry components TS demo

* chore(deps): add types for qs

* docs: add data display TS demo

* docs: add feedback components TS demo

* docs: add other components TS demo

* chore(deps): add types

* docs: unified demo code style

* docs: fix lint error

* docs: add demo TS type

* docs: fix demo TS type

* test: update snapshot

* docs: fix TS demo

* feat: update Rate character type

* docs: fix lint error

* feat: update Rate character type

* feat: update Rate character type
2022-05-19 09:46:26 +08:00
github-actions[bot]
91181c5b56
chore: auto merge branchs (#35572)
chore: feature merge master
2022-05-16 09:03:24 +00:00
github-actions[bot]
fb9c2fc51e
chore: auto merge branchs (#35553)
chore: merge master into next
2022-05-14 10:03:09 +00:00
dingkang
58df74c38e
docs: replace class component with hooks (#35519)
* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error
2022-05-14 16:40:42 +08:00
MadCcc
2d70027f45 Merge branch 'master' into feature-merge-master 2022-05-12 15:56:18 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
MadCcc
9ca7973521
refactor: image full token (#35465)
* refactor: image full token

* chore: remain switch size

* refactor: less token

* chore: text color
2022-05-10 17:30:01 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
24773d5796 test: lint 2022-05-09 22:20:07 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
afc163
594f138760 resolve conflict between feature and master 2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774 chore: next merge feature 2022-05-06 18:46:16 +08:00
MadCcc
7f6e4492a0
feat: Dropdown support autoFocus (#35391)
* feat: Dropdown support autoFocus

* chore: add bundle size
2022-05-05 16:45:07 +08:00
afc163
0658932fa0
Revert "feat: dropdown auto-focus (#35307)" (#35337)
This reverts commit 1ff58d23f0.
2022-04-30 15:10:04 +08:00
MadCcc
1ff58d23f0
feat: dropdown auto-focus (#35307)
* feat: dropdown auto-focus

* chore: update rc-tabs
2022-04-28 19:50:33 +08:00
MadCcc
eed87d6276
chore: remove keyframes declaration (#35231) 2022-04-26 01:00:39 +08:00
二货机器人
b4730281a9
refactor: Dropdown cssinjs support (#35214)
* chore: init

* chore: dropdown style

* chore: more style

* chore: icon style

* chore: more style

* chore: diff shows the cache path

* chore: motion support

* chore: more style

* feat: status

* chore: sub menu style

* chore: all dropdown style

* fix: ts

* chore: update snapshot

* Update components/dropdown/style/index.tsx

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

* chore: update style

Co-authored-by: MadCcc <1075746765@qq.com>
2022-04-25 10:54:00 +08:00
二货机器人
f8e7cba353
refactor: Simplify Button Group Style (#35175)
* chore: refactor grp with context

* test: Update snapshot

* chore: clean up

* test: fix test case

* chore: clean up

* test: fix test
2022-04-22 17:40:52 +08:00
zombiej
6a00bddade docs: Update Dropdown demo 2022-04-22 15:33:15 +08:00
二货机器人
f8d728161c
docs: Update demo with Space (#35172) 2022-04-22 13:35:27 +08:00
afc163
8f06430336
fix: DropDownProps => DropdownProps (#35161)
* fix: DropDown => Dropdown

* chore: leave DropDownProps for compatibility
2022-04-21 22:09:59 +08:00
zombiej
15599bb3b8 docs: Add dropdown menu missing keys 2022-04-21 19:01:26 +08:00
zombiej
3e6817a10a docs: Update Dropdown basic demo icon 2022-04-21 18:05:39 +08:00
二货机器人
1525ac47fb
chore: bump dropdown with inject mark (#35153) 2022-04-21 17:10:06 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases (#35026)
* test: React StrictMode

* test: fix Spin test

* chore: wrapper enzyme

* test: fix setState

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: disable part of it

* test: fix test & add placeholder

* test: Use orign enzyme mount

Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00