Commit Graph

198 Commits

Author SHA1 Message Date
二手掉包工程师
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
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
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +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
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +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
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
诸岳
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
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
偏右
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
二货机器人
f3df9ec894
fix: Input background with dark mode (#23115) 2020-04-10 13:13:30 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +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
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
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
偏右
e4505f5bf6
🐛 Fix Input.Search border when has prefix (#21753) 2020-03-02 12:18:23 +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
二货机器人
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
二货机器人
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
信鑫-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
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
Yash Joshi
8b81ce7cc3 fix: select icon on hover & focus in input.group (#20504) 2019-12-28 16:13:33 +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
偏右
ae44aae0d3
🐛 fix Input.Group compact border issue (#19926)
close #19914
2019-11-25 19:08:33 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +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