Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
偏右
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
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
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00
seognil LC
c93bd326f4 docs(update): removed 3.x version description in 4.0-prepare (#19827)
* docs(update): removed 3.x version description in 4.0-prepare

ref #19815

* docs(update): update docs

remove carousel/index.zh-CN.md empty version column

* docs(update): update docs

remove carousel/index.en-US.md empty version column
2019-11-20 20:31:43 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
Philip Oliver
afc66b81df added attribute srcSet to Avatar component 2018-10-06 12:25:45 +02:00
Emerson Laurentino
0f9da43522 Avatar custom size (#11419)
* add avatar support custom size

* me added to author list and sorting alphabetically

* fix avatar sizeChildrenStyle preference

* fix authors

* fix snapshots
2018-08-02 20:25:14 +08:00
paranoidjk
ecff4997d9 feat(Avatar): expose onError (#11285)
* feat(Avatar): expose onError

* refactor: test case coverage
2018-07-24 12:14:34 +08:00
陈帅
2025a10a06 avatar img add "alt" prop (#10798) 2018-06-07 11:36:16 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Khalifa Lame
429a9714d5 Update Avatar English doc (#7627)
fixed typos.
2017-09-16 11:29:51 +08:00
Larry Laski
79b20a24a2 Update Avatar Page documentation Fix (#6711)
Quick fix for updating the API property section - currently `type` property but it should be `shape`
2017-07-04 07:02:43 +08:00
乐仪
7667225b0f improve 2017-06-09 12:02:25 +08:00
乐仪
c30d1b191f add Avatar 2017-06-09 12:02:24 +08:00