lijianan
3ed7ec906e
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
2 years ago
lijianan
9aec72c395
chore: remove useless tsx support ( #39890 )
* chore: remove useless tsx support
* add
* add
* style
* fix lint
* fix lint
* fix lint
* update locale entry
* update locale entry
* update locale entry
* delete useless style
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
lijianan
e9ba37917b
type: strong type ( #37799 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 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
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
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
偏右
c7e1b050ab
🗑️ remove PropTypes ( #24577 )
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
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
vagusX
871ab3da81
feat: add waring for icon props in Avatar, Button, Modal.method and Result ( #20226 )
5 years ago
DiamondYuan
c9c2d5a256
Feature avatar icon ( #19368 )
* feat: icon of avatar support ReactNode
* docs: update document of Avatar
5 years ago
二货机器人
7ae663da6d
fix: ssr should not render string at first ( #19029 )
* fix: ssr should not render string at first
* update snapshot
5 years ago
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
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
偏右
4da56cd06c
Refactor Avatar scale calculate logic ( #15503 )
* 🐛 Refactor Avatar scale calculate logic
close #15351
close #15468
* ✅ Fix infinite loop
* 🐛 Fix avatar size change logic
* ✅ Fix snapshot
* ✅ Add test cases for Avatar setScale
* 🐛 getBoundingClientRect => offsetWidth
* ✅ Fix snapshot
6 years ago
ppbl
98b10a7cf8
🐛 Fix: avatar cannot calculate the offset when display: none ( #15351 )
6 years ago
Ahmed AlSammany
52846791b5
fix for https://github.com/ant-design/ant-design/issues/14650
6 years ago
Ahmed AlSammany
5ed909c9c8
🐛 Fixed src prop for Avatar not effective after image load error
* fix for https://github.com/ant-design/ant-design/issues/14605 , reset isImgExist state on src prop update
* add TC for https://github.com/ant-design/ant-design/issues/14605
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
c88784a61c
use class property of this.state
6 years ago
afc163
bc3d8c5826
Fix Avatar children wrong align in Popover
close #10917
6 years ago
Philip Oliver
afc66b81df
added attribute srcSet to Avatar component
6 years ago
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
6 years ago
paranoidjk
ecff4997d9
feat(Avatar): expose onError ( #11285 )
* feat(Avatar): expose onError
* refactor: test case coverage
6 years ago
陈帅
2025a10a06
avatar img add "alt" prop ( #10798 )
7 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Jin ZHANG
a95209cf55
scale fallback string ( #10184 )
7 years ago
Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
Andreas Cederström
f1bd8d0d11
proper class on avatar when image doesnt exist ( #9278 )
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Randy
b2556b4cd5
remove `any` type in Avatar ( #7016 )
7 years ago
Benjy Cui
b45bf6d814
fix: should show children if src is not exist, close : #6804
7 years ago
afc163
12c6a73878
update jsx code style
8 years ago
乐仪
153fb0fc34
improve2
8 years ago
乐仪
7667225b0f
improve
8 years ago
乐仪
c30d1b191f
add Avatar
8 years ago