二货机器人
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
二货机器人
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
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
偏右
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
偏右
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
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
4d81cea17a
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-09-29 11:15:13 +08:00
ahauzq
49c9ee40b4
Input.tsx的otherProps为什么不去掉size
...
我觉得你们的otherProps推导竟然是any,所以不写size没报错
2019-09-27 02:16:45 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
偏右
26c61a12d5
🐛 Input disabled should not be allowed to clear ( #18482 )
...
close #18481
2019-08-26 22:58:00 +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
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
LilyWakana
9c0dbe2ddf
fix: optimize Input presuffix style( #17414 ) ( #17684 )
2019-07-31 18:39:58 +08:00
wenhong
77d8c92a16
chore: remove unnecessary disable default props
2019-07-19 17:05:29 +08:00
zombieJ
dd435afadb
fix warning check logic ( #15251 )
2019-03-07 15:47:43 +08:00
afc163
1b713c94e6
🐛 Focus input after clear input content
2019-03-04 22:19:40 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused ( #14948 )
...
* todo
* add warning
* add FAQ
* fix typo
2019-02-20 15:12:29 +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
zombieJ
5ac80c8e55
Use addonAfter
instead of suffix
when use enterButton
in Input.Search ( #14461 )
...
fix #14450
2019-01-25 11:06:05 +08:00
afc163
b0df3c1225
Fix input defaultValue and value
2018-12-28 23:00:34 +08:00
afc163
a7786267a7
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
fab24bf38c
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
d19f406f86
✅ fix onChange e.target.value when clear
2018-12-28 23:00:34 +08:00
afc163
cb57ff103b
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
e6bdd3d656
✅ fix snapshot and defaultValue warning
2018-12-28 23:00:34 +08:00
afc163
f10cb764e4
fix defaultValue
2018-12-28 23:00:34 +08:00
afc163
d61ad7445a
⚡ support allowClear for Input
2018-12-28 23:00:34 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
...
* master:
📝 Add bodyStyle and style of Drawer in documentation, #13850
🐛 Fix Drawer style not working
🐛 fix markStyle affset style
Update Santa.jsx
update changelog
bump 3.11.6
revert Christmas egg
[type] make type of components compatible with ComponentType<P>
bump 3.11.5
✨ site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +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
c161d9c285
feat: Add Input.Password
2018-12-05 19:46:06 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +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
Wei Zhu
be74114d22
fix: Input 'autosize' is missing in type error
...
close #11697
`autosize` was used for `<Input type="textarea" />` which has been
separated to Input.Textarea
2018-08-13 14:04:27 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
afc163
aa6b55be7e
clean up unused code
2018-07-31 16:40:48 +08:00
Wei Zhu
ff458a2c3f
Improve Input type definitions
...
Close #10166
2018-05-21 21:31:59 +08:00
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
2018-05-19 20:01:47 +08:00
Walter Barbagallo
963120f702
Improved Form component typings ( #10564 )
...
* Improved Form component typings
With this fix you can use HTMLFormElement attributes on Form component
without getting TypeScript errors.
For example this code does not longer produce error for the additional
`autoComplete` prop:
```
const myForm = (
<Form autoComplete="off">
...
</Form>
)
```
* Fix onBlur / onChange typings with Input component
This improvement fix a typing issue incompatibility with
`react-final-form`
The incompatibility involve [this
line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20 )
where the handler argument is a more specific SyntheticEvent
2018-05-17 23:45:13 +08:00
曾凯
d868c5a58e
fix Input type error ( #9046 )
2018-01-20 19:35:14 +08:00
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
...
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
2018-01-12 00:09:23 +08:00
Wei Zhu
98ec9100c3
Update Input types
2017-12-28 10:51:12 +08:00
delesseps
8cdf9ea97a
Add onKeyUp TypeScript definition to Input component ( #8705 )
...
* Add onKeyUp support to Input component
* Update snapshot
* Allow other pros to handle onKeyUp
2017-12-28 09:27:11 +08:00
ddcat1115
f780759f91
fix large size formItem vertical align ( #8495 )
...
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align
* use large size for formItem default line-height
* improve
2017-12-08 20:57:30 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
2017-11-29 11:20:38 +08:00
Wei Zhu
05c702838d
Fix implicit any error for Input
2017-11-21 20:38:30 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
delesseps
a8cab96c13
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:57:23 +08:00
delesseps
2730344ff7
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:56:30 +08:00
delesseps
c419a1ddef
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:35:26 +08:00
delesseps
bb411517cf
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:31:48 +08:00
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
2017-09-08 09:43:21 +08:00
infeng
d19bfcbf74
fix onChange ts definition of Input
2017-07-19 13:52:55 +08:00
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
2017-07-12 21:43:06 +08:00
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
偏右
b653a2c055
Merge branch 'master' into feature-2.12
2017-07-07 19:41:37 +08:00
团结
625673486e
I guess nextFrameActionId should be reset after textarea resized.
2017-07-06 20:42:54 +08:00
Benjy Cui
fe33e76479
refactor: extract Input.TextArea
2017-07-03 17:26:29 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
afc163
920adb9a8a
props.style in wrapper for input with addons
2017-06-03 00:55:30 +08:00
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
2017-05-28 15:27:55 +08:00
clinyong
2202648d6e
Input add autoFocus prop (for ts checking)
2017-05-27 16:37:15 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
Benjy Cui
a86a3339fc
revert: #5990
2017-05-16 12:02:52 +08:00
afc163
1165200dcc
remove unused className, #6144
2017-05-15 18:20:31 +08:00
afc163
010860ae0f
Fix style.height issue of Input with addon and prefix, close #6144
2017-05-15 18:15:58 +08:00
偏右
0fdc3799b6
refactor: Extend Input types from HTMLInputProps, #5970 ( #5990 )
2017-05-15 10:28:13 +08:00
Brook Shi
315f760ce2
Input component support spellCheck for TypeScript
2017-04-30 23:31:45 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Qingrong Ke
8afc2e9e95
Fix 5322 ( #5379 )
...
* Input: fix #5322
* Refactor preSuffix to affix
* Update tests and demos
* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
afc163
c537030dee
optimize for b7621c9
2017-03-10 17:04:52 +08:00
afc163
dc00b9ee96
Fix Search block again, close #4540
2017-01-10 15:11:43 +08:00
afc163
41ff783868
Add name type for Input, close #4479
2017-01-05 17:19:50 +08:00
Rex
1b8a280614
support suffix ( #4283 )
...
* support suffix
* optimize prefix and suffix
* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation
* update snapshots
2017-01-01 01:06:19 +08:00
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
2016-12-07 11:08:30 +08:00
afc163
ad911d8dfa
Change way to fix #4092
2016-12-04 16:42:49 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
ddcat1115
73c776e73d
feat: Input
add NumericInput demo & update searchInput demo ( #3861 )
...
* Input
add NumericInput demo
update searchInput
* Input
- add Input.Search
- update NumericInput
* snap update
2016-11-24 14:03:57 +08:00
Benjy Cui
e2b6054cc4
style: update code style
2016-11-15 15:18:40 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
feng zhi hao
bb22f7864b
fix: improve declaration ( #3167 )
...
* improve declaration
* remove id props in row
2016-09-27 12:04:01 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
2016-09-10 17:17:55 +08:00
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
2016-09-01 11:48:38 +08:00
Benjy Cui
92ab804815
feat: Cascader[showSearch] ( #2776 )
...
* feat: implement Cascader[showSearch] basicly
* feat: optimize Cascader[showSearch]
* feat: clear for input value
* feat: complete Cascader[showSearchf]
* docs: add docs for Cascader[search]
* fix: review
* fix: add key
* style: update code style to please lint
* refactor: update according to review
* docs: update docs
2016-09-01 11:08:41 +08:00
afc163
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +08:00
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
...
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
afc163
da6b65f7f0
Merge 1.x-stable
2016-08-12 14:47:01 +08:00
RaoHai
7dd4a019d5
DatePicker 组件优化
...
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
afc163
2e41e35cc6
Fix more tslint problems
2016-07-13 17:22:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
6dad2b2987
Merge branch '1.x-stable'
2016-07-11 14:57:38 +08:00
afc163
487b40815f
Merge 1.x-stable
2016-07-07 15:13:01 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00