afc163
827225b895
chore: replace demo image to public avatar resources ( #32479 )
* docs: replace avatar image to joeschmoe placeholder
* docs: usage randomme avatar url
3 years ago
Map1en_
98fde16089
fix(Avatar): the translation po of avatar group ( #31276 )
3 years ago
Map1en_
71e57c40ee
feat(Avatar): add crossOrigin property ( #31273 )
close #30932
3 years ago
netcon
6ee413c604
fix: span element should not contains p element in Badge ( #31042 )
fixes #30916
3 years ago
xiejiahe
eca9767ba0
docs(Avatar): add draggable api ( #30073 )
* docs(Avatar): add draggable api
* docs(Avatar): add draggable api
4 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
二货机器人
f1568a656a
Badge number ( #29100 )
* init number component
* use single nodes
* clean up
* add current class
* clean up
* fallback
* fix: Safari render issue
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test : Update snaposhot
* test : Update cp snaposhot
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
二货机器人
9cd4fab604
feat: Image add preview style ( #28235 )
* feat: Add preview mask
* feat: Preview support locale
* test: Update snapshot
* fix lint
* fix lint
4 years ago
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
ref.ts remove
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
Tom Xu
b3e75d5b57
style: fix Avatar src Image style ( #27691 )
4 years ago
Tom Xu
9772a63b4c
fix: Avatar group size ( #27531 )
* fix: Avatar group size
* fix
4 years ago
xrkffgg
cba9634a3d
perf: reduce css size ( #27527 )
* perf: reduce css size
* add
* add
* fix line-height
* add .reset-component
4 years ago
不吃猫的鱼
73c4566c61
fix: update Avatar src type ( #27524 )
* fix: update Avatar src type
* refactor: remove string as ReactNode includes string type
4 years ago
xrkffgg
311a4fbb42
docs: update Avatar src define
4 years ago
不吃猫的鱼
0afb8de631
feat: support Image element prop for Avatar component ( #27448 )
* feat: support Image element prop for Avatar component
* feat: reuse src prop instead of new image prop
* fix: update snapshot
* fix: re-update snapshots with latest dependencies
4 years ago
Tom Xu
6b1d73bdd9
feat: Avatar.Group add size props ( #27348 )
* feat: Avatar.Group add size props
* change type
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
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
afc163
ef8ea979b4
docs: 📝 fix doc
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
ZHANGYU
e2dda85c90
fix: Avatar doesn't scale when display is none ( #26522 )
4 years ago
Will Soares
9101f3666a
feat: add support to responsive sizes in Avatar component ( #26244 )
fix lint and test failures
update avatar demo card title
update ts type check for undefined
4 years ago
xrkffgg
d5ca5880ef
fix: Avatar.Group key lost ( #26098 )
* fix: avatargroup key lost
* Update components/avatar/group.tsx
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
07akioni
9d49434483
fix: merge conflict
4 years ago
偏右
fca0da30e8
fix: Avatar fallback bug ( #25806 )
* refactor: avatar code
* fix: Fix Avatar fallback bug
close #25801
* add blank
* update demo
4 years ago
xrk
877caa2b03
feat: Avatar.Group ( #25192 )
4 years ago
xrkffgg
6cd8827072
docs: format api avatar/badge/comment ( #25363 )
4 years ago
sosohime
905ddfc2c7
Avatar falling back to children on image error ( #24944 )
Co-authored-by: 贺业晟 <heyesheng@bytedance.com>
5 years ago
zoomdong
e129b0aae9
refactor(avatar): rewrite with hook ( #24925 )
* refactor Avatar
* add snapshot
* fix: lint
5 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
偏右
c7e1b050ab
🗑️ remove PropTypes ( #24577 )
5 years ago
afc163
527f34fe6d
fix snapshot
5 years ago
Sanonz
f7c34de3ca
fix: Avatar.onError() event is triggered twice ( #24506 )
5 years ago
xrkffgg
94edeaa02f
feat: add avatar gap api ( #24357 )
* feat: add avatar gap api
* docs: update explain
* fix: gap in span
* docs: update
* fix: test
* remove lastgap
5 years ago
偏右
a5efa7a81a
test: ✅ increase coverage of Progress/Comment/Avatar/Dropdown ( #24439 )
* test: increase test case of Progress and Comment
* test: add test case for Avatar
* test: add test case for Dropdown
* fix snapshot
* fix snapshot
* remove console.log
* fix lint
* add avatar
5 years ago
Yu
e197163a78
feat(Avatar): support draggable prop ( #24314 )
5 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
xrkffgg
e26eb5f892
docs: optimize site of rtl ( #23995 )
5 years ago
xrkffgg
fd11de50ae
docs: optimize avatar demo ( #22631 )
5 years ago
二货机器人
86cb76771a
fix avatar margin style ( #22038 )
5 years ago
二货机器人
52a1600a01
fix: Badge number style ( #21235 )
* fix css priority
* update snapshot
* update snapshot
5 years ago
二货机器人
58133bcabd
update demo ( #21069 )
5 years ago