Commit Graph

43 Commits

Author SHA1 Message Date
xrkffgg
7f15e7f38e
fix: Descriptions labelStyle unsuccessful (#29942)
* fix: Descriptions labelStyle unsuccessful

* use hook

* Update components/descriptions/demo/style.md

* fix lint

* fix ts
2021-03-30 17:38:50 +08:00
二货机器人
a211756e6b
feat: desc support root level label & content style (#28613) 2020-12-30 17:08:43 +08:00
二货机器人
093a458026
feat: Support label & content style of Desc (#27897)
* feat: Support label & content style of Desc

* test: Update snasphot

* docs: fix desc
2020-11-20 13:41:58 +08:00
二货机器人
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
2020-10-26 18:40:26 +08:00
骗你是小猫咪
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
2020-10-23 18:50:46 +08:00
陈帅
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
2020-08-06 14:32:13 +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
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +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
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
2020-05-11 15:54:25 +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
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +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
Liu Ya
3fed6f02a5 fix: DescriptionItem className error to label (#20067) 2019-12-03 23:59:37 +08:00
偏右
d7e81027d6
🐛 Fix Descriptions items not working with React.Fragment (#20019)
close #19887
2019-11-30 18:10:56 +08:00
afc163
98a3de1eb7 🎬 update descriptions demo 2019-11-06 10:42:10 +08:00
二货机器人
b0c90f4b06
fix: description demo update (#19113) 2019-10-08 10:17:08 +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
陈帅
b73ac967f9 fix: fix descriptions demo warning (#18326)
* fix descriptions warning

* snapshot updated
2019-08-18 00:40:11 +08:00
陈帅
b133c4a2c4
style: descriptions style update (#18270)
* padding bottom support size

* add toc readme

* add demo

* fix lint

* snapshot updated
2019-08-16 10:01:46 +08:00
诸岳
cf564f32b0 test: Update snapshots 2019-07-15 10:08:20 +08:00
诸岳
3f47b2cac0 Merge master branch and fix conflicts 2019-07-15 10:01:37 +08:00
诸岳
8798198113
fix(test): Jest with ES Modules of react-dnd (#17607) 2019-07-13 10:29:47 +08:00
hengkx
99a2cc201e improve Descriptions code 2019-07-10 13:21:56 +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
陈帅
8eceb04d62 update snap
issue in #17280 and #17330
2019-06-29 00:39:53 +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
61318a1856 update descriptions snapshots 2019-06-27 14:16:21 +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