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
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful ( #29942 )
* fix: Descriptions labelStyle unsuccessful
* use hook
* Update components/descriptions/demo/style.md
* fix lint
* fix ts
4 years ago
二货机器人
a211756e6b
feat: desc support root level label & content style ( #28613 )
4 years ago
二货机器人
093a458026
feat: Support label & content style of Desc ( #27897 )
* feat: Support label & content style of Desc
* test: Update snasphot
* docs: fix desc
4 years ago
二货机器人
59a133274b
fix: Desc label with flex node ( #27375 )
* fix: Desc label with flex node
* test: Update snapshot
* rm useless css
* more style
* rm useless code
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 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
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
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
二货机器人
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
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
afc163
98a3de1eb7
🎬 update descriptions demo
5 years ago
二货机器人
b0c90f4b06
fix: description demo update ( #19113 )
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
陈帅
b73ac967f9
fix: fix descriptions demo warning ( #18326 )
* fix descriptions warning
* snapshot updated
5 years ago
陈帅
b133c4a2c4
style: descriptions style update ( #18270 )
* padding bottom support size
* add toc readme
* add demo
* fix lint
* snapshot updated
5 years ago
orzyyyy
28f39739df
test: update snapshots
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
诸岳
cf564f32b0
test: Update snapshots
5 years ago
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd ( #17607 )
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
陈帅
8eceb04d62
update snap
issue in #17280 and #17330
5 years ago
xuqiang
543262295a
fixed https://github.com/ant-design/ant-design/issues/17290
5 years ago
hengkx
61318a1856
update descriptions snapshots
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