lijianan
d6aa3aaf10
test: migrate part of Descriptions tests ( #36970 )
* refactor: rewrite header by FunctionComponent
* refactor: rewrite footer by FunctionComponent
* fix: strong type
* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent
* style: formatting
* pref: add useCallback/useMemo
* refactor: use typescript refactor javascript
* fix: remove string
* fix: fix eslint
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
* test: migrate part of Descriptions tests
2 years ago
zhao-huo-long
5588dae212
fix: Descriptions number 0 can't render span ( #34696 )
* fix: number 0 can't render span
* Update Cell.tsx
* chore: add test case
3 years ago
陈帅
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
4 years ago
Tom Xu
d766472d94
feat: descriptions add less variable ( #24032 )
* feat: add less variable @descriptions-item-trailing-colon,@descriptions-it,@descriptions-item-label-colon-margin-leftem-label-colon-margin-right,
* fix
* Update demo.test.js.snap
5 years ago
二货机器人
1fad2b0277
fix: Lots of Descriptions ( #21542 )
* refactor
* class name
* update demo snapshot
* clean up
* update snapshot
* fix test case
* more test case
* adjust logic
5 years ago
zombiej
8d7f1dadef
chore: Update Description snapshot with mount render instead
5 years ago
Liu Ya
3fed6f02a5
fix: DescriptionItem className error to label ( #20067 )
5 years ago
偏右
d7e81027d6
🐛 Fix Descriptions items not working with React.Fragment ( #20019 )
close #19887
5 years ago
二货机器人
27afeaf3a1
fix: Descriptions warning with key ( #18637 )
5 years ago
二货机器人
4dfed8d0b7
chore: Col support key if user providered ( #18578 )
5 years ago
诸岳
cf564f32b0
test: Update snapshots
5 years ago
hengkx
99a2cc201e
improve Descriptions code
5 years ago
hengkx
3db32cb631
feat:Descriptions support colon props
5 years ago
M Mitchell
4e629da9ab
fix: Should allow inline style for Descriptions component, close #17533 ( #17558 )
5 years ago
hengkx
2a9da95a92
feat: Descriptions add vertical layout
5 years ago
偏右
94072ad5ea
fix: Descriptions.Item not support className ( #17280 )
* 🐛 Fix Desciptions.Item not support className
close #17276
* refactor descriptions styles implementation
* use `th` as label elements in bordered situation
* ✅ update snapshots
5 years ago
Andrew Shini
07c85ea21f
fix: Clone only valid react child elements ( #17207 )
* Clone child only if it exists
child can be void | null | boolean | string | number | element.
* Add test
6 years ago
陈帅
3e32364dc0
New component Descriptions ( #14645 )
* add new component: DescriptionList
* add warning message
* docs: fix doc typo
* feat: implement the size attribute
* docs: fix doc typo
* refactor: use new name Descriptions
* test: snapshots updated
* feat: support react15
* style: fix code style warring
* style: better var name
* style: better code style
* style: merge css class
* feat: add responsive config
* fix: fix error title
* style: use @border-radius-base
* update snapshot
* feat: set default column
* test: add test script
* style: fix property defaultProps is useless error
* style: more robust code
* style: fix codereview warning
* style: fix review warning
* use responsiveObserveserve
* fix review warning
* bug: add childrenArray copy,prevent changes to incoming parameters
* fix dom error
* fix typo
* fix test
* don't use this
* snapshot updated
* prettier md
* remove descriptions md text
* new rendering method
* doc :add dot
* style: add right border
6 years ago