Commit Graph

120 Commits

Author SHA1 Message Date
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
xrkffgg
c393ca700e
style: fix select focused in input group (#23985) 2020-05-09 14:41:00 +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
二货机器人
deafd3fcce
fix: compact group style (#23149)
* fix: compact group style

* updat snapshot
2020-04-11 20:33:08 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +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
偏右
5bb8f585de
add outline-fade less variable (#20227)
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-05 20:39:03 +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
e2251f515b fix: @theme condition 2019-12-03 15:39:32 +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
二货机器人
a533159ade
fix: Input with select style (#19383) 2019-10-23 22:17:06 +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
afc163
b188a5e4d2 🐛 Fix Input.Group icon height in Chrome
close #18856
2019-09-17 15:27:41 +08:00
afc163
97f6ac9fc6 fix stylelint 2019-09-03 19:04:37 +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
xrkffgg
273c57676f fix: Input.Password Icon Position (#18521) 2019-08-28 14:06:15 +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
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
649e8127c5 fix: lint:style 2019-08-06 15:31:59 +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
偏右
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
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
riho
9691d2bee1 fix: optimize Input presuffix style(#17414) 2019-07-07 22:24:37 +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
afc163
3606d15c2f
🐛 Fix Input not align with other components in Chrome
close #17082
2019-06-14 15:28:49 +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
vthinkxie
057d58ebce style(module:input): add disabled selector style in ant input 2019-03-11 18:09:14 +08:00
zombiej
eddfbd5f51 only affect addon & suffix 2019-02-19 11:38:26 +08:00
zombiej
fcc3820545 adjust input style 2019-02-19 11:38:26 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
afc163
766eafbb5f 🐛 Revert #14157 to resolve input icon missing
close #14310
2019-01-13 22:02:38 +08:00
wwwxy80s
fe12172321 hide Input clearIcon when it is not focused 2019-01-07 22:51:28 +08:00
Teng YANG
c2d1d72675 Fix #13529 input group compact border color issues (#13550)
fix #13529
2018-12-18 16:53:45 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" (#13613) 2018-12-13 18:07:49 +08:00
zombiej
2029762297 replace components colors 2018-12-11 22:45:03 +08:00