Commit Graph

11688 Commits

Author SHA1 Message Date
偏右
6ad1b18a47
fix: Drawer cover other elements when closed (#24290)
* fix: Drawer cover other elements when closed

close #24287

* Add no-mask demo for Drawer
2020-05-19 18:11:21 +08:00
偏右
4feb186085
refactor: tree select style (#24291)
* chore(list): improve code (#24280)

* chore(list): improve code

* Update index.tsx

* refactor: tree select style code

* 🔒 lock antd-theme-generator to 1.2.2

https://github.com/mzohaibqc/antd-theme-generator/issues/42

Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-05-19 18:10:02 +08:00
Tom Xu
baa56b6d85
chore(list): improve code (#24280)
* chore(list): improve code

* Update index.tsx
2020-05-19 14:55:46 +08:00
xrkffgg
ce78029933
fix: empty in cascader/select/table/treeSelect (#24279)
* fix: empty in cascader\select\table\treeSelect

* fix: snap
2020-05-19 14:45:57 +08:00
二货机器人
2120d7dfaa
docs: Add missing docs (#24273) 2020-05-19 10:42:34 +08:00
xrkffgg
5b61c0fac9
fix: inputnumber handler inner center (#24266) 2020-05-19 10:12:13 +08:00
二货机器人
44cfc351cb
fix: Table with controlled filteredValue empty array should not highlight the filtered icon (#24263)
* fix: FilteredValue

* update test case name
2020-05-18 22:03:20 +08:00
Amumu
f64558da89
fix md (#24256) 2020-05-18 19:58:46 +08:00
Loogeek
a216d6e4f7
fix: cascader component value support number type (#24247)
add cascader type.test.tsx
2020-05-18 19:38:36 +08:00
南小北
bfd5644ff0
Add crop image demo for Upload (#24174)
* chore: add antd-img-crop

* docs: add crop image demo for upload

* fix: move antd-img-crop to devDependencies

* fix: fix eslint warning

* test: update snapshot
2020-05-18 19:22:45 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
xrkffgg
70c6e47cde
style: add menu default textalign (#24253) 2020-05-18 17:07:33 +08:00
何锦余
b87b1283ea
fix: BackTop children type (#24235) 2020-05-18 14:00:19 +08:00
偏右
551763e768
docs: fix Tag demo (#24245)
close #24231
2020-05-18 13:51:56 +08:00
二货机器人
7f2f814279
revert: fix: Switch - no correct animation on the IOS/Chrome (#24242)
* Revert "fix switch ios chrome animation (#24122)"

This reverts commit fd7c942403.

* update snapshot
2020-05-18 13:00:33 +08:00
xrkffgg
8cb146becd
style: adjust upload error icon (#24160)
* fix: adjust uoload error icon

* use less var

* use antd-color

* fix: adjust uoload error icon

* use less var

* use antd-color

* up snap

* fix package

* use svg fill

* fix error

* Update components/upload/style/index.less

Co-authored-by: 偏右 <afc163@gmail.com>

* Update components/upload/style/index.less

* fix fill

* fix snap

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-18 10:31:23 +08:00
Tom Xu
6a52cf0303
docs: improve spin api (#24234) 2020-05-18 09:49:00 +08:00
Alexey Vinogradov
316913ca37
Add ru_RU i18n for Form defaultValidateMessages (#24219) 2020-05-17 16:41:36 +08:00
偏右
1bbaa49bef
Merge pull request #24214 from ant-design/master
chore: merge master into feature
2020-05-17 01:16:58 +08:00
偏右
aee2e7a5c9
💄 Tweak Dropdown down arrow position (#24215) 2020-05-17 01:16:12 +08:00
Tom Xu
4a3af4caef
refactor(dropdown): rewrite with hook (#24212) 2020-05-17 00:51:05 +08:00
Tom Xu
471e97ab76
refactor(card): rewrite with hook (#24211) 2020-05-17 00:49:05 +08:00
二货机器人
1a82efa5ca
Text support keyboard (#24195) 2020-05-16 14:43:29 +08:00
偏右
a820046130
fix: Upload.Dragger triggered by label when disabled (#24202)
* refactor Dragger.tsx

* 🐛 Avoid disabled Upload.Dragger being triggered by label

close #24197
2020-05-16 14:25:49 +08:00
xilihuasi
5f1da59488
feat: Skeleton add round prop (#24137)
* feat: Skeleton add round prop

* update snapshot

* fix snapshot
2020-05-16 13:19:54 +08:00
xrkffgg
9924bbf838
refactor(backtop): rewrite with hook (#23575)
* refactor(backtop): rewrite with hook

* fix test

* refactor(backtop): rewrite with hook

* Update index.tsx

* fix coverage

Co-authored-by: hengkx <ycxzhkx@gmail.com>
2020-05-16 13:06:11 +08:00
二货机器人
7de007100d
Merge pull request #24199 from ant-design/master
chore: Feature merge master
2020-05-16 12:30:58 +08:00
偏右
04ad7236e4
🐛 Fix Backtop cannot work in Chrome iframe (#24194)
close #24192
2020-05-15 23:16:49 +08:00
二货机器人
a83143bbbc
fix: Picker disabled today (#24190) 2020-05-15 18:45:10 +08:00
偏右
188e5630b3
💄 Add @card-head-extra-color (#24189)
close #24187
2020-05-15 18:18:07 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
chore: merge master into feature
2020-05-15 17:40:05 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date (#24184)
* docs: remove babel-plugin-import from docs

* docs: react-scripts-rewired + customize-cra => craco

* docs: remove babel-plugin-import

* fix remark link
2020-05-15 17:18:55 +08:00
Tom Xu
9f633bc002
chore: getScroll add more test (#24180)
* chore: getScroll add more test

* Update getScroll.test.js
2020-05-15 16:14:38 +08:00
Tom Xu
159d42fda8
chore: scrollTo add more test (#24177) 2020-05-15 14:57:12 +08:00
afc163
850b670862 docs: add create-react-app svg import usage
close #24175
2020-05-15 12:37:20 +08:00
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook (#23699)
* refactor(tooltip): rewrite with hook

* fix lint

* fix

* fix test

* fix

* fix test

* refactor(tooltip): rewrite with hook

* fix lint

* fix test

* Update SliderTooltip.tsx

* Update tooltip.test.js

* Update index.test.js
2020-05-15 10:47:03 +08:00
二货机器人
0cd0ebe7dc
fix: Select item z-index (#24170) 2020-05-15 09:53:14 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
55332f6971 fix: Test case 2020-05-14 16:36:05 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
xrkffgg
be0c654fff
style: optimize pagination slash style in rtl (#24154) 2020-05-14 16:05:36 +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
xrkffgg
4aa1b62659
style: adjust pagination simple background (#24152) 2020-05-14 15:25:54 +08:00
xrkffgg
5d9d45b597
fix: dropdown button default placement in rtl (#24150)
* fix: dropdown button default placement in rtl

* change test
2020-05-14 15:06:50 +08:00
二货机器人
586c7f5218
fix: DatePicker panel exceed (#24145) 2020-05-14 12:01:27 +08:00
lexlexa
fd7c942403
fix switch ios chrome animation (#24122) 2020-05-13 20:49:38 +08:00
二货机器人
b0e528d14c
feat: Transfer support oneWay (#24041)
* use flex

* show clear btn

* support one way

* add dropdown

* add pagination

* support pagination

* use flex

* operation stretch

* pagination works

* update selection logic

* no need to show checkbox on pagination

* fix tree demo

* support invert selection

* remove current pages

* update style

* update snapshot

* clean up

* update test case

* update test case

* update snapshot

* fix lint

* add deps

* update doc

* update hover style

* update hover checked style

* adjust demo & active region

* fix lint

* update snapshot
2020-05-13 19:15:40 +08:00
偏右
9d03db0503
refactor: 🆙 upgrade rc-progress (#24127)
* 🆙 upgrade rc-progress

* test: antd.min.js

ref #24116
2020-05-13 19:13:30 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
sorteam
b73e84da9b
Fix Table type (#24114)
Co-authored-by: soroka_av <soroka_av@st.by>
2020-05-13 16:03:07 +08:00
偏右
34c2fad636
refactor: 🔨 tree style code (#24096) 2020-05-13 14:45:08 +08:00
xrkffgg
90a36eed0b
style: optimize select multiple tag style in rtl (#24112) 2020-05-13 14:07:11 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme (#24097)
close #24089
2020-05-13 12:56:24 +08:00
偏右
31ba421268
fix: dark menu link color (#24110)
close #24107
2020-05-13 12:16:48 +08:00
精武陈真
227233268d
docs: fix typo (#24109)
from改为form
2020-05-13 12:11:58 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
xrkffgg
731505813a
style: fix menu border in rtl (#24101) 2020-05-13 11:09:28 +08:00
偏右
c19685e0ea
fix: Child of Button should be interactive (#24095)
close #24090
2020-05-12 22:29:10 +08:00
xrkffgg
64d151aa81
style: optimize typography expand style in rtl (#24084) 2020-05-12 17:58:45 +08:00
偏右
82d709676a
fix: Drawer height bug (#24082)
* 🐛 Fix Drawer height bug

close #24074

*  fix snapshot
2020-05-12 17:39:59 +08:00
wx1322
49f5ed7764
feat: Adds zh_TW localisations for Form (#24065)
* Update zh_TW.tsx

* Remove spaces

* Update zh_TW.tsx

* Update snapshot

* replace indexOf() with ||
2020-05-12 15:00:24 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
Kermit Xuan
9a6ad0edb9
fix(#23019): display defaultValue when no matched options (#24058) 2020-05-12 10:34:24 +08:00
偏右
4dccbd8eab
style: add @modal-close-color (#24053)
* 🆕 Add @modal-close-color

close #24050

* update snapshot

* fix var name
2020-05-11 20:08:46 +08:00
偏右
2ab7c3f182
fix @menu-item-font-size not working (#24052)
close #24051
2020-05-11 19:12: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
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style (#24019)
* init

* move to base

* add link component

* update snasphot

* update snasphot of test

* move to Typography

* update test case
2020-05-11 14:28:57 +08:00
afc163
626f918597 🗑️ remove checkbox PropTypes 2020-05-11 14:02:23 +08:00
njmqd
4884e91c49
fix: Add closeIcon for Tabs.Tabpane (#23992)
* fix: Add closeIcon for Tabs.TabPane

* fix: update snapshots

Co-authored-by: 倪佳敏 <ni.jiamin@datatom.com>
2020-05-11 12:12:33 +08:00
Kermit Xuan
67a482f4e5
fix(#16659): support className and style for message (#24024)
* fix(#16659): support className and style for message;

* docs(message): update demo custom-style;
2020-05-11 12:11:15 +08:00
xrkffgg
04eb91dc8e
style: fix datepicker panel style (#24028) 2020-05-11 12:02:24 +08:00
偏右
e188537c00
refactor: Dropdown.Button icon prop (#24020)
ref #24017
2020-05-10 23:53:29 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
二货机器人
1cf1a15d50
Merge pull request #24018 from ant-design/master
chore: Feature merge master
2020-05-10 18:42:00 +08:00
偏右
0a70563e44
chore: fix drawer demo (#24015)
* 🎬 improve drawer demo

* 🎬 fix drawer demo glitch

close #24011
2020-05-10 17:15:41 +08:00
Jenna Van Conett
8cce0383a1
Update drag-sorting.md (#24013) 2020-05-10 12:54:57 +08:00
二货机器人
72a846681a
chore: Fix Form.List render logic (#24009)
* update snapshot

* update nest logic

* clean up
2020-05-10 10:39:30 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
偏右
2beb28518c
test: Alert and AutoComplete test coverage (#24004)
* 🔨 refactor demo code style

* refactor alert code and fix test cov

* add test case for AutoComplete

* fix test
2020-05-09 19:32:02 +08:00
mraiguo
28f71921ea
fix: Tooltip in Upload components location error (#24001) 2020-05-09 18:58:44 +08:00
xrkffgg
338733d70f
docs: optimize input demo (#23990)
* docs: optimize input demo

* docs: optimize input demo

* fix: style

* remove
2020-05-09 18:02:18 +08:00
xrkffgg
dd6c855028
style: fix input clear icon in rtl (#23999) 2020-05-09 18:02:08 +08:00
Vitaly Budovski
60d45d8d37
docs: Add documentation for responsive table columns (#23987) 2020-05-09 18:01:16 +08:00
Xuhao
9c0f12c7e8
fix: #23986 [Comment] Should not render avatar wrapper when avatar is… (#23994)
* fix: #23986 [Comment] Should not render avatar wrapper when avatar is not present

* #23986 test snapshots revision
2020-05-09 16:50:34 +08:00
xrkffgg
c393ca700e
style: fix select focused in input group (#23985) 2020-05-09 14:41:00 +08:00
偏右
ee58a34175
fix: 🆙 upgrade rc-steps@3.6.0 (#23989)
* 🆙 upgrade rc-steps@3.6.0

* update snapshot
2020-05-09 14:01:02 +08:00
xrkffgg
015109b42b
style: opt datepicker active bar style in rtl (#23981) 2020-05-09 10:00:23 +08:00
二货机器人
fafa3b7e51
feat: Form support validateTrigger (#23972) 2020-05-08 23:04:20 +08:00
zombiej
3fad93e41b chore: feature merge master 2020-05-08 22:25:33 +08:00
偏右
333e8ffeb2
💄 Tweak Select close x position (#23963)
close #23886
2020-05-08 18:13:38 +08:00
xrkffgg
48c7011f67
style: fix transfer search padding in rtl (#23962) 2020-05-08 18:13:08 +08:00
偏右
d221458939
refactor: 📦 Generate version.js from package.json (#23957)
* 📦 generate version.js from package.json

* components/version/version.ts

* remove version.js

* fix scripts

* Add pretest and predist

* clean up finalizeCompile

* fix lint
2020-05-08 17:49:22 +08:00
偏右
f8c1e794da
refactor: 🆙 upgrade rc-animate to 3.x (#23937)
* 🆙 upgrade rc-animate to 3.x

drop dep of component-classes

* 🆙 upgrade deps which deps on rc-animate

*  fix snapshot
2020-05-08 13:47:51 +08:00
Eric Chen
dfe2477b87
docs(Divider): Move Divider to layout (#23952) 2020-05-08 10:34:50 +08:00
二货机器人
c4b602e835
fix: FormItem with help (#23945)
* fix: Help status error

* update logic

* adjust ref

* fix ts

* adjust hidden logic
2020-05-07 23:26:07 +08:00
zoomdong
5f825d8172
docs: fix typo (#23946) 2020-05-07 23:22:31 +08:00
mjfwebb
d643d113ff
Adds default English localisations for Form. (#23859)
Co-authored-by: mjfwebb <michael@w3bb.net>
2020-05-07 17:39:09 +08:00
偏右
22c313d032
chore: 🔨 replace css-animation by @ant-design/css-animation (#23932)
* 🆙 use @ant-design/css-animation

* fix ci

* fix ci
2020-05-07 16:29:41 +08:00
Nariman Movaffaghi
540fc211df
feat: fa_IR is updated based on latest options. (#23926)
* Update FA_IR based on EN_US

* Update fa_IR based on zh_CN

* typeTemplate has been added

* Update fa_IR.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-05-07 14:57:31 +08:00
Tom Xu
cf01c8649f
docs: improve tooltip (#23928)
* docs: improve tooltip

* remove version
2020-05-07 13:57:50 +08:00
偏右
2ba90f7ff5
💄 Drawer with percentage width cannot show when no mask (#23925)
close #23910
2020-05-07 11:38:51 +08:00
xrkffgg
ee80a2f710
style: optimize layout rtl (#23921) 2020-05-07 10:18:51 +08:00
偏右
1444043fd8
Revert "test: Fix Table test (#23915)" (#23916)
This reverts commit ce17f19ca0.
2020-05-06 23:38:58 +08:00
二货机器人
ce17f19ca0
test: Fix Table test (#23915) 2020-05-06 23:00:02 +08:00
二货机器人
701f35d0eb
chore: Adjust table col className priority (#23914)
* adjust col class

* update snapshot
2020-05-06 22:15:29 +08:00
Tom Xu
2961dda311
docs: improve popconfirm (#23905)
* docs: improve popconfirm

* Update index.zh-CN.md
2020-05-06 17:37:49 +08:00
偏右
6e8e36080e
docs: 📖 update notFoundContent (#23901) 2020-05-06 15:04:08 +08:00
偏右
fdf0f2e585
docs: fix moment locale faq (#23895)
close #23891
2020-05-06 12:03:46 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
chore: merge master into feature
2020-05-06 10:58:50 +08:00
偏右
c5bcf57537
feat: 💄 Add text type Button (#22552)
* 🆕 Add text type Button

`<Button type="text" />`

close #15892

* Add test cases

* missing type

* missing type

* fix missing type

* Update components/button/index.zh-CN.md

Co-Authored-By: zefeng <zefengbao@outlook.com>

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: zefeng <zefengbao@outlook.com>
2020-05-06 10:15:33 +08:00
偏右
aa3413b086
increase code cov (#23885) 2020-05-05 21:41:50 +08:00
二货机器人
0d46d07ad1
test: Add test coverage (#23884) 2020-05-05 21:08:56 +08:00
偏右
633d064640
increase code cov (#23880) 2020-05-05 19:33:33 +08:00
偏右
6ded8588ed
chore: @radio-solid-checked-color typo (#23878)
* Update default.less

* Update dark.less
2020-05-05 18:13:46 +08:00
二货机器人
2a0df4f465
fix: FormItem getValueProps warning (#23875) 2020-05-05 16:15:36 +08:00
Jurriaan BW
5c8ffd473b
Fix for #12795: InputNumber onChange type (#23871) 2020-05-05 15:38:05 +08:00
二货机器人
3a28f31fca
feat: Cell support shouldCellUpdate (#23872) 2020-05-05 15:03:22 +08:00
Tom Xu
747691f600
feat: ConfigProvider support virtual and dropdownMatchSelectWidth (#23841)
* feat: ConfigProvider support virtual and dropdownMatchSelectWidth

* update snap

* Update demo.test.js.snap

* update snap
2020-05-05 15:00:43 +08:00
xrkffgg
cffcd0378a
style: optimize steps style (#23855)
* style: optimize steps style

* fix: name

* Update

Co-authored-by: 偏右 <afc163@gmail.com>

* fix: sm

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:55:05 +08:00
twoye
2b2a6a3d22
Update index.zh-CN.md (#23868)
* Update index.zh-CN.md

* Update index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-05 13:17:50 +08:00
二货机器人
dff19af744
chore: Update Popconfirm & Modal okType type (#23867)
* chore: Update Popconfirm & Modal okType type

* add test case

* update test case
2020-05-05 12:03:16 +08:00
偏右
b9e7d853a4
chore: upgrade moment (#23856)
* 🆙 upgrade moment

* Update package.json
2020-05-04 22:58:42 +08:00
二货机器人
3d2ccd8081
refactor: Use flex of divider (#23849)
* refactor: Use flex of divider

* fix style lint
2020-05-04 18:14:25 +08:00
偏右
f05f2dd197
Merge pull request #23853 from ant-design/master
chore: merge master into feature
2020-05-04 14:19:32 +08:00
偏右
91f2dc522f
fix progress snapshot (#23850) 2020-05-04 13:38:04 +08:00
Tom Xu
107731a988
docs: improve link path (#23844) 2020-05-04 13:12:42 +08:00
二货机器人
e15773e25b
fix: Form.Item warning for initialValue (#23846)
* fix: Form.Item warning for initialValue

* Update index.test.js

* Update index.test.js
2020-05-04 12:13:44 +08:00
二货机器人
6668d48c54
Merge pull request #23845 from ant-design/master
chore: Feature merge master
2020-05-04 11:49:37 +08:00
二货机器人
72bb377628
fix: Textarea height (#23835)
* fix: Textarea height

* update snapshot
2020-05-03 20:32:34 +08:00
afc163
39456263b5 🎬 improve table demo 2020-05-03 19:46:52 +08:00
二货机器人
74645b7baf
docs: Add table render cache faq (#23833) 2020-05-03 16:10:37 +08:00
二货机器人
e4a1a45b09
fix: Menu a color (#23832)
* fix: Menu a color

* update snapshot

* fix menu item
2020-05-03 11:28:15 +08:00
二货机器人
0f83783709
docs: Update notification onClose desc (#23831) 2020-05-03 09:16:33 +08:00
二货机器人
1489903d9d
fix: Modal async (#23826)
* make async

* fix tesst
2020-05-03 00:53:32 +08:00
偏右
33cb4c9bb4
fix: Menu inlineCollapsed behavior (#23822)
* fix: Menu should onOpenChange when collapse inline menu

close #23755

* fix snapshot
2020-05-03 00:10:21 +08:00
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc 2020-05-02 23:14:43 +08:00
Amazing Turtle
83dcc0016f
Update index.zh-CN.md (#23824)
Remove deprecated supportServerRender doc
2020-05-02 23:13:45 +08:00
Tom Xu
009f2c8f33
docs: fix customize-cra addLessLoader link (#23819)
* docs: fix customize-cra addLessLoader link

* update snap
2020-05-02 21:58:38 +08:00
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined (#23818)
* fix placeholder

* add test case

* update snapshot
2020-05-02 21:55:23 +08:00
Tom Xu
3d355fde08
refactor(timeline): rewrite with hook (#23631)
* refactor(timeline): rewrite with hook

* add test

* Revert "add test"

This reverts commit 39540589d7.

* Update TimelineItem.tsx

* Update TimelineItem.tsx

* fix lint
2020-05-02 18:55:56 +08:00
Vasilii Artemchuk
50c3f89e19
fix: switch loading dark theme (#23766) 2020-05-02 15:27:27 +08:00
偏右
ca896092e2
fix snapshot (#23816) 2020-05-02 15:18:23 +08:00
xrkffgg
bd692bef71
style: optimize button loading style in rtl (#23776)
* style: optimize button loading style in rtl

* opt rtl

* reback
2020-05-02 09:00:47 +08:00
偏右
78b7cf22a1
style: 💄 Fix DatePicker clear icon style (#23811) 2020-05-01 22:16:05 +08:00
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +08:00
二货机器人
58fcee34c1
docs: Add FAQ of form onFieldsChange (#23808) 2020-05-01 16:20:37 +08:00
二货机器人
5f2874b292
fix: Table selection col width not correct (#23806)
* update snapshot

* Update package.json

* update snapshot
2020-05-01 16:02:32 +08:00
afc163
7d3cb95f17 fix Tooltip test case 2020-05-01 15:03:27 +08:00
xrkffgg
df1555c6c7
style: optimize input search style in rtl (#23797)
* style: optimize input search style in rtl

* fix lint
2020-05-01 14:50:35 +08:00
偏右
7139493258
refactor menu code (#23793) 2020-04-30 21:29:16 +08:00
偏右
081604e253
feat: ㊙️ Input passowrd custom icon (#23792)
*  Support Input.Password iconRender

close #23778
close #23484

*  fix snapshot
2020-04-30 21:19:16 +08:00
二货机器人
98232382f1
feat: MenuItem support danger (#23785)
* feat: Basic danger color

* dark of it

* danger dark style

* invers of dropdown

* update less

* update snapshot
2020-04-30 21:14:10 +08:00
xrkffgg
01b98e79d9
docs: optimize site of components 3 (#23779)
* docs: optimize site of components in rtl 3

* add
2020-04-30 21:04:19 +08:00
xrkffgg
ba9d75e3bd
fix: switch style (#23791) 2020-04-30 21:02:03 +08:00
Zester Quinn Albano
9f2af262ef
docs: add a link to FieldData in setFields FormInstance (#23790) 2020-04-30 20:49:33 +08:00
骗你是小猫咪
e34fc4a7c4
improve: Button loading smooth (#23783) 2020-04-30 17:18:24 +08:00
chenlei
b57c000678
docs: Fix Upload index.en-US.md (#23781)
* docs: fix Upload index.en-US.md

* docs: update Upload index.zh-CN.md
2020-04-30 17:06:05 +08:00
vldh
b66ab37463
feat: add less variable @input-disabled-color (#23775)
* add less variable @input-disabled-color

* Update components/style/themes/default.less

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-30 15:37:11 +08:00
偏右
0b5d09dd4b
docs: 🎬 fix Grid demo slider tooltip (#23772)
close #23768
2020-04-30 11:39:16 +08:00
偏右
10cf054b93
style: 💄 Slider marks should not be selected (#23773) 2020-04-30 11:38:59 +08:00
afc163
9c3bf77b92 docs: 🎬 fix Grid demo slider tooltip
close #23768
2020-04-30 11:19:09 +08:00
xrkffgg
e3e183ea39
docs: add rtl message/notification explanation (#23770)
* docs: add explanation for message/notification

* fix name

* fix

* add
2020-04-30 10:52:44 +08:00
Eric Wang
815baee4d9
chore: Transform anchor test to typescript (#23499)
* chore: Transform anchor test to typescript

* Separate dom

* use hash

* .

* chagnelog

* chore: Transform anchor test to typescript

* Separate dom

* use hash

* .

* rebase
2020-04-30 10:33:29 +08:00
xrkffgg
402f3a9afb
feat: rewrite config with hook and add rtl config (#23759)
* feat: rewrite config with hook and add rtl config

* fix import

* fix lint
2020-04-29 23:18:22 +08:00
Amumu
245deed4b6
fix proper react import again (#23762) 2020-04-29 22:06:04 +08:00
二货机器人
9cd8f79366
fix snapshot (#23760) 2020-04-29 21:41:58 +08:00
Amumu
935b0e5887
fix: Fix crash when mismatch placement (#23756)
* fix Fix crash when mismatch placement

* add test case
2020-04-29 21:30:36 +08:00
二货机器人
e1299bfcc9
Merge pull request #23758 from ant-design/feature
chore: Merge feature into master
2020-04-29 20:42:52 +08:00
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer (#23751)
* add getTargetContainer

* support affix

* test case

* anchor use new context api

* Anchor support getTargetContainer

* doc it

* update patch
2020-04-29 20:22:16 +08:00
xrkffgg
f606ca23f4
site: optimize site of components 2 (#23731)
* docs: optimize site of component 2

* add demo

* fix snap

* remove class
2020-04-29 16:21:56 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number (#23742)
* 🆙 upgrade to rc-input-number@4.6.0

* 🆙 upgrade to rc-input-number@4.6.1

*  update snapshot

* fix version
2020-04-29 14:18:19 +08:00
xrkffgg
e5c664f7f0
style: fix result style in rtl (#23733) 2020-04-29 13:20:43 +08:00
zombiej
80017a0f92 update snapshot 2020-04-29 12:17:00 +08:00
xrkffgg
6391df163b
fix: table pagination position in rtl (#23747) 2020-04-29 12:12:54 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
xrkffgg
e41340ac4d
style: add divider rtl support (#23734)
* style: add divider rtl support

* add base
2020-04-29 10:17:37 +08:00
二货机器人
53a76f0bf7
fix: Table should not crash pageSize is undefined (#23724)
* fix: Table crash when pageSize is undefined

* test case

* fix test case
2020-04-28 20:29:34 +08:00
Baic
7790046ce2
docs: update createFromIconfontCN scriptUrl new array usage (#23704)
* scriptUrl新增数组类型支持,增加文档说明,修改@ant-design/icons最低版本号

* 增加scriptUrl支持数组的代码演示,增加类型说明

* Icon 修改代码演示标题,补充文档

* 根据建议修改文档格式

* 增加scriptUrl为数组时候的覆盖关系说明

* 修改覆盖说明文案
2020-04-28 18:14:07 +08:00
Tom Xu
f0c82d5aa7
fix: PageHeader tag ts typo (#23712) 2020-04-28 17:42:23 +08:00
xrkffgg
16a1feb8fb
fix: alert base rtl style (#23714) 2020-04-28 17:14:21 +08:00
偏右
7bf44c417c
test: fix test case for RangePicker presetted ranges (#23710)
*  fix test case for RangePicker presetted ranges

* 🆙 upgrade simple-git
2020-04-28 16:48:06 +08:00
Tom Xu
699978bcf0
docs: improve rate character (#23713) 2020-04-28 16:46:50 +08:00
偏右
c3c2c157d0
fix: correct Button type="danger" TypeScript definition (#23709)
* fix: remove Button type danger in TypeScript

close #23708

* docs: fix Table dataSource type in document

close #23697

* add warning about type="danger"

* reverse button type warning logic
2020-04-28 16:14:38 +08:00
afc163
e4bdfb218c add test case for RangePicker presetted ranges 2020-04-28 16:00:04 +08:00
偏右
b70d607b9f
💄 Fix RangePicker ranges color when custom theme (#23705)
close #23687
2020-04-28 14:59:17 +08:00
xrkffgg
f6d12c5d88
style: optimize table rtl style (#23706) 2020-04-28 14:48:42 +08:00
偏右
190e2a28a7
🎬 improve tag demo (#23703) 2020-04-28 14:33:39 +08:00
Tom Xu
f5153ab950
docs: improve style type (#23700) 2020-04-28 14:09:54 +08:00
xrkffgg
156ff7652c
fix: table filter dropdown in rtl (#23695) 2020-04-28 12:16:37 +08:00
Tom Xu
313a68c15f
style: fix Transfer empty custom (#23694) 2020-04-28 12:15:48 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
xrkffgg
5183592ece
style: fix table row select style in rtl (#23690) 2020-04-28 09:55:16 +08:00
Tom Xu
62eaa4193b
fix: docs Modal confirmLoading default value (#23682) 2020-04-27 23:45:45 +08:00
Tom Xu
a9d44593b3
fix: Table pagination position ts typo (#23681)
* fix: Table pagination postion ts typo

* fix
2020-04-27 23:45:14 +08:00
MengZhaoFly
a534e4a56a
doc: fix layout demo (#23683) 2020-04-27 23:42:51 +08:00
Tom Xu
5f1d5a17de
fix: Table demo dynamic settings pagination (#23679)
* fix: Table demo dynamic settings pagination

* fix test
2020-04-27 21:48:13 +08:00
xrkffgg
a823400b79
docs: optimize site of components 1 (#23670)
* docs: optimize site of components 1

* fix: lint

* fix: use space

* fix: snap

* revert: button demo

* fix snap
2020-04-27 21:40:52 +08:00