kalykun
c8262525e0
feat(Avatar): add onClick
prop ( #36940 )
2022-08-08 13:30:49 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
...
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive ( #34122 )
...
* perf: Improve List render perfermance when grid is undefined
https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151
* chore: do not export useBreakpoint param
Co-authored-by: zombiej <smith3816@gmail.com>
2022-02-21 16:48:39 +08:00
Map1en_
71e57c40ee
feat(Avatar): add crossOrigin property ( #31273 )
...
close #30932
2021-07-06 12:16:46 +08:00
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
2021-04-02 22:37:36 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +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
Tom Xu
9772a63b4c
fix: Avatar group size ( #27531 )
...
* fix: Avatar group size
* fix
2020-11-05 16:22:21 +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
不吃猫的鱼
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
二货机器人
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
07akioni
9d49434483
fix: merge conflict
2020-07-26 20:30:56 +08:00
xrk
877caa2b03
feat: Avatar.Group ( #25192 )
2020-07-13 12:45:37 +08:00