zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
afc163
7bbeaff3ed
🆙 Upgrade rc-input-number@4.4.0 to fix 13896
2019-02-21 12:12:52 +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
Rick Zhou
80e6204803
remove the lambda used in input-number render() function
2019-02-14 17:51:18 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +08:00
zombieJ
439c5ac29c
fixed the css in input-number ( #14373 )
...
fix #14367
2019-01-16 16:46:55 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
zombiej
874ed98e31
merge master
2019-01-02 17:12:34 +08:00
Konrad Machlowski
18183ac2d5
Correct typings for change handlers
2018-12-28 16:10:36 +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
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
afc163
54581779a8
fix typo
2018-10-06 20:21:46 +08:00
amedora
eb4e6b7fd6
WIP: Add decimal separator prop ( #12329 )
...
* Add decimal separator prop
* Update API reference
2018-09-20 16:37:54 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
HeskeyBaozi
007da02baa
hotfix: fix input-number style
2018-09-03 13:10:40 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
诸岳
474f524df7
Fix conflicts after that master branch is merged into feature-3.9.0 branch
2018-08-26 13:46:29 +08:00
nuintun
5f17ed789b
Adjust input-number handler style
...
Make handler look better
2018-08-25 22:51:01 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935
update test snap shot
2018-08-13 14:46:55 +08:00
HeskeyBaozi
6c42d711e8
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-07-31 15:36:23 +08:00
Eric Turriff
1bbf59bb1d
fixed typo in InputNumber
docs
2018-07-28 13:03:37 +08:00
HeskeyBaozi
318528dc4f
use svg icon in input-number component
2018-07-25 15:14:16 +08:00
afc163
101fdc7241
Fix InputNumber overlap in fixed columns table
...
close #11408
ref #6289
2018-07-23 15:10:43 +08:00
afc163
4aabc53744
Fix InputNumber handler background
...
https://gw.alipayobjects.com/zos/rmsportal/QDxJpiArMgQJCLhmVvEZ.png
2018-07-03 15:35:56 +08:00
afc163
60ebb434c1
Fix form controls align issue in IE11
...
close #9827
close #11133
2018-07-03 14:04:46 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
37ec04b21a
Fix InputNumber style when zoom to 90% or below
...
close #10562
2018-06-13 17:31:26 +08:00
Walter Barbagallo
4077ffb58c
Enhanced InputNumber props with HTMLInputElement attributes. ( #10608 )
...
* Enhanced InputNumber props with HTMLInputElement attributes.
It is possibile to use additional props supported by the inner input
element:
```
const inputEl = <InputNumber autoFocus />
```
Before this commit the type checker did not recognize the `autoFocus`
prop.
Some attributes must be omitted because they conflict with props
defined on `InputNumberProps` interface
* Renamed type
Probably they conflicts with a reserved name?
@see https://travis-ci.org/ant-design/ant-design/jobs/381668406
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported interface 'InputNumberProps' has or is using private name 'OmitAttributes'.
* Replace InputNumber onKeyDown typing with the typed one.
Extending HTMLInputElement attributes the `onKeyDown` props now have a
better typing.
For example before this commit accessing to the event `key` attribute resulted
in a type error.
@see https://reactjs.org/docs/events.html#keyboard-events
* Exporting type OmitAttrs on InputNumber component.
This is an attempt to solve the ci error:
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported
> interface 'InputNumberProps' has or is using private name 'OmitAttrs'.
@see https://travis-ci.org/ant-design/ant-design/jobs/381678316
2018-05-22 10:46:20 +08:00
afc163
07d6988f0d
Add some tests
2018-03-23 19:19:29 +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
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
afc163
abf9717eab
Large component should has larger font size
...
14px => 16px
2017-12-28 15:41:48 +08:00
afc163
7baa81ced1
Fix input number handler disabled style
2017-12-18 09:55:56 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
...
* upgrade devDeps and fix lint
* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
05c702838d
Fix implicit any error for Input
2017-11-21 20:38:30 +08:00
afc163
a8e5690805
Merge branch 'master' into antd-3.0
2017-11-21 15:59:48 +08:00
Nokecy
08d27b92ee
inputNumber 添加onKeyDown属性声明 ( #8253 )
2017-11-21 11:15:38 +08:00
Wei Zhu
09aaa56243
Update snapshot
2017-11-19 21:07:08 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
delesseps
174c98cdca
Add focus and blur support to InputNumber ( #7615 )
...
* Add focus support to InputNumber
* Convert string ref to private ref
* Added blur method and fixed linting
2017-09-15 15:47:06 +08:00
afc163
f56e1a7de7
Fix InputNumber id ts type, close #7257
2017-08-18 18:17:06 +08:00
afc163
f77c38bddf
fix snap
2017-08-18 12:17:07 +08:00
afc163
e3b6430a4b
Fix InputNumber border, close #7117
2017-08-07 14:16:28 +08:00
tim-soft
fdb943e887
Fix formatter ( #7098 )
...
The replace function can only work on a string, this little tweak will make the formatter not crash the page when the value is changed.
2017-08-06 11:57:56 +08:00
afc163
6a17efcbf1
upgrade some devDeps and fix stylelint
2017-08-04 18:01:40 +08:00
afc163
5ad194143f
Fix InputNumber[precision] ts definites, close #6715
2017-07-04 14:03:07 +08:00
Benjy Cui
00932da89b
test: update snapshot for rc-calendar and rc-input-number
2017-06-28 16:29:26 +08:00
乐仪
f03e5549bf
Merge branch 'master' of https://github.com/ant-design/ant-design into feature-2.11
2017-05-31 20:01:07 +08:00
afc163
709c750c2b
Fix InputNumber feedback z-index issue, close #6289
2017-05-29 01:51:13 +08:00
Panjie Setiawan Wicaksono
1abbc1c31b
chore: add name props to input-related interfaces ( #6276 )
2017-05-27 09:31:06 +08:00
afc163
861c5b33d1
support precision of InputNumber, close #5998
2017-05-22 17:40:12 +08:00
Graeme Yeates
e69f03a323
Fix input-number not setting the child input elements background
2017-05-03 14:46:32 -04:00
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
2017-04-28 15:43:02 -04:00
乐仪
5dfe86e891
fix snap
2017-04-24 17:08:56 +08:00
whtang906
851f8a8756
Add missing props(parser) into InputNumberProps
2017-04-11 21:16:02 +08:00
afc163
9daccc468a
update input number snapshots
2017-04-10 13:21:15 +08:00
Benjy Cui
07e2c5e9c5
docs: update docs for InputNumber, close : #5683
2017-04-10 11:16:41 +08:00
afc163
4f89e54cb2
Merge from branch "master"
2017-03-28 15:58:41 +08:00
afc163
37744a073d
Fix InputNumber cursor style in safari
2017-03-27 21:09:31 +08:00
ddcat1115
c004001a5f
fix InputNumber plcaeholder style ( #5508 )
2017-03-27 15:20:07 +08:00
afc163
f5350fcd7e
Add InputNumber[parser] which works with formatter
2017-03-22 15:10:03 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
bb16e5fe32
docs: improve docs for InputNumber
2017-03-16 16:59:06 +08:00
afc163
928126e3b3
fix formatter types
2017-03-10 18:20:28 +08:00
Hugo LEHMANN
a73d7d6f22
Add InputNumber typings for props formatter ( #5241 )
...
* Add InputNumber typings for props formatter
https://github.com/ant-design/ant-design/issues/5240
* InputNumber: Correct typings for formatter prop
2017-03-10 18:19:40 +08:00
Wei Zhu
d4a52b14ce
docs: fix InputNumber api table
...
close #5251
2017-03-10 11:19:14 +08:00
偏右
43280ea790
Add formatter prop for InputNumber ( #5178 )
2017-03-06 11:40:23 +08:00
Graeme Yeates
9827b74156
Use @input-color to set InputNumber's color ( #5148 )
2017-03-03 10:43:44 +08:00
afc163
d2e178d215
update doc
2017-02-25 18:37:25 +08:00
feng zhi hao
47dc4a81e4
docs: rewrite InputNumber demos to ES6 component ( #4950 )
2017-02-20 12:27:13 +08:00
afc163
94ec19570e
Make InputNumber & RadioButton height style more flexible
2017-02-15 11:47:22 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
afc163
ef5df24936
fix InputNumber onChange argument type
2017-02-07 17:27:28 +08:00
afc163
d8f6accbba
docs: update input number api
2017-02-07 17:26:40 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Benjy Cui
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
Pierre
827aa2f94c
style: remove hardcoded inputs height ( #4175 )
...
* remove hardcoded inputs height
* revert pagination input height
* revert pagination input heights bis
2016-12-15 11:17:09 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
4184e7c8ac
fix input-number snap
2016-12-03 14:44:10 +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
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
afc163
c20239829d
Fix InputNumber vertial-align
...
https://github.com/ant-design/ant-design/issues/3866#issuecomment-261148256
2016-11-17 12:16:25 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
feng zhi hao
4b9db4ff87
improve props interface in InputNumber and Table ( #3360 )
2016-10-10 22:38:47 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
afc163
7233b9a908
Fix #3075 and #2876
2016-09-19 16:16:13 +08:00
afc163
e4ecb88220
fix InputNumber long text overflow style, close #3075
2016-09-19 16:01:57 +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
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
Benjy Cui
cb367f3f35
site: update site details
2016-09-08 16:53:50 +08:00
afc163
e0eb9ae162
Merge branch "1.x-stable"
2016-08-29 21:02:59 +08:00
afc163
c3c1d091c2
Fix InputNumber flush style in Chrome, close #2876
2016-08-29 20:57:42 +08:00
Marius Ileana
75741854c9
input-number / index.en-US.md - small update ( #2790 )
...
Small update on the API section.
2016-08-21 00:20:42 +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
Benjy Cui
2c0ed57e5a
docs: fix InputNumber demos' format
2016-08-18 15:59:07 +08:00
ryangun
0723b9664c
docs: the translation of Input-number ( #2707 )
2016-08-18 15:46:11 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
RaoHai
ff31a5b555
Revert "Revert "refactor with bisheng""
...
This reverts commit 7a07b128d1
.
2016-05-27 11:48:08 +08:00
RaoHai
7a07b128d1
Revert "refactor with bisheng"
2016-05-27 11:03:49 +08:00
Benjy Cui
95222a51fa
site: migrate changelog.md
2016-05-27 09:44:07 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
80c7583562
update input-number disabled style
2016-05-15 14:20:38 +08:00
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
2016-05-11 09:32:33 +08:00
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
b1abf3bc28
change demo format
2016-04-15 23:56:44 +08:00
afc163
728c3c2d6a
Merge branch master into develop-1.0.0
2016-04-15 23:45:28 +08:00
afc163
278b5d83e1
update docs
2016-04-15 23:40:01 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15
docs: update documentation format
2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8
docs: update demo format
2016-03-31 09:40:55 +08:00
afc163
c47fdeaf8f
Merge branch 'master' into develop-1.0.0
2016-03-30 11:17:39 +08:00
afc163
c10fbaed6f
fix some className issues
2016-03-30 10:58:37 +08:00
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
2016-03-29 13:01:10 +07:00
Bruce Mitchener
eaae43abdd
More ES2015 classes.
...
This covers Carousel, InputNumber, Select, Slider, Switch, TreeSelect
and Tree.
2016-03-21 08:26:05 +07:00
afc163
5a9b7a295f
update docs
2016-03-06 00:10:36 +08:00
Benjy Cui
cd1391e6a2
style: update code style for object-curly-spacing
2016-01-27 17:00:58 +08:00