Amumu
3402f656ad
tuple FormLabelAlign ( #19543 )
2019-11-04 11:24:23 +08:00
二货机器人
15d8494cf2
Merge pull request #19544 from ant-design/feature-merge-master
...
chore: Feature merge master
2019-11-04 11:24:00 +08:00
信鑫-King
696f5600ec
feat: input,select less vars ( #19546 )
2019-11-04 11:23:29 +08:00
zombiej
5bf96bbb51
merge master
2019-11-04 10:49:45 +08:00
Hossein Ahmadian-Yazdi
214458931d
Gets the XMLHttpRequest Object in Onchange function ( #19539 )
2019-11-04 10:44:43 +08:00
chenshuai2144
0189244ebc
fix: fix remove url
2019-11-03 18:14:06 +08:00
chenshuai2144
dc2ba553e7
doc fix layout breakpoints url
2019-11-03 18:14:06 +08:00
afc163
53efaa89a5
⚡ support Upload method
2019-11-03 12:37:48 +08:00
He Linming
3d8b9df423
fix: table does not automatically scroll to the top when change page size ( #19465 )
...
* 🐛 (Table): fix scrollToFirstRow
fix table does not automatically scroll to the top when change page size
close #19464
* ✅ (Table): add test case for scrollToFirstRow
* 👌 (Table): change Trigger to .ant-select
Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>
2019-11-02 17:18:44 +08:00
Rustin
767d2d0638
feat: Add allowClear to TextArea ( #19310 )
...
* add allow clear to textarea
revert textarea md
refactor textarea css
fix textarea props bug
add test and update snapshot
update doc
add margin
refactor textarea to reuse fixControlledValue and setValue method
add clearable input to reuse code
refactor clearable input
finish refactor
refactor clearable input
refactor input and textArea
finish refactor
update test snapshots
fix input props bug
fix dom issue
fix textarea dom issue
fix textarea test bug
fix textarea dom issue
refactor code and fix textarea dom issue
fix input dom issue
fix typo error
update test snapshots
fix ci failed issues
adjust margin
* remove useless code fix ci failed issue
* fix textarea padding issue
* update snapshots
* fix padding issue
2019-11-01 18:19:29 +08:00
afc163
92caa2d02c
docs: improve table demo description
2019-11-01 10:41:07 +08:00
Jack
82aa3cdc13
fix: remove the selected padding right when use allow clear ( #19510 )
2019-10-31 21:27:27 +08:00
Ender Lee
593cfe8950
fix(Upload): add interface field ( #19485 ) ( #19496 )
2019-10-30 20:40:57 +08:00
wangweijun0418
d99d90b1fa
Fix Menu menu collapsed in Chrome ( #19476 )
...
* Update index.less
修复margin重合样式问题,(次问题造成menu组件下拉不顺畅)
* Update index.less
解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
2019-10-30 13:15:50 +08:00
afc163
2ee2cc3303
🐛 Fix DatePicker throw onEsc error
...
close #19461
2019-10-29 11:43:14 +08:00
Aymen Bouchekoua
13995bff02
Fix defaultPickerValue in WeekPicker ( #19141 )
2019-10-29 11:26:20 +08:00
David Broder-Rodgers
654a675532
docs: Responsive fixes for examples pages ( #19448 )
...
* Remove fixed width from cascader examples
* Replace fixed vertical slider example height with clearfix div
* Replace fixed width on TreeSelect examples with percentage width
* Update test snapshots
* Use inline-block rather than float left for vertical slider example
2019-10-29 11:24:06 +08:00
Rustin
fdf38f41d7
fix: modify textarea resize demo defaultValue to english ( #19348 )
...
* modify textarea defaultValue to english
* update test snapshots
2019-10-29 10:08:27 +08:00
只捱宅
c0edbd3362
Merge pull request #19456 from ant-design/master
...
chore: Merge master into feature
2019-10-28 17:29:58 +08:00
afc163
ff382abc51
💄 refactor alert code for better semantic
...
close #19426
2019-10-28 15:48:38 +08:00
afc163
f8a3da5f4a
🐛 Fix Checkbox not aligned center in some cases
...
close #16695
close #19450
2019-10-28 15:26:49 +08:00
afc163
1d1e197527
🐛 Fix Icon Button align issue
...
close #19392
2019-10-28 15:26:06 +08:00
Aaron Cawte
2b46a232db
Navigation components doc tweaks ( #19447 )
...
* Documentation - Affix Component
* Documentation - Dropdown component
* Documentation - Menu component
* Documentation - Pagination component
* Documentation - PageHeader component
* Documentation - Steps component
2019-10-28 09:09:22 +08:00
陈帅
d5c3d578af
Merge branch 'master' into feature
2019-10-27 22:28:59 +08:00
陈帅
c675354744
fix eslint error
2019-10-27 22:05:47 +08:00
陈帅
f4d114f0c3
Merge branch 'master' into feature
2019-10-27 21:39:17 +08:00
Rustin
17ad782dfc
refactoring: refactor search code ( #19441 )
...
* refactor search code
* refactor bool expression no implicit cast
2019-10-27 11:43:48 +08:00
afc163
99d8f07607
🐛 Fix sort order of columns in render
...
array value of columns
close #19398
2019-10-27 00:20:24 +08:00
只捱宅
802a4a117f
fix: lint ( #19434 )
2019-10-26 11:00:15 +08:00
He Linming
7691047882
fix: Modal icon position while no title ( #19419 )
...
* 🐛 fix Modal icon position
close #19389
not render title when Modal title is undefined.
* ✅ (Modal): add test for modal without title
2019-10-26 10:31:58 +08:00
zhangzh
670fbe3843
docs: add "maxLength" property to Input Doc
2019-10-25 16:20:18 +08:00
+v
bf13a34a71
fix: disabled cursor ( #19403 )
...
* fix: disabled cursor
* style: fix
2019-10-25 11:37:30 +08:00
Aaron Cawte
693d5a1434
General components doc tweaks ( #19416 )
...
* Documentation - Button Component
* Documentation - Icon Component
* Documentation - Typography component
2019-10-25 09:56:30 +08:00
Aidin
d5ad7d7c2f
update Types
2019-10-24 14:55:48 +08:00
He Linming
2761460c86
style: add @modal-header-color variable ( #19385 )
...
* 💄 add @modal-header-color variable
close #19358
* 👌 change variable name
2019-10-24 10:36:59 +08:00
Anawin W
06ec0391f8
feat: Add missing translations in Thai (th_TH) locale ( #19378 )
...
* Add missing translations in th_TH locale
* Snapshot updated
2019-10-23 22:29:15 +08:00
DiamondYuan
c9c2d5a256
Feature avatar icon ( #19368 )
...
* feat: icon of avatar support ReactNode
* docs: update document of Avatar
2019-10-23 15:52:08 +08:00
偏右
4fd5dda8d5
Merge pull request #19366 from ant-design/master
...
chore: Merge master into feature
2019-10-23 14:44:58 +08:00
afc163
0e4b90c52f
✅ increase code cov
2019-10-23 11:55:42 +08:00
afc163
f1cd910b4e
✅ update snapshots
2019-10-23 11:55:42 +08:00
afc163
0604a09590
✅ update demo and test case
2019-10-23 11:55:42 +08:00
afc163
b882b8dd2f
🐛 Fix non-boolean attribute
and unique key
warning
...
close #19303
close #19354
2019-10-23 11:55:42 +08:00
Demétrius
cef820f7a6
feat: Add tag downloadFile in all languages ( #19361 )
2019-10-23 11:05:21 +08:00
二货机器人
25788e69a8
omit withstore ( #19343 )
2019-10-22 11:54:03 +08:00
afc163
b919c23d08
🐛 Fix small table bottom border radius issue
...
https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
2019-10-22 11:16:39 +08:00
lxnxbnq
bde17425a0
fix( #11119 ): fix Transfer listStyle support function callback ( #19330 )
...
* fix(#11119 ): fix Transfer listStyle support function callback
* fix(#11119 ): fix Transfer listStyle support function callback
2019-10-22 11:05:39 +08:00
Sagar Jain
25927c6a41
Improve typing of UploadFile
interface
...
UploadFile interface made generic type so that a user can define a strongly typed response object if needed
2019-10-21 20:11:46 +08:00
afc163
6b74a1e944
✅ update table snapshot
2019-10-21 14:28:16 +08:00
zombiej
559e56c7f8
fix: Tree shaking should works on withContext
2019-10-21 13:38:38 +08:00
afc163
9af3888395
🐛 fix Menu in Dropdown submenu selected style
...
close #19264
2019-10-20 19:26:03 +08:00
afc163
185d2c41e8
🐛 fix small table border radius issue
...
close #19287
2019-10-20 19:12:59 +08:00
afc163
c6efe8c229
✅ add test cases
2019-10-20 15:01:27 +08:00
afc163
0d7d837c3f
🐛 fix wrong responsive gutter
...
close #19307
2019-10-20 15:01:27 +08:00
afc163
0cadae921a
💄 format getGutter code style
2019-10-20 15:01:27 +08:00
二货机器人
b9b239ec08
test: add test case for ref test ( #19302 )
...
* add test case for ref test
* update test case
2019-10-19 22:48:13 +08:00
Pornpavee Seri-umnuoy
e7ebf857bd
fix( #18280 ): add type [Moment.moment, undefined] to RangePickerValue ( #19300 )
2019-10-19 14:48:41 +08:00
afc163
8a715d0991
📝 🎬 improve grid demo and documentaion
2019-10-18 18:50:33 +08:00
afc163
13d219c439
🐛 Fix Table scroll.x max-content not working
2019-10-18 18:34:26 +08:00
wleven
63feb6860a
Fix Select Mode Type
2019-10-18 16:28:48 +08:00
wleven
9cfc151813
Fix Select Mode Type
2019-10-18 16:28:48 +08:00
wleven
53c55ceaad
Fix Select Mode Type
2019-10-18 16:28:48 +08:00
二货机器人
40aca57453
chore: Remove React function polyfill ( #19279 )
...
* chore: Remove polyfill
* add more skip
2019-10-18 11:29:34 +08:00
David Broder-Rodgers
3f037b6d71
Improve types for customRequest prop on Upload component
2019-10-18 11:04:15 +08:00
叶枫
a31deb7f5d
fix: 修复点击下载按钮会执行预览方法 ( #19268 )
...
* fix: 修复点击下载按钮会执行预览方法
* chore: test
* chore: test
2019-10-18 00:02:04 +08:00
Rayron Victor
07ca5e458b
Fix: long author name breaks on small screen ( #19272 )
...
* Fix: long author name breaks on small screen
* Update index.less
2019-10-18 00:00:09 +08:00
二货机器人
0f83e0a4ee
fix: should work in old version react ( #19262 )
...
* fix: should work in old version react
* update ci config
* add version log
2019-10-17 16:01:46 +08:00
Hsuan Lee
d6c5e5358e
docs: fix page header API ( #19257 )
2019-10-17 11:34:16 +08:00
二货机器人
7d32f99283
fix: Add missing typescript define ( #19251 )
...
* fix: Add missing typescript define
* remove withStore
* fix lint
2019-10-16 22:12:52 +08:00
Jingsong Gao
ab349700ad
fix: fix cascader placeholder internationalization ( #19227 )
...
* fix: fix cascader placeholder
* Update index.tsx
2019-10-15 19:23:26 +08:00
yoyo837
fb2bafbfdc
upgrade snapshot
2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b
upgrade snapshot
2019-10-15 18:10:04 +08:00
yoyo837
cd3d9efd9f
Merge branches 'add-args-unsorting' and 'master' of github.com:ant-design/ant-design
2019-10-15 17:52:59 +08:00
afc163
8e2b2470b2
✅ update snapshots
2019-10-15 17:47:10 +08:00
afc163
59f231ff92
💄 fix menu style broken in dropdown
...
close #19145
2019-10-15 17:47:10 +08:00
yoyo837
5a07b85d9e
upgrade fires change event
test case
2019-10-15 16:33:37 +08:00
yoyo837
0522d55f26
snapshot
2019-10-15 16:33:17 +08:00
骗你是小猫咪
8ffaeb8cba
Docs: upload with aliyun oss ( #19054 )
...
* docs: upload with aliyun oss
* add before upload relate data
* test: lint fail
* test: update Snapshot
* docs: review change
* test: lint fail
* handle oss policy expired
* fix: lint fail
* optimize docs
* test: lint fail
* test: upload snapshot
2019-10-15 16:14:05 +08:00
Dmitriy
a2f28f0ca7
💄 add @typography-title-margin-top and @typography-title-margin-bottom ( #18746 )
...
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables
* fix: heding margin moved: prefix variable out of default.less
* fixed: circleci
* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right
* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00
yoyo837
59685afeeb
Provide additional args for onChange sorter when unsorting
2019-10-15 16:04:38 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
...
Merge features
2019-10-15 14:36:41 +08:00
afc163
0b1894e83a
📝 deprecated info of autosize
2019-10-15 13:50:14 +08:00
陈帅
338018eba3
feat: Pageheader new style and props ( #19100 )
...
* pure page header style
* add type props
* add prue demo
* add config provider doc
* fix lint
* fix lint error
* change pure to ghost
* fix test
* default ghost is true
* fix review style
* fix review warning
* use online style
* remove defualt and remove comment
* add test
2019-10-15 11:46:12 +08:00
yoyo837
6db3711876
upgrade table demo : onChange add args extra
2019-10-15 10:00:16 +08:00
yoyo837
453c01aaae
tuple for column fixed prop types
2019-10-14 16:10:22 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
...
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
2019-10-14 15:01:16 +08:00
willc001
4e1bbccd54
refactor: add @form-item-label-colon-margin-{right,left} ( #15478 )
2019-10-14 14:52:23 +08:00
zombiej
04a27deb2b
merge master
2019-10-14 10:53:35 +08:00
kavin
fc697007c5
fix(test case): fix test case for directory tree component
2019-10-12 10:51:20 +08:00
kavin
e161a2ae76
fix( #19132 ): add test file
2019-10-12 10:51:20 +08:00
kavin
a0851cdd34
fix( #19132 ): remove console log
2019-10-12 10:51:20 +08:00
kavin
1884c12a81
fix( #19132 ): fix component DirectoryTree
2019-10-12 10:51:20 +08:00
kavin
7c6731021d
fix( #19132 ): fix component tree defaultExpandAll does not work when using treeData
2019-10-12 10:51:20 +08:00
kavin
5fff041e8a
fix( #19132 ): fix component tree defaultExpandAll does not work when using treeData
2019-10-12 10:51:20 +08:00
Liming Jin
311a6c0917
fix: replace autosize with autoSize
2019-10-11 23:39:30 +08:00
Gabriele Petrioli
3ac716d808
fix: keep className given to expandIcon in Collapse component ( #19160 )
2019-10-11 10:23:41 +08:00
shaodahong
78b1f90e51
docs: link related issue of form initialValue option
2019-10-10 22:51:25 +08:00
afc163
d582ba351b
✅ update snapshot
2019-10-10 11:10:05 +08:00
vaytsel
d8526f43f6
Update theme.md
2019-10-10 10:58:45 +08:00
Jason Kurian
0674bb974f
docs: document drawer default height ( #19144 )
2019-10-10 10:20:40 +08:00
kermolaev
ba971b295b
There was icon wrapper on 100% width in ie11. https://caniuse.com/#feat=css-initial-value
2019-10-09 22:29:48 +08:00
Rodrigo Ehlers
36a7621bb3
add clear-icon click
2019-10-09 22:29:13 +08:00
shao
41bbcfe180
docs: probably better phrased as Table component
2019-10-09 14:21:14 +08:00
shaodahong
b41bdb0433
fix: update rc-slider handle move exception
2019-10-09 11:40:37 +08:00
Leon Koole
4aa81e576c
Clear up confusing language about dataSource keys
2019-10-08 22:53:16 +08:00
二货机器人
7922090eaa
fix: TreeShaking ( #19115 )
2019-10-08 14:45:17 +08:00
二货机器人
b0c90f4b06
fix: description demo update ( #19113 )
2019-10-08 10:17:08 +08:00
afc163
a877db72ef
✨ Add drawerStyle
and headerStyle
...
close #18975
2019-10-07 19:56:57 +08:00
orzyyyy
718a86d56b
chore: rename prop specialTriggerStyle to zeroWidthTriggerStyle
2019-10-07 18:03:34 +08:00
orzyyyy
4a29aaaf6b
docs: update
2019-10-07 18:03:34 +08:00
orzyyyy
5e4697e38b
test: update cases
2019-10-07 18:03:34 +08:00
orzyyyy
95710af9ef
feat(Layout): add prop specialTriggerStyle to controll the style of zeroWidthTrigger
2019-10-07 18:03:34 +08:00
orzyyyy
c4283e4fff
test: update snapshots for rc-upload bump to 2.8.0
2019-10-06 07:18:21 +08:00
orzyyyy
54cf1a924d
fix: lint
2019-10-06 07:17:52 +08:00
orzyyyy
3ab6c48640
chore: merge master to feature
2019-10-06 06:50:04 +08:00
afc163
634c202077
✅ update snapshots
2019-10-05 18:02:16 +08:00
afc163
47dee4c7d7
✅ fix eslint problems
2019-10-05 18:02:16 +08:00
二货机器人
4680ddc009
fix: Typography warning for ref
error ( #19074 )
...
* Revert "fix: Typography funtion compoent use Ref console log warning (#19066 )"
This reverts commit 3d378f2fd8
.
* fix: Typography warning for ref
* not crash on react 15
* still use class if react15
* fix ts define
* clean up
* react 15 lock ref obj
* Use rc-util findDOMNode instead
2019-10-01 01:06:09 -05:00
骗你是小猫咪
3d378f2fd8
fix: Typography funtion compoent use Ref console log warning ( #19066 )
2019-09-30 19:37:41 +08:00
啸生
71b53b7175
master to feature ( #19062 )
...
* ✅ increase upload test cov
* chore: replace resizeObserver with `rc-resize-observer` (#19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
* changelog (#19056 )
* Release 3.23.5
2019-09-30 10:31:36 +08:00
二货机器人
e07bba91fa
chore: replace resizeObserver with rc-resize-observer
( #19057 )
...
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
2019-09-29 04:56:56 -05:00
afc163
e5aea71b99
✅ increase upload test cov
2019-09-29 14:35:21 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
...
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
afc163
916c0659bd
✅ increase Table test coverage
2019-09-28 19:11:10 +08:00
afc163
fb913f4f47
💄 fix lint
2019-09-28 19:11:10 +08:00
afc163
e1a4f2891e
🐛 Fix Table filter submenu checkbox margin
...
https://user-images.githubusercontent.com/507615/65814464-a5c6c000-e214-11e9-8085-2c6fb1f5c6f2.png
2019-09-28 19:11:10 +08:00
afc163
d41b5be377
✅ increase Table test coverage
2019-09-28 19:11:10 +08:00
afc163
66ca4a8b25
✅ more test cases
2019-09-28 19:11:10 +08:00
afc163
650d44e8a7
🐛 fix React.createElement undefined
2019-09-28 19:11:10 +08:00
afc163
bbc8800cb8
⚡ optimize Table components compare logic
2019-09-28 19:11:10 +08:00
afc163
3acbc941a6
🔨 react-lifecycles-compat for Table
2019-09-28 19:11:10 +08:00
afc163
3f7b7dedd6
💄 improve code style
2019-09-28 19:11:10 +08:00
kristof0425
18017d6ea5
fix(Table): correct lint errors
2019-09-28 19:11:10 +08:00
kristof0425
3274c55bdf
refactor(Table): make row work like a class property
2019-09-28 19:11:10 +08:00
kristof0425
2875933c99
fix(Table): prevent reusing row from previous render
2019-09-28 19:11:10 +08:00
kristof0425
2228e91b01
refactor(Table): move filter updating to getDerivedStateFromProps
2019-09-28 19:11:10 +08:00
kristof0425
4cc5fcdb24
refactor(Table): move columns to state to set in getDerivedState
2019-09-28 19:11:10 +08:00
kristof0425
948d0bd7bb
fix(Table): move rowSelection logic to getDerivedStateFromProps
2019-09-28 19:11:10 +08:00
kristof0425
8a60e19b8e
fix(Table): rm commented line
2019-09-28 19:11:10 +08:00
kristof0425
8bae8bf27d
refactor(Table): move createComponents outside of class, eliminate cWRP
2019-09-28 19:11:10 +08:00
kristof0425
1d5bd4a7aa
fix(Table, SelectionCheckboxAll): add eslint comment
2019-09-28 19:11:10 +08:00
kristof0425
0be5e334e4
refactor(Table): rename cWRP to UNSAFE_cWRP
2019-09-28 19:11:10 +08:00
绯一
8219438ecd
Fix/detect antd button by static ( #19045 )
...
* fix: detect antd button by children.type.[staticProperty] instead of same class for HOC case
* fix: chore
2019-09-28 13:52:59 +08:00
绯一
049799ed0f
fix: detect antd button by children.type.[staticProperty] instead of same class for HOC case ( #19042 )
2019-09-28 10:20:47 +08:00
afc163
b536643f76
✅ add test case for Collapse
2019-09-28 00:10:11 +08:00
afc163
49ecf9b738
✅ add more test cases for DatePicker
2019-09-27 14:56:55 +08:00
二货机器人
7ae663da6d
fix: ssr should not render string at first ( #19029 )
...
* fix: ssr should not render string at first
* update snapshot
2019-09-27 01:17:42 -05:00
ahauzq
49c9ee40b4
Input.tsx的otherProps为什么不去掉size
...
我觉得你们的otherProps推导竟然是any,所以不写size没报错
2019-09-27 02:16:45 +08:00
afc163
46d0ff3e00
✅ update snapshot
2019-09-26 14:03:17 +08:00
fkysly
e9b0c29f55
Rename algin.md to align.md
2019-09-26 14:02:14 +08:00
swillis12
2c864b9bc6
Add sortColumn to title render ( #19012 )
...
Update docs
Update TS interface
Add null
Fix lint error
2019-09-26 14:02:08 +08:00