Commit Graph

879 Commits

Author SHA1 Message Date
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +08:00
07akioni
f937a7fffe
feat: Input & Input.TextArea support bordered prop (#25617)
* feat: Input bordered prop

* fix: snapshot

* fix: borderless Input background-color -> transparent
2020-07-16 00:25:47 +08:00
xrk
96eec53cae
docs: add input.password iconRender (#25635) 2020-07-15 16:53:26 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
xrkffgg
382b8a78be
docs: format api input/inputnumber/mentions (#25339) 2020-07-01 15:14:31 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value (#25243)
* fix: InputNumber max prop has no default value

* docs: enUS ref links

* docs: typo fix

* test: snapshots
2020-06-29 11:07:56 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature 2020-06-28 20:06:37 +08:00
二货机器人
67513cc71b
fix: Select icon interactive (#25212)
* fix: Select icon interactive

* updat snasphot
2020-06-24 23:28:54 +08:00
afc163
bbc95a12a4 merge feature into master-to-merge-feature 2020-06-19 13:22:11 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
二货机器人
dc4b420d51
fix: Search crash in AutoComplete (#25049) 2020-06-17 13:35:12 +08:00
二手掉包工程师
39fe6fdcb6
refactor: refine some typos (#25036) 2020-06-17 10:58:24 +08:00
二手掉包工程师
e54df4a41e
refactor: rewrite Password with hooks (#25012)
* refactor: rewrite Password with hooks

* refactor: remove state

* refactor:fix lint

* refactor:fix lint

* test: add size case
2020-06-16 19:49:08 +08:00
偏右
65355a3855
Merge pull request #25016 from ant-design/master
chore: Feature merge master
2020-06-16 13:06:51 +08:00
二手掉包工程师
50401d0c4d
test(Search): remove useless async (#25017) 2020-06-16 11:51:01 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea (#24966) 2020-06-13 14:24:56 +08:00
二手掉包工程师
544f407dd1
chore: add displayName Search name (#24965) 2020-06-12 23:32:06 +08:00
Kermit Xuan
e5348e77c2
feat: Mentions support autoSize (#24961)
close #17746
2020-06-12 23:26:30 +08:00
二手掉包工程师
f7934f5df2
refactor: rewrite Search with hook (#24901)
* wip: rewrite Search with hook

* fix: use forwardRef

* fix: use forwardRef

* test: add prevent test

* test: refine code
2020-06-12 18:50:36 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs (#24881) 2020-06-10 11:12:31 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
xiaosong
46955f9f59
fix: 💄 IE11 input height issue (#23955) (#24673)
* fix: 🏁 fix ie11 input height issue (#23955)

* style: fix style order issue

* fix: 🏁 fix input height issue with css hack

* fix: 💄 Put IE11 css hack in IE.less
2020-06-02 21:17:57 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
Teng YANG
c353e8bb06
support -readonly suffix on input-affix-wrapper (#24551) 2020-05-30 00:37:59 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
偏右
4be9535926
fix: Password value still exists after blur it (#24535)
close #24526
2020-05-28 14:49:03 +08:00
Teng YANG
ccd2820ce7
fix: #24205 less class name prefix enhancement (#24459)
* replace ant class prefix with variable in mixin

* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
Mr.jiangzhiguo
4066f2f624
fix: Input.TextArea clear icon disappears (#24360)
* [#24359]: fix this issues

details: https://github.com/ant-design/ant-design/issues/24359

* fix css order
2020-05-21 22:55:52 +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
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
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
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
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +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
xrkffgg
c393ca700e
style: fix select focused in input group (#23985) 2020-05-09 14:41:00 +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
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +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
偏右
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
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
偏右
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
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
hengkx
9868a4dc59 Merge branch 'feature' into mergefeature 2020-04-27 21:02:16 +08:00
Yu Mao
e199a7a301
fix: preserve caret position🐛 (#23633)
* 🐛 fix: preserve caret position

*  update test case for preserving caret position

* Update Password.tsx

* Update Password.test.js

* Update Password.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-27 18:02:51 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
偏右
3ddc99c28f
🐛 Fix Input suffix align issue (#23606)
close #23588
2020-04-26 12:46:59 +08:00
偏右
d2c541b4e2
fix: 🐛 Input.Search height affected by suffix (#23527)
* 🎬 improve Input demo code

* style: fix Input.Search height stretched by suffix

close #23523

* fix react key warning

*  fix demo snapshot
2020-04-23 18:11:11 +08:00
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input autoComplete (#23455)
* support autoComplete

* update doc

* fix lint
2020-04-22 10:38:43 +08:00
xrkffgg
6d238a734d
feat: search rtl (#23424) 2020-04-21 11:25:53 +08:00
二货机器人
ac7865a6fc
chore: Adjust search style (#23406)
* chore: Adjust search style

* fix lint

* Update demo.test.js.snap

* update style

* update cover area

* area it
2020-04-21 09:41:09 +08:00
Tom Xu
6e1ffb96ca
fix: Input.Search ConfigProvider size (#23331)
* fix: Input.Search ConfigProvider size

* Update Search.tsx

* add test

* Update size.md
2020-04-18 18:31:03 +08:00
偏右
8ab146220e
💄 Fix Input[type=color] height (#23351)
close #23334
2020-04-17 16:04:20 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style (#23259)
* fix: Input allow clear icon

* update test case

* update snapshot
2020-04-14 23:04:23 +08:00
二货机器人
deafd3fcce
fix: compact group style (#23149)
* fix: compact group style

* updat snapshot
2020-04-11 20:33:08 +08:00
二货机器人
49acc871b9
chore: Fix compile error (#23131) 2020-04-10 18:47:08 +08:00
二货机器人
f3df9ec894
fix: Input background with dark mode (#23115) 2020-04-10 13:13:30 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
Jay Fong
ed5abc246c
chore(Input): improve type types (#23006) 2020-04-08 10:43:37 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +08:00
二货机器人
89abacac31
fix: Input affix prevent dropdown focus (#22887)
* adjust focus logic

* update logic
2020-04-03 16:11:41 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
afc163
40eae38563 fix ci 2020-03-30 16:46:46 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

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

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
xrkffgg
7d9480a84d
style: optimize input rtl syle (#22624) 2020-03-27 10:10:09 +08:00
二货机器人
e95603b599
fix: Input with suffix align issue (#22603)
* fix: Input prefix style

* update snapshot

* fix int
2020-03-25 22:44:56 +08:00
xrkffgg
a1efc2876d
fix: input rtl style (#22525) 2020-03-23 18:04:44 +08:00
偏右
66f67051af
test: improve test for requestAnimationFrame (#22433)
* test: improve test for requestAnimationFrame

*  fix test coverage

* fix test case

* fix test case
2020-03-20 15:07:47 +08:00
xrkffgg
6e153c9116 fix: name 2020-03-19 16:44:16 +08:00
xrkffgg
f79d57a58a style: add rtl.less of Input 2020-03-19 16:05:10 +08:00
xrkffgg
6f4d27985e
fix: inputgroup search icon (#22197) 2020-03-14 12:41:55 +08:00
偏右
339b785815
🎬 improve input demo and test case (#22016) 2020-03-09 16:15:19 +08:00
偏右
8dd8a19d6f
🐛 Fix TextArea[autoSize] don't scroll bottom in Firefox (#22014)
close #21870
2020-03-09 16:04:51 +08:00
tdida
23e48552ad
fix: Input.Password ConfigProvider prefixCls not work (#21953)
* fix: Input.Password ConfigProvider prefixCls not work

* test: add ConfigProvider Input.Password test

Co-authored-by: TDiDa <>
2020-03-07 15:11:44 +08:00
xrkffgg
c162bff8ab
style: add search input border color in RTL (#21946) 2020-03-06 18:09:37 +08:00
偏右
5bb8f585de
add outline-fade less variable (#20227)
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-05 20:39:03 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
xrkffgg
1d37cf3cdf
fix: input group demo (#21751) 2020-03-02 12:24:24 +08:00
偏右
e4505f5bf6
🐛 Fix Input.Search border when has prefix (#21753) 2020-03-02 12:18:23 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
GJ Wang
f78332171e
docs: fix size props (#21724) 2020-03-01 18:24:59 +08:00
二货机器人
04bfb21923
fix: TextArea warning with React 16.13 (#21703)
* fix: TextArea auto height warning

* comment it

* popout textarea test case

* no warning in react 16.13
2020-02-29 16:44:04 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
二货机器人
7e649ec1b6
fix: Input with readOnly should not clearable (#21494) 2020-02-20 19:56:22 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
二货机器人
ed1959c13e
fix: Input click should get focus (#21413)
* fix: Click border should also focus

* update snapshot

* update snapshot

* fix TextArea

* update snapshot
2020-02-17 19:12:42 +08:00
偏右
49b7a0ccd2
test: Increase Slider and Input test coverage (#21364)
*  Add test case to Slider

* increae cov and make hidden textarea works with screen readers
2020-02-13 17:32:07 +08:00
二货机器人
4192c1f6d9 fix: Some input style issue (#21316)
* fix firefox flex bug

* fix input wrapper style

* fix clear text style

* update snapshot
2020-02-10 15:26:32 +08:00
Amumu
02a71d0ddd
fix: form item Input size error with prefix or suffix (#21290)
* fix form item Input size error with prefix and suffix

* snapshot

* add test case

* revert width
2020-02-09 11:57:42 +08:00
afc163
25d2f1b3e2 some tests should run when mount to document.body 2020-02-04 18:03:16 +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
二货机器人
996b7bc8f0
fix: Input suffix should work with append (#21105) 2020-01-25 17:50:03 +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
偏右
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
二货机器人
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
二货机器人
222849235d
fix: TextArea autoSize blink in FireFox (#20737) 2020-01-07 20:57:42 +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
信鑫-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
二货机器人
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
二货机器人
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
二货机器人
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
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
偏右
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
偏右
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
8b81ce7cc3 fix: select icon on hover & focus in input.group (#20504) 2019-12-28 16:13:33 +08:00
ycjcl868
cb788dc77c chore: update snapshot 2019-12-26 15:42:08 +08:00
ycjcl868
0306096356 chore: update snapshot 2019-12-26 15:15:46 +08:00
ycjcl868
a8579affd1 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 15:04:53 +08:00
Amumu
29b4b7004e docs upgrade (#20460) 2019-12-26 14:37:39 +08:00
ycjcl868
e9c5667596 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 11:28: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
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
27a3758e1f fix: input group demo dark 2019-12-25 21:48:54 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
zombiej
6dc5a8c2f4 update snapshot 2019-12-25 20:07:10 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
zombiej
7a520f1ba4 chore: Update snapshot 2019-12-25 14:06:08 +08:00
zombiej
4b5a3259c1 chore: Update rc-select deps & snapshot 2019-12-25 11:29:54 +08:00
vagusX
46e1ad1b51 feat: update @ant-design/icons@4.0.0-alpha.13 (#20427) 2019-12-25 11:17:14 +08:00
ycjcl868
52e9c20b10 Merge origin/4.0-prepare into feat-dark-palette 2019-12-24 10:42:07 +08:00
ycjcl868
3a38cfaa01 fix: card, form site dark theme 2019-12-23 20:07:56 +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
kailunyao
32744e733c fix: Disallow auto focus input after triggering "onSearch" event in mobile and tablet devices (#20332)
close #20297
2019-12-19 12:52:53 +08:00
afc163
15f75e1c55 fix time picker test snapshots 2019-12-17 16:58:41 +08:00
二货机器人
407a41a142
feat: New Picker (#20023)
* init generate

* basic style

* basic panel style

* update mode panel style

* update style

* generate More picker

* default clear icon

* chore: Update separator type

* feat: Add ranged start & end className

* update range style

* Add transition effect

* support size config

* adjust range style

* chore: Auto fill time by showTime

* auto set time by format

* update disabled style

* update seperator style

* ranges style

* support extra footer style

* remove useless test case
part is not usable anymore
part is already tested in rc-picker

* init calendar

* all demos

* fix calendar basic test

* fix time-picker test case

* update snapshot

* fix tooltip test case & lint

* fix locale & style lint

* fix compile

* fix style

* fix style lint

* fix calendar style

* update rc-picker version

* adjust style

* move picker placeholder into locale file

* update snapshot

* add hover style

* update picker version

* fix icon position & style

* update picker version

* update deps for pading

* fix: align of suffix

* feat: Year & Month support range effect

* adjust range style to support up-down placement

* update rc-picker

* update range picker style

* adjust extra footer line style

* update snapshot

* fix: Locale error

* fix: style lint

* fix: add missing button style deps

* update test case

* fix firefox additional white line style issue

* rollback demo

* fix ff additional blue color

* docs: Remove placeholder in demo

* rangepicker ranges is tag now

* connect start / end background color with picker range

* update deps

* update deps for fixing blur text issue

* hide start-end demo

* range hover style update

* hover range with ranged value

* black magic of inner hover style

* hover style of range adjust

* fix css select miss hit on DatePicker

* remove one eslint rule

* fade range hovered color

* week should alway not show the cell selection

* update style of selection

* update snapshot

* fix style

* add margin back

* update rc-picker deps

* update date & time picker & form style

* fix disabled demo & update form style

* update docs about allowEmpty

* hide arrow in time range picker

* add hover & focused style

* fix lint

* fix style & update snapshot

* raise disabled selector proirity

* fix disabled today border color

* extra footer provides an bottom line

* time picker hover support transition background

* add padding style

* fix Firefox not correct calculate inline-flex

* fix style

* fix week picker missing today border color

* rm useless padding

* Force padding to 0

* test coverage

* dedup eslint rule

* adjust logic to imporve coverage

* fix render cell logic
2019-12-11 23:32:19 +08:00
ycjcl868
6af7f8382c feat: @input-icon-hover-color 2019-12-05 00:04:50 +08:00
ycjcl868
f194a9d885 fix: input password icon hover 2019-12-04 12:14:29 +08:00
ycjcl868
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +08:00
ycjcl868
28306fb304 fix: colorPalette and @tree-bg 2019-12-02 10:53:09 +08:00
ycjcl868
99f8d84f2f feat: date-picker, steps less dark 2019-12-01 23:44:51 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
偏右
ae44aae0d3
🐛 fix Input.Group compact border issue (#19926)
close #19914
2019-11-25 19:08:33 +08:00
Qhan W
5a24beaf9f docs: clean up version info in 4.0 (#19876)
* docs: clean up version info in 4.0

* docs: removed version column in 4.0
2019-11-22 14:37:39 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
yoyo837
9e27697e93 doc: Input.TextArea property allowClear add 'since', ref #19310 2019-11-07 11:38:36 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
zombiej
5bf96bbb51 merge master 2019-11-04 10:49:45 +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
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +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
zhangzh
670fbe3843 docs: add "maxLength" property to Input Doc 2019-10-25 16:20:18 +08:00
二货机器人
a533159ade
fix: Input with select style (#19383) 2019-10-23 22:17:06 +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
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +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
afc163
8e2b2470b2 update snapshots 2019-10-15 17:47:10 +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
zombiej
218798cfb4 merge master 2019-10-14 17:21:22 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
Liming Jin
311a6c0917 fix: replace autosize with autoSize 2019-10-11 23:39:30 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
Rodrigo Ehlers
36a7621bb3 add clear-icon click 2019-10-09 22:29:13 +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
zombiej
867910e6f4 merge master 2019-09-29 18:11:24 +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
zombiej
4d81cea17a Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-29 11:15:13 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
chore: Merge master into feature
2019-09-28 19:27:19 +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
二货机器人
4907996b97
feat: TreeSelect use virtual scroll (#19040)
* use new rc-tree-select

* support not found

* add switch icon support

* support function

* support selection motion

* show search icon if open

* clean up

* fix lint

* fix lint
2019-09-27 22:31:28 -05: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
ahauzq
49c9ee40b4 Input.tsx的otherProps为什么不去掉size
我觉得你们的otherProps推导竟然是any,所以不写size没报错
2019-09-27 02:16:45 +08:00
zombiej
911867622e merge master 2019-09-26 22:28:08 +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
偏右
9e9abfdc79
Merge branch 'feature' into master-for-merge 2019-09-23 15:33:43 +08:00
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
Wensheng Xu
1d8c6f8d82 fix: Disabled input should not trigger the action of suffix part #18889 2019-09-20 13:06:25 +08:00
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08:00
afc163
b188a5e4d2 🐛 Fix Input.Group icon height in Chrome
close #18856
2019-09-17 15:27:41 +08:00
zombiej
fa8ddb4104 merge master 2019-09-16 11:23:26 +08:00
偏右
1200f7fe00
Merge branch 'feature' into master-to-merge 2019-09-14 15:40:33 +08:00
afc163
09810a28d9 fix test cov for Search onChange 2019-09-13 13:26:53 +08:00
afc163
6f695b050e 🐛 Input.Search should trigger onSearch when clear
close #18729
2019-09-13 13:26:53 +08:00
骗你是小猫咪
5cd01d0470 feat(Input.Search): add loading prop (#18771)
* feat(Input.Search): add loading prop

* fix: review change

* optimize input search loading prop doc

* fix: ci fail and onSearch disabled when loading
2019-09-12 22:32:29 +08:00
二货机器人
2ea28af6ed
Virtual select component (#18658)
* init

* fix firefox

* add active style

* adjust arrow style

* update select

* update icon logic

* render empty

* init multiple

* fix ff display style

* sync font size

* adjust padding style

* add padding

* padding it

* hotfix of chrome

* single sm

* multiple size

* update option group style

* update snapshot

* clean up transition

* rm combobox in ts define

* auto complete init

* fix auto option def

* update demo

* update demo

* update uncertain demo

* update demo

* warning if user set `size` on AutoComplete

* add debug demo

* updat demo

* update demo of disabled

* update snapshot

* rm useless test

* fix pagination test

* fix Table test

* fix calendar test case

* fix calendar test case

* adjust style

* add big data demo

* support clean up

* fix ts define

* fix lint

* fix demo lint

* fix style lint fix

* rm useless deps

* update snapshot

* stop mock

* add space
2019-09-12 20:15:17 +08:00
zombiej
43b3da9eae Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-04 16:20:28 +08:00
afc163
97f6ac9fc6 fix stylelint 2019-09-03 19:04:37 +08:00
zombiej
b081fc4766 merge master 2019-09-02 16:09:05 +08:00
二货机器人
cc9c65828a
fix: Chrome input position not align with button (#18603)
* add debug

* fix: Chrome input position not align with button

* fix lint
2019-09-02 15:35:42 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
xrkffgg
273c57676f fix: Input.Password Icon Position (#18521) 2019-08-28 14:06:15 +08:00
afc163
f8ed99ab57 missing components 2019-08-27 18:31:01 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
偏右
26c61a12d5
🐛 Input disabled should not be allowed to clear (#18482)
close #18481
2019-08-26 22:58:00 +08:00
偏右
c9a703d9fb
🐛 Fix Input.Password unmount crash (#18475)
close #18473
2019-08-26 15:33:42 +08:00
偏右
c6c947fd28
🐛 Fix Input.Password cannot get input element (#18441)
close #18412
2019-08-24 00:25:45 +08:00
二货机器人
b9b9675fe1
fix: Not shaking with autosize of TextArea (#18401)
* fix: Not shaking with autosize of TextArea

* fix ract 15 demo

* fix demo

* add state

* handle event

* try to fix react 15 test case
2019-08-22 11:55:37 +08:00
afc163
488ef9ff94 🐛 Fix Input align broken in IE11
close #18347
close #18313
close #17753

The fix of #17759 did not resolve IE11
2019-08-19 17:24:38 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
1cb346573c merge master 2019-08-12 13:34:23 +08:00
偏右
2cadd5be9f fix: Input clear icon align problem (#18151)
* 🐛 Fix Input clear icon align problem

close #18150
close #17414

* Update index.less
2019-08-08 15:09:36 +08:00
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
649e8127c5 fix: lint:style 2019-08-06 15:31:59 +08:00
zombieJ
3a8fcd6281
fix: Textarea show scroll when autosize (#18114)
* fix: Textarea show scroll when autosize

* clean up
2019-08-06 15:29:13 +08:00
zombieJ
197649bf5e
fix: Revert #17684 (#18097)
* fix: Revert #17684

* update snapshot

* gt di
2019-08-05 22:14:00 +08:00
LilyWakana
9c0dbe2ddf fix: optimize Input presuffix style(#17414) (#17684) 2019-07-31 18:39:58 +08:00
zombiej
514ee9bef9 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-07-29 14:35:15 +08:00
偏右
bc2d24646e
💄 correct @input-hover-border-color (#17820)
https://github.com/ant-design/ant-design/pull/17784#issuecomment-514069999
2019-07-23 15:06:25 +08:00
偏右
b8485ca744
🐛 Fix Input line height in IE (#17759)
close #17753
2019-07-20 20:01:51 +08:00
wenhong
77d8c92a16 chore: remove unnecessary disable default props 2019-07-19 17:05:29 +08:00
zombiej
735996ce35 merge master 2019-07-16 11:42:55 +08:00
Wei Zhu
5b7c922594 Revert #17508 (#17639)
* Revert "fix: Style property orders"

This reverts commit 54a992c359.

* Revert "fix: optimize Input presuffix style(#17414)"

This reverts commit 9691d2bee1.
2019-07-15 15:04:51 +08:00
诸岳
54a992c359 fix: Style property orders 2019-07-13 16:55:18 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombiej
85a499365d merge master 2019-07-09 10:50:46 +08:00
riho
9691d2bee1 fix: optimize Input presuffix style(#17414) 2019-07-07 22:24:37 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
zombieJ
dc4102d879
reset line-height of TextArea & Picker (#17165) 2019-06-19 11:23:21 +08:00
Sevak
baac048eeb
Fix English translation 2019-06-18 13:08:36 +02:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
afc163
3606d15c2f
🐛 Fix Input not align with other components in Chrome
close #17082
2019-06-14 15:28:49 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
zombieJ
1517fcbbd6
fix space missing in button (#16551) 2019-05-17 12:04:47 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
afc163
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
close #15626
2019-03-31 20:25:41 +08:00
afc163
e3559ffb32
🐛 Fix clear icon style in Input/Input.Search
close #15237
2019-03-26 22:40:10 +08:00
afc163
9f3ef09717
Fix demo snapshot 2019-03-26 22:40:10 +08:00
afc163
3a26573394
📝 Optimize prefix/suffix demo 2019-03-26 22:40:10 +08:00
杨小事er
a6a5e068eb fix(Input): fix password prop action (#15598)
* fix(Input): fix password prop action

* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
melchior voidwolf
906f722ea8 Correct suffix icon in Input.Password (#15381)
fix #15369
2019-03-14 15:34:09 +08:00