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
Simon He
12a6f7182d
chore: add lint cache ( #40369 )
2 years ago
MadCcc
ffbb19e090
chore: lint ( #39102 )
* chore: enable tsc for demos
* chore: site lint
* chore: fix lint
2 years ago
afc163
7ec5ee2a58
chore: remove useless scripts ( #38622 )
2 years ago
afc163
75a38c5805
chore: fix eslint OOM by ignoring server folder ( #38589 )
* chore: ignore server folder for eslint
* fix site OOM
2 years ago
二货爱吃白萝卜
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>
2 years ago
Chuns Chen
cc5c4fed51
refactor: locale files reference path ( #38194 )
* chore: add locale files to npm pkg
* docs: locale files reference path
* docs: fix locale path
* chore: bump @ant-design/tools
* refactor: default locale file
* chore: add site wepack alias
* chore: bump @ant-design/tools
* fix: site theme locale reference path
* chore: add locale files to eslint ignore
* fix: markdown demo unable to resolve path to module antd/locale
2 years ago
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
2 years ago
afc163
eebdb95cbe
test: should not ignore *.md
4 years ago
陈帅
0afdbe4d4a
fix: exporting common types ( #28963 )
* exporting common types
* no use importype
* fix test
* try fix test
* Update components/index.tsx
Co-authored-by: 偏右 <afc163@gmail.com>
* remove typo
* fix test
Co-authored-by: 偏右 <afc163@gmail.com>
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
afc163
915d94b1dc
fix eslint
4 years ago
07akioni
01cec29a8e
feat: Message hooks API ( #25422 )
* chore: comment on usePatchElement
* refactor: conform message & notifaction code logic
* feat: message useMessage, wip
* feat: message.useMessage, it works now
* fix: promise on regular api
* feat: message hooks
* chore: fix lint
* chore: new line
* chore: revert new line
* refactor: prefixCls
* fix: prefixCls
* test: cov
* chore
* chore
* chore
* chore
* docs
* docs: message hooks faq
* test: remove useless config provider
* chore: remove some test codes
* chore
* docs: hooks version
4 years ago
二货机器人
ff30366d22
chore: add preview ( #23128 )
* chore: add preview
* update template
* update ignore lint
* update template
* support quota analysis
* comment it
* trigger build
* trigger build
* force trigger
5 years ago
二货机器人
faa3eb3535
docs: Auto redirect v3 link ( #21875 )
* redirect link
* add ignore
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
偏右
36a03a06e2
fix: npm start warning ( #20791 )
* 🔧 fix npm start warning
close #20700
* 🔧 add some jsx files to gitignore
* fix eslint
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
偏右
62d7a2bbb0
✅ restore test coverage ( #20071 )
5 years ago
afc163
c953023617
✅ fix eslint
5 years ago
afc163
760853e239
💄 eslint for all
5 years ago
偏右
2e13c82cbe
🌱 remove blank
6 years ago
HeskeyBaozi
277721c27e
fix npm run lint
6 years ago
Heaven
94c4dc293e
fix eslint in package.json ( #11705 )
* fix eslint in package.json
* remove redundent config
6 years ago
Heaven
debee2edcb
fix eslint config ( #11701 )
* fix eslint config
* use same pattern
6 years ago
Wei Zhu
145ed77c00
fix: form type ( #7245 )
7 years ago
afc163
3ee7871a6e
update .eslintignore
8 years ago
afc163
9f1f932386
fix eslintignore
8 years ago
afc163
1dd5fce324
ignore lint temp js/jsx files in components
8 years ago