Chuns Chen
359eaa697b
fix: Table should not warn DefaultProps ( #39571 )
* fix: Table should not warn DefaultProps
* chore: update table snapshot
* fix: table test fail
* Revert "chore: update table snapshot"
This reverts commit 1afc95b5bda83c109999ff83f505676b4c623202.
* chore: update table snapshot
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
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
MadCcc
0a0f96798d
chore: snapshot
2 years ago
MadCcc
2471bf88aa
test: fix test
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
MadCcc
c61f283487
feat: switch motion ( #37658 )
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
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
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
lijianan
d6aa3aaf10
test: migrate part of Descriptions tests ( #36970 )
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
* pref: add useCallback/useMemo
* refactor: use typescript refactor javascript
* fix: remove string
* fix: fix eslint
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
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
3 years ago
zhao-huo-long
5588dae212
fix: Descriptions number 0 can't render span ( #34696 )
* fix: number 0 can't render span
* Update Cell.tsx
* chore: add test case
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful ( #29942 )
* fix: Descriptions labelStyle unsuccessful
* use hook
* Update components/descriptions/demo/style.md
* fix lint
* fix ts
4 years ago
二货机器人
a211756e6b
feat: desc support root level label & content style ( #28613 )
4 years ago
二货机器人
093a458026
feat: Support label & content style of Desc ( #27897 )
* feat: Support label & content style of Desc
* test: Update snasphot
* docs: fix desc
4 years ago
二货机器人
59a133274b
fix: Desc label with flex node ( #27375 )
* fix: Desc label with flex node
* test: Update snapshot
* rm useless css
* more style
* rm useless code
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
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. ( #25903 )
* add flex style
* add new demo
* update snapshot
* Merge branch feature into fix-descriptions
* update snapshot
* update snapshot
4 years ago
WuJiali
4ec1b8ae09
feat: Description list plus extra operation area ( #25512 )
* feat: Description list plus extra operation area
* 修复title与extra对齐,加版本等问题
* 去掉basic里extra
* 修改extra样式
* title与extra都没有的时候不展示header
* 更新测试用例
Co-authored-by: chenshuai2144 <qixian.cs@outlook.com>
4 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
Tom Xu
d766472d94
feat: descriptions add less variable ( #24032 )
* feat: add less variable @descriptions-item-trailing-colon,@descriptions-it,@descriptions-item-label-colon-margin-leftem-label-colon-margin-right,
* fix
* Update demo.test.js.snap
5 years ago
二货机器人
4b0effbc0e
fix: Desctiption miss style when value is number 0 ( #21901 )
* fix: Desctiption miss style when value is number 0
* fix test case
5 years ago
二货机器人
1fad2b0277
fix: Lots of Descriptions ( #21542 )
* refactor
* class name
* update demo snapshot
* clean up
* update snapshot
* fix test case
* more test case
* adjust logic
5 years ago
zombiej
8d7f1dadef
chore: Update Description snapshot with mount render instead
5 years ago
Amumu
bb560537d9
chore: Descriptions warning message upgrade ( #20786 )
* fix warning
* warning message upgrade
* snapshot
* update
5 years ago
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing ( #20400 )
* fix: init miss sizing
* update mock test
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
Liu Ya
3fed6f02a5
fix: DescriptionItem className error to label ( #20067 )
5 years ago
偏右
d7e81027d6
🐛 Fix Descriptions items not working with React.Fragment ( #20019 )
close #19887
5 years ago
afc163
98a3de1eb7
🎬 update descriptions demo
5 years ago
二货机器人
b0c90f4b06
fix: description demo update ( #19113 )
5 years ago
二货机器人
27afeaf3a1
fix: Descriptions warning with key ( #18637 )
5 years ago
二货机器人
4dfed8d0b7
chore: Col support key if user providered ( #18578 )
5 years ago
二货机器人
76fd80634b
fix: Adjust Descriptions column calcuation logic ( #18568 )
* fix: Span calculation logic
* update spanshot
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
陈帅
b73ac967f9
fix: fix descriptions demo warning ( #18326 )
* fix descriptions warning
* snapshot updated
5 years ago
陈帅
b133c4a2c4
style: descriptions style update ( #18270 )
* padding bottom support size
* add toc readme
* add demo
* fix lint
* snapshot updated
5 years ago
orzyyyy
28f39739df
test: update snapshots
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
诸岳
cf564f32b0
test: Update snapshots
5 years ago
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd ( #17607 )
5 years ago
hengkx
99a2cc201e
improve Descriptions code
5 years ago
hengkx
3db32cb631
feat:Descriptions support colon props
5 years ago
M Mitchell
4e629da9ab
fix: Should allow inline style for Descriptions component, close #17533 ( #17558 )
5 years ago
陈帅
8eceb04d62
update snap
issue in #17280 and #17330
5 years ago
xuqiang
543262295a
fixed https://github.com/ant-design/ant-design/issues/17290
5 years ago
hengkx
61318a1856
update descriptions snapshots
5 years ago
hengkx
2a9da95a92
feat: Descriptions add vertical layout
5 years ago