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
二货爱吃白萝卜
5904f80a9a
feat: DatePicker support `changeOnBlur` ( #42168 )
* docs: update docs
* chore: fix lint
* chore: bump rc-picker
* docs: timepicker docs
* chore: update ignore
2 years ago
afc163
3449ff0825
chore: ignore husky config file
- Ensure `.husky/prepare-commit-msg` is ignored in `.gitignore`
[.gitignore]
- Add a `.husky/prepare-commit-msg` file to the `.gitignore`
2 years ago
二货爱吃白萝卜
99b32a3c37
fix: wave target position switch ( #39966 )
* fix: Node delay for wave pos
* test: test case update
* test: test case update
* chore: update ignore
* test: test case update
* chore: resize check for size changing
* test: coverage
* chore: save code
2 years ago
lijianan
71eddd2c20
chore: remove useless tsx support ( #39934 )
* chore: remove useless tsx support
* add
* revert
* add
* fix
* fix
* add test case
* fix
2 years ago
lijianan
5d3381334c
chore: remove useless tsx support ( #39934 )
* chore: remove useless tsx support
* add
* revert
* add
* fix
* fix
* add test case
* fix
2 years ago
MadCcc
e04c2d69ae
docs: collect token API from tsdoc ( #38964 )
* chore: token doc
* docs: token meta
* chore: code clean
* chore: code clean
* chore: json
* chore: rename
* chore: style
2 years ago
MadCcc
25dc2218cd
chore: site test ( #38462 )
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
5cd007a2ed
chore: update .gitignore ( #36534 )
2 years ago
MadCcc
469d0bc81c
chore: compile without lib ( #36362 )
* chore: compile es only
* chore: update package.json
* chore: code clean
* chore: code clean
* chore: update workflow
* chore: update workflow
* chore: update less src
* chore: replace lib with es
* chore: recover less
* Revert "chore: replace lib with es"
This reverts commit 41b8bf1938
.
* chore: update dist less
* test: fix
2 years ago
vagusX
ae4e660a05
feat: add new component `Segmented` ( #34319 )
* feat: basic implements in antd
* feat: use rc-segmented
* feat: add some demos
* feat: support dark theme
* docs: add more demos
* feat: support `icon` in segmented
* docs: format content
* test: add test cases
* docs: update docs
* chore: update
* fix: lint issues
* style: add border-radius for selected effect
* style: change border-radius-base
* chore: update gitignore
* feat: segmented support block
* chore: update gitignore
* feat: support block
* feat: add test case
* feat: support size
* docs: update demos
* chore: update
* chore: update
* test: update
* style: update colors
* style: hover and focus styles
* doc: add version mark in docs
* fix: style lint issue
* fix: some lint issues
* doc: add version in demo mds
* doc: add version mark before api details
* Revert "doc: add version in demo mds"
This reverts commit 2a9e86f6ffc2331f7d73eae6edac7c889358a838.
* test: only test for thumb appear
* style: update color vars
* style: add transition
* style: text vertial align
* test: update snapshots
* feat: add preview svg and support dark theme
* fix: update test snapshot
* docs: update docs
* fix: remove useless z-index
* build: add 1kb for bundlesize of antd.variable.min.css
Co-authored-by: taian.lta <taian.lta@antgroup.com>
3 years ago
vagusX
f7ebd0d55f
style: nested style for cssinjs in Result ( #34401 )
* chore: update gitignore
* style: nested style
3 years ago
Sepush
7e2dc80035
chore(.gitignore):add ignore for pnpm ( #32860 )
3 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
骗你是小猫咪
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
偏右
d221458939
refactor: 📦 Generate version.js from package.json ( #23957 )
* 📦 generate version.js from package.json
* components/version/version.ts
* remove version.js
* fix scripts
* Add pretest and predist
* clean up finalizeCompile
* fix lint
5 years ago
偏右
c27a3a40a7
chore: 📦 Optimize npm package size ( #23698 )
* improve custom theme import path
* reduce npm package size
5 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
zombieJ
fb6b6a1b0b
fix: Use mock of lodash.debounce ( #15904 )
* another try
* rm mock file
6 years ago
陈帅
58ac28077c
Revert "Revert "Revert "Use less @plugin" ( #13613 )" ( #13621 )" ( #13622 )
This reverts commit f47aa91c5e
.
6 years ago
陈帅
f47aa91c5e
Revert "Revert "Use less @plugin" ( #13613 )" ( #13621 )
This reverts commit 2c79d2a7c1
.
6 years ago
陈帅
2c79d2a7c1
Revert "Use less @plugin" ( #13613 )
6 years ago
zombiej
1f2945e88e
update ignore
6 years ago
偏右
3ad5c0dda9
🌱 update gitignore
6 years ago
HeskeyBaozi
f2467a1f69
fix: can not use iconfont
6 years ago
HeskeyBaozi
277721c27e
fix npm run lint
6 years ago
Wei Zhu
2fb304e270
Ignore package-lock.json
7 years ago
Tom Gao
9e54bebf33
fix: when menuitem is seleted, but submenu is not seleted ( #7042 )
7 years ago
Benjy Cui
b8118bb09c
test: update test config
8 years ago
paranoidjk
c21b58b576
fix: upgrade rc-tabs, fix react warning. ref #5678
8 years ago
Wei Zhu
6eb09fe98f
Keep js[x] files ignoring
8 years ago
Wei Zhu
f6c0e69af5
cleanup npm scripts ( #4499 )
* Cleanup npm scripts
* Lint fix
* Don't need ignore js files
* Upgrade jest
* Add components index.tsx test
8 years ago
Wei Zhu
2390c055aa
Ignore yarn.lock
8 years ago
Wei Zhu
07103b9fb6
Don't ignore test files.
8 years ago
Wei Zhu
d20572bdab
test: demo snapshot testing ( #3916 )
* Run snapshot testing against all demos
* Split demo tests
* ignore coverage folder
* Upgrade antd-demo-jest
* enable cache
* intergate with coveralls.io
* Add node test
* Set worker to 2
https://github.com/facebook/jest/issues/1742
* config coverage
* Set default supportServerRender to true
8 years ago
Benjy Cui
0981dd46c7
fix: should not import less file firectly
8 years ago
马金花儿
3d187d00a1
feat: 为Modal组件的confirm、success、error、warning、info 子组件增加快捷键,模仿原生体验。 ( #3061 )
* Add hotkey for Modal.confirm
* Optimize
* 重构快捷键逻辑
* 根据CR 进一步优化逻辑
* timeoutId 改为非强制
* Update confirm.tsx
* 使用 onCancel 回调代替 onClose,并修改 onCancel 注释。
* 修改注释
8 years ago
Benjy Cui
caf218ce4b
chore: integrate typings dir
8 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
yiminghe
ec916e5f72
add typings.json
9 years ago
RaoHai
ff31a5b555
Revert "Revert "refactor with bisheng""
This reverts commit 7a07b128d1
.
9 years ago
RaoHai
7a07b128d1
Revert "refactor with bisheng"
9 years ago
Benjy Cui
a97e54e253
site: migrate practice pattern spec to bisheng
9 years ago