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
3 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
WuJiali
4ec1b8ae09
feat: Description list plus extra operation area ( #25512 )
* feat: Description list plus extra operation area
* 修复title与extra对齐,加版本等问题
* 去掉basic里extra
* 修改extra样式
* title与extra都没有的时候不展示header
* 更新测试用例
Co-authored-by: chenshuai2144 <qixian.cs@outlook.com>
4 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
二货机器人
4b0effbc0e
fix: Desctiption miss style when value is number 0 ( #21901 )
* fix: Desctiption miss style when value is number 0
* fix test case
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
Amumu
bb560537d9
chore: Descriptions warning message upgrade ( #20786 )
* fix warning
* warning message upgrade
* snapshot
* update
5 years ago
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing ( #20400 )
* fix: init miss sizing
* update mock test
5 years ago
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
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
二货机器人
76fd80634b
fix: Adjust Descriptions column calcuation logic ( #18568 )
* fix: Span calculation logic
* update spanshot
5 years ago
afc163
a51f7a0508
✅ test unmount
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
xuqiang
543262295a
fixed https://github.com/ant-design/ant-design/issues/17290
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
afc163
13379aa0d8
💄 Optimize examples code style
6 years ago
zombieJ
29ec272635
fix: Descriptions warning should work as expect ( #16819 )
* fix warning
* add MockDate
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