Commit Graph

158 Commits

Author SHA1 Message Date
github-actions[bot]
442ef88a91
chore: auto merge branchs (#31308)
chore: sync master into feature
2021-07-08 05:42:19 +00:00
Map1en_
98fde16089
fix(Avatar): the translation po of avatar group (#31276) 2021-07-06 14:40:58 +08:00
Map1en_
71e57c40ee
feat(Avatar): add crossOrigin property (#31273)
close #30932
2021-07-06 12:16:46 +08:00
netcon
6ee413c604
fix: span element should not contains p element in Badge (#31042)
fixes #30916
2021-06-22 22:53:55 +08:00
xiejiahe
eca9767ba0
docs(Avatar): add draggable api (#30073)
* docs(Avatar): add draggable api

* docs(Avatar): add draggable api
2021-04-10 13:37:02 +08:00
afc163
13a829d20c
fix: classNames typing errors (#30018) 2021-04-02 22:37:36 +08:00
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
2021-02-23 10:45:11 +08:00
二货机器人
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
2021-01-29 14:27:36 +08:00
afc163
f2188064b2 merge feature into master 2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
chore: merge master into feature
2020-12-09 17:54:36 +08:00
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>
2020-12-09 17:12:32 +08:00
二货机器人
9cd4fab604
feat: Image add preview style (#28235)
* feat: Add preview mask

* feat: Preview support locale

* test: Update snapshot

* fix lint

* fix lint
2020-12-07 17:08:48 +08:00
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts (#27920)
ref.ts remove
2020-11-21 15:40:06 +08:00
偏右
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>
2020-11-14 00:43:12 +08:00
Tom Xu
b3e75d5b57
style: fix Avatar src Image style (#27691) 2020-11-11 15:20:01 +08:00
Tom Xu
9772a63b4c
fix: Avatar group size (#27531)
* fix: Avatar group size

* fix
2020-11-05 16:22:21 +08:00
xrkffgg
cba9634a3d
perf: reduce css size (#27527)
* perf: reduce css size

* add

* add

* fix line-height

* add .reset-component
2020-11-04 15:06:41 +08:00
不吃猫的鱼
73c4566c61
fix: update Avatar src type (#27524)
* fix: update Avatar src type

* refactor: remove string as ReactNode includes string type
2020-11-04 10:38:27 +08:00
xrkffgg
311a4fbb42 docs: update Avatar src define 2020-11-02 11:31:42 +08:00
不吃猫的鱼
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
2020-10-31 16:15:55 +08:00
Tom Xu
6b1d73bdd9
feat: Avatar.Group add size props (#27348)
* feat: Avatar.Group add size props

* change type
2020-10-24 22:00:43 +08:00
骗你是小猫咪
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
2020-10-23 18:50:46 +08:00
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
2020-10-21 10:33:43 +08:00
afc163
ef8ea979b4 docs: 📝 fix doc 2020-10-19 16:45:17 +08:00
偏右
4a86b75c74
Merge pull request #26768 from ant-design/master
chore: merge master into feature
2020-09-16 14:49:19 +08:00
偏右
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>
2020-09-16 11:43:55 +08:00
二货机器人
b713f457f0
Merge pull request #26630 from ant-design/master
chore: merge master into feature
2020-09-07 23:10:36 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
xrkffgg
09e19b765d
chore: merge master into feature #26557 2020-09-03 11:30:46 +08:00
ZHANGYU
e2dda85c90
fix: Avatar doesn't scale when display is none (#26522) 2020-09-02 15:28:23 +08:00
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
2020-08-29 13:43:52 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
xrkffgg
d5ca5880ef
fix: Avatar.Group key lost (#26098)
* fix: avatargroup key lost

* Update components/avatar/group.tsx
2020-08-09 18:54:53 +08:00
陈帅
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
2020-08-06 14:32:13 +08:00
07akioni
9d49434483 fix: merge conflict 2020-07-26 20:30:56 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
偏右
fca0da30e8
fix: Avatar fallback bug (#25806)
* refactor: avatar code

* fix: Fix Avatar fallback bug

close #25801

* add blank

* update demo
2020-07-26 16:53:50 +08:00
xrk
877caa2b03
feat: Avatar.Group (#25192) 2020-07-13 12:45:37 +08:00
xrkffgg
6cd8827072
docs: format api avatar/badge/comment (#25363) 2020-07-01 21:35:29 +08:00
sosohime
905ddfc2c7
Avatar falling back to children on image error (#24944)
Co-authored-by: 贺业晟 <heyesheng@bytedance.com>
2020-06-12 15:26:40 +08:00
zoomdong
e129b0aae9
refactor(avatar): rewrite with hook (#24925)
* refactor Avatar

* add snapshot

* fix: lint
2020-06-12 10:36:53 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
偏右
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>
2020-05-31 11:48:34 +08:00
偏右
c7e1b050ab
🗑️ remove PropTypes (#24577) 2020-05-29 18:05:58 +08:00
afc163
527f34fe6d fix snapshot 2020-05-28 16:21:18 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
Sanonz
f7c34de3ca
fix: Avatar.onError() event is triggered twice (#24506) 2020-05-27 19:25:28 +08:00