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
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
2022-03-25 09:38:55 +08:00
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>
2020-07-14 20:37:21 +08:00
二货机器人
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>
2020-05-14 15:57:04 +08:00
二货机器人
4b0effbc0e
fix: Desctiption miss style when value is number 0 ( #21901 )
...
* fix: Desctiption miss style when value is number 0
* fix test case
2020-03-05 17:54:58 +08:00
二货机器人
1fad2b0277
fix: Lots of Descriptions ( #21542 )
...
* refactor
* class name
* update demo snapshot
* clean up
* update snapshot
* fix test case
* more test case
* adjust logic
2020-02-23 20:48:16 +08:00
zombiej
8d7f1dadef
chore: Update Description snapshot with mount render instead
2020-02-23 17:07:55 +08:00
Amumu
bb560537d9
chore: Descriptions warning message upgrade ( #20786 )
...
* fix warning
* warning message upgrade
* snapshot
* update
2020-01-10 10:35:20 +08:00
二货机器人
4047e2632e
fix: responsiveObserve init miss sizing ( #20400 )
...
* fix: init miss sizing
* update mock test
2019-12-23 23:24:47 +08:00
偏右
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
2019-12-23 18:33:08 +08:00
偏右
d7e81027d6
🐛 Fix Descriptions items not working with React.Fragment ( #20019 )
...
close #19887
2019-11-30 18:10:56 +08:00
二货机器人
27afeaf3a1
fix: Descriptions warning with key ( #18637 )
2019-09-03 17:18:03 +08:00
二货机器人
4dfed8d0b7
chore: Col support key if user providered ( #18578 )
2019-08-30 15:56:44 +08:00
二货机器人
76fd80634b
fix: Adjust Descriptions column calcuation logic ( #18568 )
...
* fix: Span calculation logic
* update spanshot
2019-08-30 12:31:10 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00
诸岳
3f47b2cac0
Merge master branch and fix conflicts
2019-07-15 10:01:37 +08:00
hengkx
3db32cb631
feat:Descriptions support colon props
2019-07-10 10:32:02 +08:00
M Mitchell
4e629da9ab
fix: Should allow inline style for Descriptions component, close #17533 ( #17558 )
2019-07-10 10:01:31 +08:00
陈帅
722b39ec16
Merge branch 'master' into feature
2019-06-28 21:55:15 +08:00
xuqiang
543262295a
fixed https://github.com/ant-design/ant-design/issues/17290
2019-06-27 16:06:34 +08:00
hengkx
2a9da95a92
feat: Descriptions add vertical layout
2019-06-27 11:29:33 +08:00
偏右
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
2019-06-26 16:05:46 +08:00
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
2019-06-21 13:49:01 +08:00
afc163
13379aa0d8
💄 Optimize examples code style
2019-05-27 22:04:17 +08:00
zombieJ
29ec272635
fix: Descriptions warning should work as expect ( #16819 )
...
* fix warning
* add MockDate
2019-05-27 16:41:56 +08:00
陈帅
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
2019-05-22 23:22:09 +08:00