appleshell
8f18328aad
feat: add setSelectionRange for the ref of Input and TextArea ( #27584 )
...
Co-authored-by: lvpansen <pansen.lv@atzuche.com>
2020-11-06 11:48:50 +08:00
偏右
39e37bf1b4
fix: Input[allowClear] className ( #27462 )
...
* fix: Input[allowClear] className missing
close #27444
* fix snapshot
2020-10-30 15:27:37 +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
二货机器人
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
二货机器人
7e649ec1b6
fix: Input with readOnly should not clearable ( #21494 )
2020-02-20 19:56:22 +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
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
二货机器人
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
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
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
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
zombiej
218798cfb4
merge master
2019-10-14 17:21:22 +08:00
Liming Jin
311a6c0917
fix: replace autosize with autoSize
2019-10-11 23:39:30 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +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
偏右
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
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
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
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
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
melchior voidwolf
906f722ea8
Correct suffix icon in Input.Password ( #15381 )
...
fix #15369
2019-03-14 15:34:09 +08:00
zombieJ
dd435afadb
fix warning check logic ( #15251 )
2019-03-07 15:47:43 +08:00
afc163
881dce9a3e
💄 prettier codes
2019-03-06 13:45:40 +08:00
偏右
5dec4960df
Merge pull request #15184 from ant-design/fix-input-focus-state
...
Fix Input Password focus state
2019-03-05 11:32:05 +08:00
afc163
216c85211b
✅ Add test cases
2019-03-05 11:16:13 +08:00
zy410419243
74a5a10bee
test: update aria-label for TextArea, to fix accesslint problems
2019-03-04 11:35:08 +08:00
zy410419243
9867e6f4cc
test: update cases for TextArea
2019-03-04 11:34:01 +08:00
zy410419243
b4146854d6
test: update cases for calculateNodeHeight
2019-03-04 11:29:15 +08:00
DiamondYuan
e392605230
up
2019-03-02 19:59:45 +08:00
DiamondYuan
4e331a5049
up
2019-03-02 19:59:45 +08:00
thilo-behnke
a9a6da47ed
Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) ( #14733 )
...
* fixed issue with allowClear if value is null
* added test cases for allowClear fix
2019-02-07 11:39:16 +08:00
ztplz
08ce714db2
update dep ( #14131 )
2019-01-07 09:40:55 +08:00
afc163
d19f406f86
✅ fix onChange e.target.value when clear
2018-12-28 23:00:34 +08:00
afc163
d61ad7445a
⚡ support allowClear for Input
2018-12-28 23:00:34 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
...
* master: (23 commits)
✅ fix snapshots
Add docs for the List rowKey prop
💄 don't reset font-family in each component
💄 chore card less variable
Remove classNames from custom-typing file
add collapsed faq ref: #13953
feat: support define card border radius
Fix dateRender not supported at WeekPicker
📝 Add links in Home Page
📝 Fix site responsive interaction, close #13954
💄 chore Steps[labelPlacement="vertical"] style
✅ fix warning in test case
📝 update tech antfin cases
🐛 site menu open bug
🐛 fix site defaultOpenKeys
Correct docs
💄 chore button code style
fix spaces in curly brackets
fix two more code style issues
Fix method argument name
...
2018-12-28 12:11:18 +08:00
afc163
b2c7c53b4c
✅ fix warning in test case
2018-12-27 11:48:42 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zy410419243
bcefe82ee4
test: update test case
2018-12-05 19:46:06 +08:00
zy410419243
1638a629f4
feat: add visibilityToggle to control whether Icon show
2018-12-05 19:46:06 +08:00
zy410419243
113231c5df
pref: fix codecov problem
2018-12-05 19:46:06 +08:00
zy410419243
c161d9c285
feat: Add Input.Password
2018-12-05 19:46:06 +08:00
Sebastian Busch
d47a5be712
Input: new method select(), passed to underlying input ( #11906 )
...
* Input: pass through method select() to underlying input
* add test for Input select()
2018-08-28 18:54:21 +08:00