Commit Graph

146 Commits

Author SHA1 Message Date
偏右
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
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
2020-05-25 17:56:48 +08:00
偏右
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
2020-05-25 16:27:02 +08:00
Yu
e197163a78
feat(Avatar): support draggable prop (#24314) 2020-05-20 19:30:39 +08:00
二货机器人
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>
2020-05-14 15:57:04 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
xrkffgg
fd11de50ae
docs: optimize avatar demo (#22631) 2020-03-26 15:53:57 +08:00
二货机器人
86cb76771a
fix avatar margin style (#22038) 2020-03-09 21:08:01 +08:00
二货机器人
52a1600a01
fix: Badge number style (#21235)
* fix css priority

* update snapshot

* update snapshot
2020-02-05 13:52:26 +08:00
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00
xiaohuoni
fa14546a40 chore: code style 2020-01-21 17:14:58 +08:00
xiaohuoni
1c1c30e99c docs: a demo use typescript 2020-01-21 16:21:37 +08:00
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00