MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
1 year ago
lijianan
2bd138ea8e
🐳 chore: remove useless type ( #41447 )
2 years ago
MadCcc
6f82f41d5c
refactor: checkbox ( #41117 )
* refactor: checkbox
* type: export CheckboxRef
* type: fix
2 years ago
afc163
66754060f9
chore: remove unused devDeps ( #39392 )
2 years ago
Yuki Zhang
efe6d7c8a1
test: move test cases to testing lib for Switch ( #36326 )
* add
* test: wave
* fix: type
2 years ago
afc163
a61671f32f
chore: upgrade to jest-image-snapshot 5.x ( #35818 )
3 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
3 years ago
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
* fix tsc errors
* fix tsc errors
3 years ago
vagusX
0d619766e0
feat: new algolia SearchBar ( #30942 )
close #30812
3 years ago
二货机器人
bec5a08368
feat: InputNumber support stringMode ( #29373 )
* add input-number demo
* update snapshot
* update demo
* docs: Update desc
* update doc
* clean up React useLayoutEffect warning
* fix ts definition
* re-trigger
* update rc-uitl version
* bump rc-input-number
* update
* update
* fix ts
* update demo snapshot
* update doc
* update demo
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
4 years ago
Kermit Xuan
006abe5e92
chore(slider): optimize type definition ( #26884 )
4 years ago
afc163
16c0ca9100
docs: remove duplicated icon from document
4 years ago
偏右
22c313d032
chore: 🔨 replace css-animation by @ant-design/css-animation ( #23932 )
* 🆙 use @ant-design/css-animation
* fix ci
* fix ci
5 years ago
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
5 years ago
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
5 years ago
二货机器人
afedb4127f
docs: Site with single paging ( #21360 )
* patch route
* use data for promise
* rename Article file
* Article in TS
* clean up
* use collect
* adjust css
* card it
* listing
* res
* hiring
* add footer
* english it
* rm others
* fix lint
* fix navigation
* add dropdown button
* Header with TS
* split input & logo
* navigation out
* use flex
* flex everything
* stretch
* hide search when narrow
* init category
* global rules
* more cat
* pages
* level 2 width
* level 3
* level 4
* skip before ready
* clean up
* unqiue shadow variable
* update eslintignore
* update ignore
* fix ssr
* fix location param
* replace images
* shake more
* fix top of navigation
* remove home
* reorder nav & adjust padding style
* narrow res style
* Update research-form-page.zh-CN.md (#21426 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* rm skip
* narrow merge in
* reset p style
* update svg
* fix lint
* update ignore
* update lint ignore
* Update research-result-page.zh-CN.md (#21432 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-result-page.zh-CN.md
* Update research-workbench.zh-CN.md (#21438 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md
* Update research-list-page.zh-CN.md (#21441 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-list-page.zh-CN.md
* padding use 40px
* add responsive of ref
* fix p margin
* Update research-workbench.zh-CN.md
* Update buttons.md (#21456 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update resources.en-US.md (#21457 )
* Update research-navigation.zh-CN.md (#21453 )
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-empty.zh-CN.md (#21451 )
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* Update research-exception-page.zh-CN.md (#21452 )
* Update research-exception-page.zh-CN.md
* Update research-exception-page.zh-CN.md
* Update research-message-and-feedback.zh-CN.md (#21463 )
* Update research-message-and-feedback.zh-CN.md (#21467 )
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* replace background
* fix lines margin
* home padding
* patch minTilda doc
* Update resources.zh-CN.md (#21503 )
* clean up
* Update research-workbench.zh-CN.md (#21512 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-overview.zh-CN.md (#21513 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result-page.zh-CN.md (#21514 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-list-page.zh-CN.md (#21515 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* fix doc
* Update research-message-and-feedback.zh-CN.md (#21516 )
* adjust home nav width
* Update research-message-and-feedback.zh-CN.md (#21535 )
* Update research-form-page.zh-CN.md (#21554 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* patch file
* clean up
* update shadow.zh-CN
update shadow.zh-CN
* add shadow table
* Update visual.zh-CN.md (#21577 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* patch docs
* fix doc
* rm page suffix
* fix style
* mobile it
* Update resources.en-US.md (#21561 )
* chart res
* add qr code
* adjust qr
* Update visual.zh-CN.md (#21603 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* fix site qr
* mobile height of it
* book update
* 3.x site link
* isMobile is new cnotext
* Update research-form.zh-CN.md (#21604 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* adjust form doc
* mobile use link
* adjust order
* flush
* fix ts
* Update research-navigation.zh-CN.md (#21606 )
* Update research-navigation.zh-CN.md (#21609 )
* rm useless lines
* add mobile icon
* Update research-exception.zh-CN.md (#21612 )
* Update research-empty.zh-CN.md (#21610 )
* Update research-workbench.zh-CN.md
* Update visual.zh-CN.md
* adjust mobile icon
* Update research-message-and-feedback.zh-CN.md (#21613 )
* Update research-list.zh-CN.md (#21617 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md (#21618 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update visual.zh-CN.md (#21619 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update research-result.zh-CN.md (#21620 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-form.zh-CN.md (#21615 )
* Update research-message-and-feedback.zh-CN.md (#21616 )
* Update research-list.zh-CN.md (#21621 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result.zh-CN.md (#21624 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* update ref color
* update zip file
* fix mobile icon
* rm skip dark
* fix cat
* update zip link
* update zip link
Co-authored-by: Golevka <huangsamfisher@163.com>
Co-authored-by: mihaideyu <zxy1010414746@163.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com>
Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com>
Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com>
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
5 years ago
二货机器人
3080611883
feat: Notification support hooks for context ( #21275 )
* use promise for getInstance
* passing hooks
* hooks support
* move hooks out of fiel
* adjust style
* update snapshot
* fix test & add test case
* update hooks test
* fix style lint
* update doc
* update demo desc & eslitn rules
* fix lint
* docs add faq
* fix less
5 years ago
二货机器人
246adcd5dd
docs: Add Tree virtual scroll demo ( #20911 )
* docs: Add Tree virtual scroll demo
* update snapshot
* show debug demo
* rename
* fix lint
* skip virtual list demo snapshot since conflict in node test
5 years ago
二货机器人
abf215a982
docs: Update 4.0 site ( #20290 )
* init recommend block
* init design pages
* home frames
* add background banner
* hello, Hitu makes the animation
* add media query
* add images
* update types
* add declare
* preload support
* update ignore
* additional ignore site Home lint
* update ignore
* add hover effect
* adjust alt of bannber
* adjust lang & card shadow
* fix typo
* adjust desc
* hitu in english
* article add link
* Certainty is hitu
* Meaning Hitu
* Growth with Hitu
* Natural Hitu
* slow down of Natural
* adjust speed of icons
* New Meaning animation
* adjust animation duration
* update card link
* update link
* values doc
* replace images
* faster Growth
* update values
* fix lint
* all slow down
* adjust padding
* update icons
* adjust margin
* update images
* adjust montion
* adjust by designer
* update pages
* update design prod
* update articles
* update site style
* update doc
* update images
* update style
* lint fix
* adjust liner color
* github text color update
* adjust margin of title
* mobile design
* update design sub card
* update style
* less lint
* update images
* design card auto height
* update img
* update logo transition
* adjust card style
* adjust style to fix 184
* adjust nav style
* category it
* slow down of logo
* update style
* hide video link
* hitu article
* use img of hitu
* update docs
* style lint
* update Hitu layout doc
* update images
* speed up logo
* update link
* clean up
* clean up
* update doc
* adjust doc
* update images
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
骗你是小猫咪
bb844e245c
refactor: upgrade rc-trigger ( #19179 )
* add rc-trigger to devDependencies
* upgrade dev and dep
* change dep rc* tilde to caret
* remove package.json rc-calendar and upgrade rc-util
Fixes #19169
5 years ago
afc163
85fcf0fe6e
🐛 fix Icon component ts error with cra definition
close #13205
close #19638
5 years ago
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail ( #19408 )
* fix: upgrade rc-tooltip lint fail
* fix tooltip typescript type
* rebase and update snapshots
* update tests
* change trigger mock export
* upgrade rc-trigger
* fix type error
* upgrade dependencies
* update snapshots
* upgrade rc-calendar and test use sleep
* update snapshots
* fix test fail
* update snapshots
5 years ago
二货机器人
72a7ba618f
New Table ( #19678 )
* chore: update rc-table
* add basic table style
* checked all logic
* checkbox support disabled
* selection style
* selection support radio
* add selections support
* selection extra style
* select all locale
* sorter logic
* add more desc
* init Filter hooks
* init filter hooks
* update style
* filter style
* filter style
* fix filter
* sort control
* ajax it
* add expandedable css
* expandable view style
* fixed style
* border style
* empty style
* fix pagination style
* add fixed demo
* un-comment
* clean up
* fix filter check logic
* fix overflow & ellipsis conflict
* fix tes
* adjust scroll shadow
* fix border fixed style
* add part of test case
* add filter test part
* more test case
* issue related test
* filter test
* adjust pagination logic
* fix pagination test case
* all selection test case
* table sorter test case
* table basic test
* fix test case
* update faq
* update expandable doc
* add v4 doc
* add summary docs
* more demo
* fix selection
* update snapshot
* update test case
* fix ff styling
* update rc-table
* update snapshot
* update snapshot
* fix lint
* fix style lint
* fix style
* update snapshot
* update desc
* fix missing icon
5 years ago
骗你是小猫咪
b9c80cd88c
refactor: upgrade rc-cascader ( #19696 )
* upgrade rc-cascader
* update snapshots
5 years ago
骗你是小猫咪
0ee4a531a1
refactor: upgrade rc-dropdown ( #19498 )
* refator: upgrade rc-dropdown
* upgrade rc-dropdown version
* update snapshots
5 years ago
shao
b280b633aa
chore: fix compile fail when use cnpm installed
5 years ago
骗你是小猫咪
f2e541ade5
refactor: improve typescript module declare ( #19254 )
* refactor: improve typescript declare
* remove rc-progress declare
* remove rc-drawer declare
* improve site antd module resolve path
5 years ago
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
5 years ago
二货机器人
4907996b97
feat: TreeSelect use virtual scroll ( #19040 )
* use new rc-tree-select
* support not found
* add switch icon support
* support function
* support selection motion
* show search icon if open
* clean up
* fix lint
* fix lint
5 years ago
afc163
61fc38901f
🔧 update typescript definites of third libs
5 years ago
afc163
acbd1a9d28
🔧 update typescript definites of third libs
5 years ago
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
5 years ago
zombieJ
b3a76c14ca
feat: Form support `scrollToField` ( #17457 )
* support scroll & label htmlFor
* update snapshot
* add test case
* doc update
* add decleare
* adjust logic of label id
* clean ts error
5 years ago
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
5 years ago
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
6 years ago
Subroto
7b8a39772b
Fix `fileIndex` not found TypeError (IE 11)
fileIndex is not present in IE 11 Array.prototype
6 years ago
ztplz
ab2dd31087
Add types for warning
6 years ago
zombieJ
ff13ac0f5e
New component Statistic / Countdown ( #14154 )
* init
* number format
* add Countdown
* ⚡ Try something ts stuff
* move out Countdown
* add format
* support countdown
* add prefix & suffix
* Move Number to Statistic
* adjust ts
* clean up
* roll back of lodash
* update doc & style
* variable of the less style
* add demo test
* full coverage
* hide title if not need
* update snapshot
* update accessiblity
* update color
* stop countdown when time is out
* formatTimeStr adjust
* use reset class
* add miss tab index
* update doc
* update title prop & snapshot
* rm additional aria. It's over design
* use card sample on unit demo
* sfc
* adjust demo
6 years ago
ztplz
0af12576cd
Remove classNames from custom-typing file
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
zombieJ
684d15c054
formItem support error message with reactNode ( #13046 )
close #13014
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago