二货机器人
b4519407b8
fix: Table.Column should correct handle sorter state ( #21194 )
2020-02-03 16:48:13 +08:00
二货机器人
d02c486052
feat: Modal support hooks ( #20949 )
...
* init hooks
* portal it in
* children with 2 context demo
* Remove config since not more second demo
* Quit with same Component for logic reuse
* add rest functions
* use localeReceiver
* use localeReceiver
* update test case
* fix lint
* update docs
* update demo title
2020-02-03 13:00:35 +08:00
二货机器人
207fc03c91
fix: Form.Item with name 0
should be validate ( #21179 )
...
* fix FormItem missing name
* update test case
2020-02-02 22:28:05 +08:00
二货机器人
b36e96043f
feat: Form.Item support validateFirst ( #21178 )
2020-02-02 21:40:16 +08:00
二货机器人
92998e67ef
refactor: Button disable autoInsertSpaceInButton
will not calculate text length ( #21176 )
...
* skip check
* add test case
2020-02-02 18:03:38 +08:00
二货机器人
eb399e9fe7
fix: Select multiple selection margin ( #21175 )
...
* fix style
* fix size
* fix lint
2020-02-02 16:57:23 +08:00
tae
88642f6048
refactor: Progress use React.Fragment
to remove unused div ( #21170 )
2020-02-02 11:12:07 +08:00
二货机器人
d96ab1c985
fix: Table expandIcon
should work ( #21169 )
...
* test driven
* fix logic
2020-02-01 22:50:58 +08:00
二货机器人
074fa324b6
fix: FormItem required not work without name ( #21168 )
2020-02-01 20:09:29 +08:00
Teng YANG
048a6e28a3
fix : #21134 checkbox can't receive context update from checkbox group ( #21146 )
...
* fix checkbox can't receive context update issue
* add test case for checkbox handling context update
2020-01-31 21:25:34 +08:00
Felix
db99fe752f
Phrasing ( #21142 )
...
Small edit that I believe may be more appropriate for what this paragraph is trying to convey.
2020-01-30 13:07:51 +08:00
琚致远
b9dca84e78
docs: Update fileList.md ( #21144 )
...
* Update fileList.md
* Update fileList.md
2020-01-30 13:06:17 +08:00
Teng YANG
5fcd73c371
fix transfe checkbox label unit calculate issue ( #21136 )
2020-01-29 22:22:57 +08:00
Chris Frisina
0b4caf96d1
docs: Clarifying property conflicts in English ( #21118 )
...
* clarifying conflicts in english
To show which property it conflicts with
* Update index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-01-29 21:44:34 +08:00
Maurício Rodrigues
e963bdb6ed
fix: pt_BR locale rangePlaceholder translation
...
Simply adjusting for a more accurate translation =)
2020-01-28 08:44:13 -03:00
Teng YANG
8cf8c16142
update display names for layout components ( #21123 )
2020-01-28 15:03:04 +08:00
二货机器人
0f1629b244
fix: Input suffix form validate error style ( #21121 )
...
* fix: Input suffix form validate error style
* update style
* update snapshot
2020-01-28 12:38:30 +08:00
zombiej
c2e7264ac9
chore: update snapshot
2020-01-28 12:16:48 +08:00
Teng YANG
8f5ea54cc7
remove moment deps in Countdown ( #21108 )
2020-01-27 10:08:02 +08:00
Teng YANG
bf56026809
update clearfix mixin ( #21109 )
...
Refs: ff29c1224c/scss/mixins/_clearfix.scss
2020-01-26 21:42:14 +08:00
Teng YANG
3ee4d822fc
fix: card actions font-size issue ( #21107 )
...
Fix card component action font-size not controlled by theme variable.
(cherry picked from commit e65b383df8
)
2020-01-26 12:11:59 +08:00
二货机器人
996b7bc8f0
fix: Input suffix should work with append ( #21105 )
2020-01-25 17:50:03 +08:00
偏右
4126ed8571
Update index.zh-CN.md
2020-01-25 11:34:39 +08:00
Amumu
3513c3493f
className to be the last ( #21074 )
2020-01-25 00:27:56 +08:00
xrkffgg
f46b674f35
fix: timeline content style ( #21068 )
2020-01-25 00:23:15 +08:00
Jirka-Lhotka
a0fec0874d
Fix wrong event type of AntTreeNodeMouseEvent ( #21102 )
2020-01-25 00:22:28 +08:00
Chris Frisina
1db1e57792
Update register.md ( #21093 )
...
English Grammar
2020-01-24 09:40:09 +08:00
Yash Joshi
9cfc617ce6
fix(docs): add note about prefixCls styles ( #21073 )
...
* fix(docs): add note about prefixCls styles
* add docs for chinese
2020-01-22 22:16:16 +08:00
二货机器人
c4b9a02036
docs: Add FormItem FAQ with Modal ( #21077 )
...
* docs: Add faq
* Update index.en-US.md
2020-01-22 20:20:18 +08:00
yoyo837
ca8ea41118
Revert "change the prop className of the Header, Footer and Content to the last"
...
This reverts commit e728f406d8
.
2020-01-22 16:07:32 +08:00
yoyo837
e728f406d8
change the prop className of the Header, Footer and Content to the last
2020-01-22 16:07:06 +08:00
二货机器人
58133bcabd
update demo ( #21069 )
2020-01-22 12:11:49 +08:00
二货机器人
ee6f63f2e1
chore: Fix TS define of FormItem ( #21067 )
2020-01-22 11:33:35 +08:00
偏右
26c08cd51b
Merge pull request #21061 from ant-design/feature
...
Merge master into feature
2020-01-21 23:19:57 +08:00
Amumu
f783ddabf4
fix: change the prop className of the Layout and others to the last ( #21041 )
...
* className to be the last
* snapshot
2020-01-21 22:09:09 +08:00
Saeed Rahimi
0dd9d44229
fix: rtl issue in breadcrumb ( #21054 )
...
* fix: rtl issue in breadcrumb
* update snapshots
* resolve ci
2020-01-21 22:01:53 +08:00
骗你是小猫咪
6378d16e19
chore: upgrade rc-table ( #21053 )
2020-01-21 20:43:52 +08:00
Saeed Rahimi
267e7e159b
Revert "fix: rtl issue in breadcrumb"
...
This reverts commit 53825391e8
.
2020-01-21 15:02:11 +03:30
Saeed Rahimi
53825391e8
fix: rtl issue in breadcrumb
2020-01-21 14:50:21 +03:30
xiaohuoni
fa14546a40
chore: code style
2020-01-21 17:14:58 +08:00
xiaohuoni
623e83f643
docs: remove repeated definition
2020-01-21 16:26:47 +08:00
xiaohuoni
1c1c30e99c
docs: a demo use typescript
2020-01-21 16:21:37 +08:00
Amumu
f4806ef9da
fix: add less variable to fix Layout.Header font color ( #21033 )
...
* add less variable to fix Layout.Header font color
* fix lint
2020-01-21 11:24:57 +08:00
二货机器人
77927cadd2
Merge pull request #21042 from ant-design/master
...
chore: merge master
2020-01-21 11:23:42 +08:00
二货机器人
fd498a7da5
docs: Design doc ( #20754 )
...
* docs: Design doc
* update overview & init data-format
* update data-format doc
* update buttons page
* replace imags
* add data-list doc
* add visualization docs
* update detail
* Update visualization-page.md
* Update detail-page.md
* Update buttons.md (#20843 )
* Update data-list.md (#20844 )
* data list
* update details
* Update MorePage.tsx (#20965 )
* Update MorePage.tsx
* Update visualization-page.md (#20977 )
* Update data-list.md (#20980 )
* Update detail-page.md (#20981 )
* chore: Update RecommendPage.tsx (#20989 )
* Update RecommendPage.tsx
* Update RecommendPage.tsx
* Update buttons.md (#21003 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update buttons.md (#21004 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* rm inner link
* hide docs tmp
* fix typo
* adjust doc
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: linye <59957450+ionshaw@users.noreply.github.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
2020-01-20 17:21:29 +08:00
二货机器人
bfcd00a67b
fix: Form.Item ignore help = '' ( #21026 )
...
* help should support empty text
* test case
2020-01-20 16:09:59 +08:00
二货机器人
9aee6d62d8
fix: Table locale emptyText should work ( #21024 )
2020-01-20 15:12:49 +08:00
Amumu
9c5a3c6cec
chore: Revert #21013 and upgrade ( #21015 )
...
* Revert "💄 (Timeline): add @timeline-item-padding variable (#21013 )"
This reverts commit 6b3b6aa511
.
* add @timeline-item-padding-bottom
2020-01-20 10:28:51 +08:00
He Linming
6b3b6aa511
💄 (Timeline): add @timeline-item-padding variable ( #21013 )
...
close #20953
2020-01-19 21:11:55 +08:00
zombiej
2584635d73
chore: Update snapshot & clean typo of Table scroll desc
2020-01-19 16:57:04 +08:00
偏右
9c41d4c3b6
🎬 update drawer demo ( #20988 )
2020-01-17 23:32:56 +08:00
Zhengquan Xian
219cae3355
fix: Drawer footerStyle react warning ( #20983 )
...
fix #20978
2020-01-17 19:50:02 +08:00
xrkffgg
156c1dbe17
docs: translation API doc ( #20984 )
2020-01-17 18:23:58 +08:00
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
2020-01-17 17:23:47 +08:00
二货机器人
ddfce71532
fix: Table selectAll should not checked when all the checkbox is disabled ( #20968 )
2020-01-17 14:02:07 +08:00
二货机器人
7f1f08b4a9
chore: Remove labelInValue
in AutoComplete props ( #20967 )
2020-01-17 12:45:09 +08:00
cjmafei
32e80157c6
Tooltip doesn't disappear on disabled Dropdown.Button ( #20960 )
2020-01-17 12:10:59 +08:00
二货机器人
f8001a8048
docs: Fix autoComplete demo ( #20964 )
2020-01-17 12:09:41 +08:00
二货机器人
b67a1bee7d
fix: Form.Item keep render even it's not a Field ( #20963 )
...
* Not use Field when Form.Item is pure
* Add test case
* clean up
* add delay update for test
2020-01-17 11:50:06 +08:00
偏右
55bbe3d113
docs: fix auto complete demo ( #20946 )
...
* docs: fix and refactor AutoComplete demo
* ✅ update snapshot
* fix lint
2020-01-17 11:39:31 +08:00
二货机器人
9fd99f4dfc
Update index.zh-CN.md ( #20962 )
2020-01-17 10:48:25 +08:00
Gabriel Le Breton
0937ee54fb
Fix wording of a FAQ entry in form documentation ( #20954 )
2020-01-17 10:04:42 +08:00
二货机器人
8ff0413f77
Merge pull request #20951 from ant-design/master
...
chore: feature merge master
2020-01-16 21:54:04 +08:00
zombiej
ff079e7d2a
chore: Update Table related snapshot
2020-01-16 15:43:45 +08:00
二货机器人
12894980fb
Merge pull request #20915 from ant-design/master
...
chore: Feature merge master
2020-01-15 13:26:19 +08:00
二货机器人
c36c890f07
fix: Avoid Select clear icon overlap with selections ( #20914 )
2020-01-15 13:26:09 +08:00
Amumu
ea0604bb3c
fix typo ( #20913 )
2020-01-15 12:16:12 +08:00
二货机器人
246adcd5dd
docs: Add Tree virtual scroll demo ( #20911 )
...
* docs: Add Tree virtual scroll demo
* update snapshot
* show debug demo
* rename
* fix lint
* skip virtual list demo snapshot since conflict in node test
2020-01-15 12:13:20 +08:00
RollTsai
5837c68b1e
Update index.en-US.md ( #20912 )
2020-01-15 12:00:13 +08:00
xrkffgg
a9d76175d0
style: Optimize select other sizes placeholder text centered ( #20884 )
...
* style: 优化 select 其他尺寸 placeholder 文字居中
* use transform
* docs: update mode message
2020-01-15 10:37:49 +08:00
偏右
9a3640968e
🐛 Fix List item flex layout ( #20897 )
...
close #20648
2020-01-15 10:36:16 +08:00
李子瀚(Hans Lee)
1fb7407085
4.0 Form scrollToField: Pass options to form scrollToField ( #20774 )
...
* fix: form.scrollToField should accept options from scrollIntoView
* doc: Fixed wrong doc content
* doc: Fix docs pointing to scroll-into-view-if-needed
2020-01-14 22:50:49 +08:00
二货机器人
5556ab585f
chore: Add DatePicker related interface ts export ( #20900 )
2020-01-14 19:46:05 +08:00
偏右
e98f4acd92
🐛 Fix Tooltip title 0 is not shown ( #20894 )
...
close #20891
2020-01-14 17:57:05 +08:00
二货机器人
d231d24300
update docs & table version ( #20892 )
2020-01-14 16:23:47 +08:00
二货机器人
7a3cf0b93e
fix: help will shake in Form ( #20886 )
2020-01-14 14:45:22 +08:00
二货机器人
8bf66ce8be
fix: Input affix use inline-flex ( #20872 )
...
* fix: Input affix use inline-flex
* update snapshot
2020-01-14 11:59:38 +08:00
二货机器人
9d7edcd38b
fix: Select placeholder style issue ( #20883 )
...
* fix: Select placeholder style issue
* lint it
2020-01-14 11:45:26 +08:00
xrkffgg
2c092df9da
fix: select 多选时的 padding ( #20861 )
...
* fix: select 多选时的 padding
* fix: RTL
* remove css
* fix: rtl 模式下 signle
2020-01-13 23:39:42 +08:00
Amumu
6df1973aec
docs: tree-select docs upgrade ( #20745 )
...
* docs upgrade
* update
2020-01-13 21:42:17 +08:00
偏右
0d29a3dab9
Update presuffix.md
2020-01-13 20:55:34 +08:00
二货机器人
3fa274190e
Remove magic number of style align ( #20869 )
...
* fix: Adjust baseline align
* clean up
* Select style
* fix lint
2020-01-13 19:36:27 +08:00
soeyi
a5cb32fd5b
feat: add back @border-radius-sm ( #20818 )
...
* feat: add back @border-radius-sm
* feat: use @border-radius-base instead of 2px
2020-01-13 16:01:23 +08:00
二货机器人
f470f3e1e4
fix: Table onChange return cached data ( #20858 )
2020-01-13 15:04:27 +08:00
afc163
e3b0104c53
🐛 fix Firefox placeholder opacity
...
https://bugzilla.mozilla.org/show_bug.cgi?id=556145
2020-01-13 14:43:35 +08:00
偏右
2c12972759
💄 fix message shadow get cutted ( #20856 )
...
close #20798
2020-01-13 14:22:17 +08:00
偏右
2dc7b3fc17
feat: 🆕 Add buttonsRender to Dropdown ( #20815 )
...
* 🆕 Add buttonsRender to Dropdown
* ✅ update snapshot
* 📝 update document for buttonsRender
* ✅ fix demo lint
2020-01-13 12:15:20 +08:00
骗你是小猫咪
5a81182678
fix(Form.Item): label text align not correct when media less than xs and span not 24 ( #20836 )
2020-01-13 10:32:32 +08:00
二货机器人
23bbc40180
Merge pull request #20841 from ant-design/feature
...
chore: feature merge into master
2020-01-12 23:39:50 +08:00
Hami Abdi
d70637edba
feat: Add Min-Width Style Variables for Switch Component ( #20829 )
...
* chore: Export form typescript interface
* Feat -- Min-Width Style Variables for Switch Component
Implementation of feature request from @LuisRodriguezLD
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-11 23:24:10 +08:00
Jichao Zhong
b60eb4d20d
Fix Documentation for Form API ( #20830 )
2020-01-11 23:18:46 +08:00
zombiej
3a1c51010f
chore: Export form typescript interface
2020-01-10 11:55:42 +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
二货机器人
00aab562a0
fix: Table expand icon not clickable when expandRowByClick is set ( #20808 )
2020-01-09 22:44:31 +08:00
二货机器人
078498058a
fix: Update table deps & fix bordered placeholder missing border right ( #20805 )
2020-01-09 21:46:55 +08:00
xrkffgg
8a9e2c5784
style: 优化calendar若干样式 ( #20790 )
...
* style:优化calendar若干样式
1. 基本样式月份下拉框宽度
2. 通知事项的文字反向
3. 卡片模式,选择框的尺寸
* fix: css order
* fix css
2020-01-09 15:40:29 +08:00
信鑫-King
da64b8b59a
tweak: DatePicker styling ( #20736 )
...
* tweak: picker start and end border-radius
* fix: border
* feat: @picker-basic-cell-active-with-range-color: and @picker-date-hover-range-color
* fix: border-radius use less vars
* revert: date picker panel border
2020-01-09 15:32:12 +08:00
信鑫-King
27f1835965
chore: dark site images address ( #20796 )
...
* fix: dark site images address
* fix: snapshot
2020-01-09 15:28:52 +08:00
二货机器人
1bea19b1dc
fix: Move table-bg less variable into table background instead of td ( #20794 )
2020-01-09 14:22:34 +08:00
zombiej
935a984cca
chore: Update snapshot & generate log script
2020-01-09 14:08:02 +08:00
二货机器人
12c8750488
chore: Add missing Table export interface ( #20789 )
...
* chore: Add missing Table export interface
* fix lint
2020-01-09 13:47:30 +08:00
二货机器人
05ebf0f8cc
chore: Not block input when Input value is undefined
( #20783 )
...
* chore: Input should not block input when `value` is undefined
* add test casw
* Fix test case & add breaking change in changelog
* fix prevValue logic
* patch change log
2020-01-09 11:13:07 +08:00
xrkffgg
0800063f34
fix: 修复 Carousel 组件 left/right 模式下卡片轮播方向 ( #20781 )
...
* fix: 修复 Carousel 组件 left/right 模式下卡片轮播方向
* fix: snap
* add: test
* remove: unnecessary code
2020-01-09 10:23:53 +08:00
zouxiaomingya
563f46b130
feat: update article length ( #20767 )
2020-01-08 19:21:23 +08:00
偏右
37b61c1ada
🐛 Fix Grid initial gutter ( #20762 )
...
like SSR situation
2020-01-08 17:14:29 +08:00
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working ( #20765 )
...
Fix InputNumber and Other components icon size
close #20752
2020-01-08 16:31:25 +08:00
xrkffgg
f3b9a166ac
fix: 修复DatePicker 预设范围的选择按钮样式 ( #20760 )
2020-01-08 15:13:49 +08:00
afc163
4ee414d134
🎬 improve Tag demo
2020-01-08 15:08:54 +08:00
偏右
2ebaa7e7a6
🐛 fix Tree switcherIcon shown in leaf node ( #20753 ) ( #20755 )
...
close #20511
2020-01-08 14:09:06 +08:00
偏右
539b4cd968
🐛 tweak @zindex-badge for table fixed column ( #20751 )
...
close #20750
close #13930
2020-01-08 12:09:53 +08:00
偏右
90d819fc6f
docs: 📝 update title to Replace Moment.js ( #20730 )
...
* 📝 update title to Replace Moment.js
* Update and rename generate-picker.zh-CN.md to replace-moment.zh-CN.md
* 🔗 fix links
2020-01-08 11:29:37 +08:00
偏右
66e2a3ccc0
🔤 Tweak font family, same as tailwindcss ( #20747 )
...
https://tailwindcss.com/docs/font-family/#app
2020-01-08 11:29:15 +08:00
二货机器人
222849235d
fix: TextArea autoSize blink in FireFox ( #20737 )
2020-01-07 20:57:42 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time ( #20733 )
2020-01-07 19:17:51 +08:00
二货机器人
4068f3d190
fix: RowSelection fixed should work ( #20735 )
2020-01-07 19:17:37 +08:00
二货机器人
5c8cec5512
fix: Form validate should keep refresh ( #20725 )
...
* fix: Form error should not keep cache when errors changed
* add test case
2020-01-07 16:20:18 +08:00
偏右
0ceb6cc89d
🐛 Fix Cascader search bug when fieldNames existed ( #20720 )
...
and label/value have same field name
close #20619
2020-01-07 13:41:41 +08:00
Kuitos
7033a273ef
fix: correct the collapse-borderless class variable ( #20718 )
2020-01-07 13:10:30 +08:00
骗你是小猫咪
5398f24a97
refactor: improve digital input in tooltip demo ( #20702 )
...
* refactor: improve digital input in tooltip demo
* fix lint
2020-01-07 11:42:31 +08:00
二货机器人
182dcf5606
fix: Chrome scale 125% should not display y-scrollbar ( #20705 )
2020-01-07 10:48:42 +08:00
二货机器人
1c1a4a773d
fix: Table should not crash with empty column children ( #20703 )
2020-01-06 20:28:47 +08:00
二货机器人
c5a40fc683
fix: Slider Tooltip not follow handler ( #20699 )
...
* fix: Slider Tooltip not follow handler
* force align only when tooltip visible
2020-01-06 20:09:12 +08:00
偏右
78f5607034
🐛 fix Card cover image get skretched ( #20701 )
...
close #20698
2020-01-06 19:12:54 +08:00
二货机器人
6017b3f025
fix: Table ts define ( #20695 )
2020-01-06 17:28:28 +08:00
zouxiaomingya
3630569424
🐛 fix: Typography ellipsis miss calculate decimal ( #20689 )
2020-01-06 16:26:54 +08:00
二货机器人
17dd0d2de8
fix: FormItem should not trigger feedback className without hasFeedback ( #20691 )
2020-01-06 15:02:04 +08:00
Dean van Niekerk
019fdd58a0
feat: add footer property to Drawer ( #20690 )
2020-01-06 14:56:00 +08:00
二货机器人
87d32dc633
fix: AutoComplete customize input should fully stretch ( #20686 )
...
* fix: AutoComplete customize input should fully strecth
* fix lint
2020-01-06 14:54:52 +08:00
偏右
faa969206c
🐛 Fix Input.Group align in Form.Item ( #20681 )
...
https://codesandbox.io/s/antd-reproduction-template-3x2kv
2020-01-06 14:25:59 +08:00
zombiej
e38a88181d
chore: Merge 4.0-prepare
2020-01-06 11:13:39 +08:00
zombiej
ff6c91537d
docs: Fix typo
2020-01-06 10:38:51 +08:00
zombiej
7c8d942034
chore: Add missing test snapshot
2020-01-03 20:45:39 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 ( #20642 )
...
* fix: rtl direction bug
* 📝 dark theme usage docs
* fix: sketch download
* fix: theme dark
* 📝 empty image
* fix: dark form with mixture components like picker, input
* 📝 update sketch release download
* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
叶枫
6c3d6e7247
feat: upload add icon ( #20034 )
...
* feat: add custom icon
* chore: test
* fix: eye style
* fix: anticon style
* fix: stylelint
* Update Form.tsx
* Update Form.tsx
* feat: 26
* feat: fiie-type
* Update basic.md
* Update debug.md
* Update target.md
* Update Steps.tsx
* Update element.md
* chore: clearn up
* chore: clearn up
* chore: clearn up
* fix: handleIconRender
* fix: iconNode
2020-01-03 17:48:10 +08:00
xrkffgg
a4ac7de4c5
fix: Fix carousel dotPosition not working ( #20645 )
...
close #20638
2020-01-03 16:53:17 +08:00
偏右
8e1051daf5
🐛 Fix DatePicker in Input.Group missing left border when hover ( #20644 )
...
close #20372
2020-01-03 16:21:34 +08:00
二货机器人
493e987f16
fix: add IE 11 css hack ( #20643 )
2020-01-03 16:17:28 +08:00
afc163
a6ffc3a196
✅ fix stylelint
2020-01-03 15:57:57 +08:00
afc163
b15136f41f
📝 optimize button usage
2020-01-03 15:38:52 +08:00
afc163
7e1dc348a9
✅ update snapshots
2020-01-03 15:38:51 +08:00
afc163
e1262b0d1d
📝 optimize button docs and demos
2020-01-03 15:38:50 +08:00
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
...
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
2020-01-03 15:20:28 +08:00
zombiej
dafc5a2f1d
docs: Update Home site
2020-01-03 15:20:10 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
...
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
2020-01-03 13:38:16 +08:00
afc163
08f3643272
✅ resolve merge conflict
2020-01-03 12:09:35 +08:00
只捱宅
9913f992b7
docs: update demo of Affix whth hooks ( #20124 )
...
* chore: update for basic.md
* chore: update for debug.md
* chore: update for target.md
* chore: import react
* chore: update for debug.md with hooks
* chore: refactor with typescript
2020-01-03 11:55:35 +08:00
vagusX
4df1cd3db2
docs: update Modal docs ( #20612 )
...
* doc: update Modal docs
* doc: update modal en-US doc
2020-01-02 23:22:54 +08:00
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
...
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
2020-01-02 21:21:57 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
信鑫-King
f88f383be6
fix: dark site in Form and iframe change ( #20573 )
...
* fix: suggestion dark bg
* fix: demo use autoComplete="off"
* feat: support iframe theme change
* fix: iframe dark theme
* upd: test snapshot
* fix: lint
* fix: lint
* tweak: use theme-switcher to handle iframe and parent
* feat: support iframe theme change
* fix: dark shadow
* fix: layout style
* fix: dark site style
* fix: snapshot
2020-01-02 17:54:11 +08:00
二货机器人
0b5c92b1a4
chore: Clean up merged code ( #20595 )
...
* chore: Clean up merged code
* fix hy-am
2020-01-02 16:51:52 +08:00
陈小聪
014bed6358
docs: generate picker ( #20515 )
...
* docs: faq How to use dayjs instead of moment
* adjust article position
* add steps and use cases
* change docs
* add bisheng config source
* translate title
* remove customize TimePicker
* simplified document
* Update docs/react/generate-picker.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/react/generate-picker.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* add cra demo
* init demo refer 'Use in TypeScript'
Co-authored-by: 偏右 <afc163@gmail.com>
2020-01-02 16:05:59 +08:00
二货机器人
1168cb5909
docs: Update demo remove table background ( #20593 )
2020-01-02 15:47:30 +08:00
vagusX
da8ebb973a
feat: use @ant-design/icons@4.0.0-alpha.19 to fix ref issue ( #20588 )
2020-01-02 14:11:12 +08:00
叶枫
4adc4df3e6
fix: form item array children interface ( #20577 )
...
* Update Form.tsx
* Update Form.tsx
* fix: fix formItem array children interface
* fix: array
* feat: test
2020-01-01 20:07:09 +08:00
zombiej
36189b5787
docs: Add missing form List operation
2019-12-31 20:54:04 +08:00
capdiem
91e342355c
🐛 fix: Fix that types of property 'children' are incompatible ( #20554 )
2019-12-31 20:21:30 +08:00
信鑫-King
f69b656a04
Merge pull request #20555 from ant-design/fix-dark-component
...
fix: site dark tweak style
2019-12-31 17:49:04 +08:00
ycjcl868
857fc6e73c
fix: timeline dot bg
2019-12-31 15:45:33 +08:00
二货机器人
deba77b3d6
fix: Tree missing aniation when virtual scrolled ( #20565 )
...
* fix: Tree missing aniation when virtual scrolled
* clean up
* skip debug test
2019-12-31 15:45:28 +08:00
ycjcl868
b2722078a2
fix: transfer customize disable Input style
2019-12-31 15:32:09 +08:00
ycjcl868
eb005a17cb
fix: table header
2019-12-31 15:12:18 +08:00
ycjcl868
fce441843c
fix: margin-bottom style
2019-12-31 15:12:18 +08:00
ycjcl868
e7663800c6
fix: Picker margin-bottom
2019-12-31 15:12:18 +08:00
ycjcl868
0903e3924c
fix: button dark hover,active
2019-12-31 15:12:18 +08:00
ycjcl868
f230ac58d6
fix: site dark, tweak style
2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors ( #20562 )
2019-12-31 15:04:00 +08:00
偏右
2adf8ced24
fix: 💄 Remove Input.Password value attribute from dom ( #20544 )
...
* 💄 Remove Input.Password value attribute in dom
close #20541
close #7761
close #19959
close #20536
close #12672
close #10952
* ✅ fix test coverage
* 🐛 fix defaultValue create `value` attribute in Input.Password
2019-12-31 14:41:09 +08:00
偏右
cc2a29ca54
💄 optimize card hoverable style ( #20561 )
2019-12-31 14:30:46 +08:00
偏右
7dea548551
refactor: 🗑 remove deprecated or compatibility css code ( #20547 )
...
* 🗑️ remove deprecated or compatibility css code
* ✅ update snapshots
* ✅ fix test case and compile error
* ✅ fix stylelint
2019-12-31 11:54:39 +08:00
Yash Joshi
8704569a30
fix(style): form field error border style for select ( #20517 )
...
* fix(style): form field error border style for select
* fix: add style for input-group-addon
* fix: remove invalid styles
2019-12-30 22:50:33 +08:00
二货机器人
849746b361
fix: Select use value width instead of default fixed width ( #20538 )
...
* init using content width
* auto width
* tmp magic number
* clean useless style
2019-12-30 22:49:19 +08:00
DiamondYuan
4297f33e85
fix: use Object.prototype.toString to check object ( #20546 )
...
close #20528
2019-12-30 22:14:17 +08:00
偏右
8ea9356399
💄 Improve Step type="navigation"
UI in small screen ( #20545 )
...
close #19877
2019-12-30 20:13:24 +08:00
zombiej
530db658bc
chore: Merge master
2019-12-30 16:43:34 +08:00
liyuanqiu
121437b666
Remove inconsistant style ( #20533 )
...
Remove "line-height: unset;" from ".@{radio-group-prefix-cls}".
It causes inconsistance with Checkbox.Group.
See: https://codesandbox.io/s/antd-radio-line-height-8kt7u
2019-12-30 16:01:29 +08:00
二货机器人
f2fdf490de
fix: Table with invalidate pagination totol should ignore ( #20532 )
2019-12-30 15:35:53 +08:00
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue ( #20524 )
...
* docs: Update form demo to remove defaultValue
* update demo
* update styl
* add missing content
* update snapshot
2019-12-30 14:53:47 +08:00
二货机器人
e3126ab20d
chore: Add warning when use remove function ( #20527 )
2019-12-30 12:13:58 +08:00
二货机器人
0189ba61bf
docs: Update demo error message ( #20521 )
2019-12-29 18:32:13 +08:00
Yash Joshi
f022709f91
fix: padding right for select[size=small] ( #20506 )
...
* fix: padding right for select[size=small]
* fix: add style on class with arrow icon
2019-12-28 22:39:18 +08:00
偏右
df8f34309f
revert Table page return 1 after sort ( #20507 )
...
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
2019-12-28 21:52:09 +08:00
Yash Joshi
8b81ce7cc3
fix: select icon on hover & focus in input.group ( #20504 )
2019-12-28 16:13:33 +08:00
二货机器人
1636f6107e
fix: FormItem errors should show in diff line ( #20512 )
2019-12-28 14:53:43 +08:00
二货机器人
695b67b045
fix getPopupContainer not work ( #20509 )
2019-12-28 12:55:03 +08:00
偏右
31b1bf7272
Merge pull request #20492 from ant-design/add-form-demo
...
docs: Add form demo
2019-12-27 17:36:09 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help
( #20489 )
...
* add test case
* update snapshot
* update snapshot
2019-12-27 16:50:44 +08:00
afc163
276a02dfe0
✅ fix test case
2019-12-27 16:13:13 +08:00
afc163
08ab82d17f
:clipper: Add complex form control demo for Form
...
https://github.com/ant-design/ant-design/issues/20481#issuecomment-569184410
2019-12-27 15:36:27 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x
2019-12-27 12:34:40 +08:00
afc163
670bd4bf5b
✅ update snapshots
2019-12-27 12:27:56 +08:00
zombiej
e449b1aee2
chore: Update snapshot
2019-12-27 12:22:00 +08:00
ycjcl868
61520d2f00
fix: card hover border not change
2019-12-27 10:58:01 +08:00
ycjcl868
7c3beabd4c
fix: button ghost color
2019-12-27 10:16:02 +08:00
zombiej
c5df5c1547
chore: Update test to fix useRealTimer
2019-12-26 17:07:59 +08:00
ycjcl868
18cba6dd9c
fix: version 4.0.0-beta.1
2019-12-26 16:14:56 +08:00
信鑫-King
1d9bb93625
Merge pull request #20281 from ant-design/feat-dark-palette
...
feat: dark palette preview
2019-12-26 16:13:09 +08:00
偏右
2f72e472e5
🐛 Fix Table header text align when colspan=1 ( #20463 )
...
https://github.com/ant-design/ant-design/issues/20126#issuecomment-563307001
2019-12-26 16:07:01 +08:00
ycjcl868
090f25845c
fix: lint
2019-12-26 15:59:50 +08:00
ycjcl868
e5bc8bab5a
fix: style:lint
2019-12-26 15:55:10 +08:00
二货机器人
99aded6725
fix: IME should work in safari ( #20457 )
...
* update ts define
* delay to handle message update
* update snapshot
* fix test case
2019-12-26 15:48:52 +08:00
ycjcl868
cb788dc77c
chore: update snapshot
2019-12-26 15:42:08 +08:00
ycjcl868
f36b4deaaa
Merge origin/4.0-prepare into feat-dark-palette
2019-12-26 15:31:05 +08:00
二货机器人
abf215a982
docs: Update 4.0 site ( #20290 )
...
* init recommend block
* init design pages
* home frames
* add background banner
* hello, Hitu makes the animation
* add media query
* add images
* update types
* add declare
* preload support
* update ignore
* additional ignore site Home lint
* update ignore
* add hover effect
* adjust alt of bannber
* adjust lang & card shadow
* fix typo
* adjust desc
* hitu in english
* article add link
* Certainty is hitu
* Meaning Hitu
* Growth with Hitu
* Natural Hitu
* slow down of Natural
* adjust speed of icons
* New Meaning animation
* adjust animation duration
* update card link
* update link
* values doc
* replace images
* faster Growth
* update values
* fix lint
* all slow down
* adjust padding
* update icons
* adjust margin
* update images
* adjust montion
* adjust by designer
* update pages
* update design prod
* update articles
* update site style
* update doc
* update images
* update style
* lint fix
* adjust liner color
* github text color update
* adjust margin of title
* mobile design
* update design sub card
* update style
* less lint
* update images
* design card auto height
* update img
* update logo transition
* adjust card style
* adjust style to fix 184
* adjust nav style
* category it
* slow down of logo
* update style
* hide video link
* hitu article
* use img of hitu
* update docs
* style lint
* update Hitu layout doc
* update images
* speed up logo
* update link
* clean up
* clean up
* update doc
* adjust doc
* update images
2019-12-26 15:27:52 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
ycjcl868
3a527c63fe
fix: docs Menu api
2019-12-26 15:10:15 +08:00
ycjcl868
a8579affd1
Merge origin/4.0-prepare into feat-dark-palette
2019-12-26 15:04:53 +08:00
ycjcl868
78c8647d00
fix: https image url
2019-12-26 14:52:13 +08:00
ycjcl868
8a7beb02bd
fix: dropdown menu
2019-12-26 14:48:29 +08:00
Amumu
29b4b7004e
docs upgrade ( #20460 )
2019-12-26 14:37:39 +08:00
plainnany
77dc5fa4e7
📝 Update draggable.md ( #20458 )
...
close #20455
2019-12-26 14:32:14 +08:00
ycjcl868
6921bd4b8b
fix: checkbox demo dark
2019-12-26 14:18:50 +08:00
ycjcl868
45082873d6
fix: menu popup dark color
2019-12-26 14:06:32 +08:00
偏右
9ea5fb3050
🐛 Fix Tree wrong indent ( #20456 )
...
close #20441
2019-12-26 12:25:00 +08:00
ycjcl868
6c318d85c9
fix: layout demo
2019-12-26 12:21:08 +08:00
ycjcl868
2dc8316ca6
fix: empty dark image
2019-12-26 11:42:50 +08:00
ycjcl868
e9c5667596
Merge origin/4.0-prepare into feat-dark-palette
2019-12-26 11:28:05 +08:00
afc163
7c24239f3d
💄 tweak @card-hover-border color
2019-12-26 11:10:05 +08:00
vagusX
a0beb0f8df
feat: update to @ant-design/icons@4.0.0-alpha.16 ( #20451 )
2019-12-26 00:27:59 +08:00
ycjcl868
607e69747c
fix: demo style
2019-12-25 22:13:04 +08:00
Amumu
9120ff8c42
feat: TextArea add support onResize ( #20408 )
...
* textarea add support onresize
* add test case
* Improve code coverage
* improve
* snapshot
* improve test case
* none
* update docs
2019-12-25 22:02:19 +08:00
ycjcl868
0f9ee82d89
fix: card demo inner
2019-12-25 21:58:28 +08:00
ycjcl868
f866fac698
fix: demo margin in dark
2019-12-25 21:54:21 +08:00
ycjcl868
27a3758e1f
fix: input group demo dark
2019-12-25 21:48:54 +08:00
ycjcl868
fa0da1257a
fix: Modal icon
2019-12-25 21:28:06 +08:00
ycjcl868
51b118e489
fix: empty svg
2019-12-25 21:19:15 +08:00
ycjcl868
bd2633d303
Merge 4.0-prepare into feat-dark-palette
2019-12-25 21:13:07 +08:00
ycjcl868
7215fee6e3
fix: alert component dark theme
2019-12-25 21:04:47 +08:00
ycjcl868
0431074711
fix: collapse custom demo style
2019-12-25 20:58:24 +08:00
二货机器人
0f63cfceaf
Merge pull request #20449 from ant-design/merge-master
...
chore: Merge master
2019-12-25 20:38:44 +08:00
骗你是小猫咪
30bb97552e
fix: datePicker size ( #20384 )
...
* fix: datePicker size
* fix align
* remove componet less var and use input base
* use padding spread
* extract picker-padding
* fix spelling mistakes
2019-12-25 20:35:29 +08:00
ycjcl868
c6fa94c534
fix: picker-date hover range color
2019-12-25 20:34:40 +08:00
ycjcl868
ca77c02d10
fix: Progress steps item bg
2019-12-25 20:24:40 +08:00
zombiej
80359a15b1
clean up
2019-12-25 20:19:33 +08:00
zombiej
6dc5a8c2f4
update snapshot
2019-12-25 20:07:10 +08:00
ycjcl868
f1c8dc70ed
fix: result error icon demo
2019-12-25 20:04:23 +08:00
ycjcl868
4dc860decf
Merge origin/4.0-prepare into feat-dark-palette
2019-12-25 19:32:38 +08:00
ycjcl868
56530f1055
fix: backtop demo
2019-12-25 19:30:58 +08:00
zombiej
9e8ce489e9
merge master
2019-12-25 19:09:17 +08:00
ycjcl868
f7cfb21d1c
fix: calendar-full background
2019-12-25 18:06:50 +08:00
ycjcl868
2c3c39f026
fix: drawer style
2019-12-25 17:43:39 +08:00
ycjcl868
d0dc06a2e0
fix: tag demo style
2019-12-25 17:20:47 +08:00
ycjcl868
ceaf19112d
fix: tabs dark demo
2019-12-25 17:16:53 +08:00
偏右
2464de1888
perf: optimize bundlesize ( #20436 )
...
* 📦 react-slick => @ant-design/react-slick
* 📦 Reduce non-minified dist files size
* 🆙 @ant-design/react-slick
2019-12-25 17:15:35 +08:00
ycjcl868
bd8564e53e
fix: form demo dark style
2019-12-25 17:12:36 +08:00
骗你是小猫咪
0b0fd9a62c
refactor(Button): Back to inline-block ( #20440 )
2019-12-25 17:08:34 +08:00
ycjcl868
76f31cb6f8
fix: list demo dark style
2019-12-25 17:05:51 +08:00
ycjcl868
2af4c84c22
fix: table header sort active bg
2019-12-25 16:59:21 +08:00
陈小聪
41ce3e2f5b
chore: TimePicker types ( #20439 )
2019-12-25 16:23:14 +08:00
ycjcl868
c100b892ba
fix: table dark theme style
2019-12-25 15:59:16 +08:00