二货爱吃白萝卜
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
二货机器人
2fe472d15b
chore: add bail of jest test config
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
renovate[bot]
92d6cea91c
chore(deps): update dependency react-dnd to v16 ( #37840 )
* chore(deps): update dependency react-dnd to v16
* Apply suggestions from code review
* Update .jest.js
* test: fix jest tranformer
* test: fix jest tranformer
* test: fix jest tranformer
* test: fix jest tranformer
* test: fix jest tranformer
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
lijianan
c2d7fe4f0d
chore: delete Enzyme ( #37854 )
* chore: delete Enzyme
* fix: fix
2 years ago
黑雨
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>
2 years ago
afc163
ed4d41676e
chore(deps-dev): upgrade to jest 28 ( #35334 )
https://jestjs.io/zh-Hans/docs/upgrading-to-jest28
3 years ago
afc163
268bdf2faa
chore: Upgrade devDeps ( #32308 )
* chore: node-fetch => isomorphic-fetch
* upgrade array-move
* fix test
3 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
afc163
3788e85bbf
test: fix @babel/runtime mjs transform in jest ( #29427 )
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
南小北
1f04f78707
test: fix jest with less import ( #24900 )
5 years ago
骗你是小猫咪
8d0bba4dea
test: 🚀 New Image Snapshots ( #24003 )
* test: New Image Snapshots
* circleci apt-get some lib
* fix command
* set CircleCI NODE_ENV
* new test:image
* upgrade jest-image-snapshot
* needs dist
* use jest html report
* use now deploy
* fix deploy skip
* set token
* upgrade version
* change if
* improve imageTest
* print node version
* revert puppeteer version
* fix now fail
* test
* fix now fail
* add if
* fix if
* add judgement
* fix action
* rebase
* fix test image script
* lint ignore
* fix lint fail
5 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
7bc3d4f222
chore: Refactor the button test to use typescript ( #22953 )
* Refactor the button test to use typescript
* update tsconfig.json
* Change file name as a workaround
* update antd-tools
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
zombiej
702cb61586
chore: Fix jest filter
5 years ago
afc163
85fcf0fe6e
🐛 fix Icon component ts error with cra definition
close #13205
close #19638
5 years ago
偏右
62d7a2bbb0
✅ restore test coverage ( #20071 )
5 years ago
afc163
60e66dbafe
🐛 fix error antd-tools => @ant-design/tools
5 years ago
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd ( #17607 )
5 years ago
zombieJ
e0bfcab869
chore: Fix react-dnd CI ( #17130 )
* adjust jest ignore
* add node test
* update es
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
陈帅
243a5b6097
Migrate jest new configuration
6 years ago
偏右
dfe57a0da3
🌱 upgrade testRegex code style
6 years ago
Heaven
debee2edcb
fix eslint config ( #11701 )
* fix eslint config
* use same pattern
6 years ago
Emerson Laurentino
0f9da43522
Avatar custom size ( #11419 )
* add avatar support custom size
* me added to author list and sorting alphabetically
* fix avatar sizeChildrenStyle preference
* fix authors
* fix snapshots
6 years ago
Wei Zhu
4a906137b8
Add testUrl
https://github.com/jsdom/jsdom/issues/2304
6 years ago
偏右
8226ede38e
Fix test case for new jsdom ( #9527 )
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
7 years ago
Wei Zhu
4a9277277b
Improve coverage
7 years ago
Wei Zhu
eab8b42257
Ignore interface file
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
7b1df54523
Config jest transform ignore path
7 years ago
Wei Zhu
145ed77c00
fix: form type ( #7245 )
7 years ago
Benjy Cui
723da5e164
test: fix CI
7 years ago
Benjy Cui
f089d1852d
chore: remove useless deps, and close : #4451
7 years ago
Wei Zhu
7ba016218c
Only run demo tests when using dist files
8 years ago
Wei Zhu
1f69de8da4
Run demo test against dist/lib/es dir
8 years ago