xrkffgg
aa7f5fb776
fix: DatePicker 插件单个使用时,切换时间范围时,出现像素偏差问题。
2019-07-30 12:00:14 +08:00
xrkffgg
e05347d5ce
add decade style
2019-07-30 09:35:51 +08:00
xrkffgg
3148d9c884
DatePicker:修复当选择条件为世纪时,border 不对齐的样式 bug
2019-07-25 17:07:04 +08:00
afc163
9ef1cd70b6
💄 fix DatePicker hover style less variable
2019-07-22 15:09:43 +08:00
afc163
6498cbb283
💄 change another arrow style
2019-07-04 23:50:32 +08:00
afc163
efadb09569
💄 Optimize TimePicker focus style
...
close #17440
2019-07-03 23:25:04 +08:00
迷渡
f78fc1c757
fix: DatePicker's input box is obscured on safari
2019-07-03 10:15:45 +08:00
zombieJ
dc4102d879
reset line-height of TextArea & Picker ( #17165 )
2019-06-19 11:23:21 +08:00
zombieJ
dc1572cff1
fix style ( #17126 )
2019-06-17 12:24:08 +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
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
ycjcl868
7f2a1d427b
fix RangePicker endtime-input not editable
2019-04-07 10:28:30 +08:00
afc163
2916a35325
fix(DatePicker): fix RangePicker time-input not editable
...
close #15863
2019-04-04 15:42:25 +08:00
偏右
f3a07ac7ad
🐛 Fix disabled and selected date cell style of DatePicker ( #15608 )
...
close #15580
2019-03-24 19:50:58 +08:00
zombieJ
0dadee3233
revert input ( #15516 )
2019-03-19 18:33:31 +08:00
zombiej
f9d8e50a1f
rm input from datePicker
2019-03-13 16:04:42 +08:00
zombiej
96a95e65d3
update deps lint
2019-03-11 11:48:17 +08:00
afc163
5d450d2a23
💄 unified DatePicker and TimePicker cursor style
2019-03-06 11:01:56 +08:00
zombieJ
5ce7e71007
RangePicker support customize separator ( #15055 )
...
* support separator
* add version
* fix css
2019-02-28 16:11:10 +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
3fcb8fa0b3
💄 Fix stylelint errors
2019-01-28 19:06:38 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
c397ad8c34
Update rc-calendar to use new lifecycle methods & input auto focus ( #14051 )
...
close #11848
2019-01-03 11:52:31 +08:00
HarlanLuo
015945ed83
DatePicker: show extra footer in all mode
2018-12-24 18:03:08 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
lyhper
655ae8e4b4
fix: datepicker style error
2018-12-01 22:57:13 +08:00
afc163
8a49fea94a
🐛 Fix small RangePicker 1px align problem
...
close #13105
2018-11-16 18:20:08 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
436cbeed7b
fix DatePicker clear behavior bring by 3640754
2018-10-12 16:25:23 +08:00
zombiej
364075421b
fix #12536 . Adjust date-picker icon
2018-10-08 20:53:28 +08:00
afc163
06898a0619
Merge RangePicker extra and built-in footers
2018-09-02 21:45:27 +08:00
HeskeyBaozi
fd81e4575c
fix date-picker clear-icon size
2018-09-02 20:59:37 +08:00
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
2018-08-14 15:31:20 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
Thibault Derousseaux
43abea3212
Use tabular-nums font variant instead of switching to Tahoma for figures
...
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422 .
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures ).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals ).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric ) that can be set to `tabular-nums`.
This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/ ).
2018-08-04 11:28:14 +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
afc163
af03ae67f9
Fix TimePanel jump issue of hovering, close #11460
2018-07-29 15:03:35 +08:00
afc163
af4ed3988a
chore DatePicker and TimePicker font style
2018-07-29 15:02:34 +08:00
HeskeyBaozi
ca644505be
replace date-picker font icon
2018-07-23 12:06:38 +08:00
afc163
00afce3a4b
Improve design of RangePicker presets link
2018-07-11 20:09:58 +08:00
afc163
60ebb434c1
Fix form controls align issue in IE11
...
close #9827
close #11133
2018-07-03 14:04:46 +08:00
愚道
004561ba1f
fix style in range select
2018-07-02 19:51:58 +08:00
愚道
450a3142ee
fix: fix datepicker selected item style, close #9529
2018-07-02 19:51:58 +08:00
afc163
7fc1483fe1
Fix style of RangePicker with preset ranges, close #10986
2018-06-22 12:13:25 +08:00
诸岳
240289ed73
Remove TimePicker wrong line-height style, close #9292 ( #9317 )
2018-02-09 11:36:43 +08:00
afc163
d6e429cd70
Tweak RangePicker align
2017-12-12 10:14:38 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
2017-11-30 09:54:31 +08:00
niko
be1cbd4eae
upgrade rc-calendar dependency to 9.3.0 ( #8353 )
2017-11-29 11:23:15 +08:00
afc163
91a64d0567
Tweak styles
2017-10-16 21:12:49 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +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
afc163
ab6620f1f1
Fix WeekPicker style, #3825
2017-09-06 13:18:43 +08:00
偏右
f3911b3707
Feat week picker ( #7404 )
...
* New Component WeekPicker
close #212
* Add WeexPicker in API doc
* update snapshot
* Add test cases
* update snapshot
2017-08-31 20:44:22 +08:00
afc163
429cdb448d
Fix RangePicker text overlap
2017-08-29 15:08:55 +08:00
Benjy Cui
2620318172
feat: support controlled panels for DatePicker and RangePicker, close : #5190 ( #7049 )
2017-08-21 21:15:44 +08:00
afc163
ad6dbcb9c6
Fix button in DatePicker
2017-08-16 15:38:12 +08:00
afc163
43751c9930
revert eb3c274
, close #7162
2017-08-10 10:54:02 +08:00
afc163
47c5de29f3
tweak range picker style
2017-08-09 16:21:18 +08:00
偏右
eb3c274e01
Fix extra space in RangePicker
...
https://gw.alipayobjects.com/zos/rmsportal/sTMIijZIrTkBDaGrEXmI.png
2017-08-09 15:33:30 +08:00
afc163
5a33774238
Fix ~ mis-position bug
2017-08-07 15:35:05 +08:00
afc163
6748221ed3
tweak time-picker style
2017-08-03 22:08:14 +08:00
afc163
8618a387da
tweak date-picker style
2017-08-02 21:15:03 +08:00
afc163
50466ed281
Fix ok button style
2017-07-31 16:12:41 +08:00
afc163
dc8be3fcfd
Tweak icon position of DatePicker
2017-07-25 19:45:58 +08:00
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
Graeme Yeates
9429aedffc
Fix tilde placement on rangepickers
2017-06-28 15:23:00 -04:00
Graeme Yeates
974f544713
Make -clear and -icon styles consistent at different input sizes
2017-06-28 15:09:50 -04:00
afc163
fe564335bf
Tweak range picker style
2017-06-26 21:25:47 +08:00
afc163
48b63734c6
Tweak date picker icon style
2017-06-26 21:19:23 +08:00
Graeme Yeates
aaf2a508be
Fix calendar clear background color
2017-06-21 12:41:45 -04:00
Benjy Cui
c61bba1020
chore: make disabled today different from other disabled day
2017-06-19 15:14:53 +08:00
afc163
61d67f4563
Fix DatePicker footer extra border
2017-06-13 15:31:47 +08:00
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
...
close #6122 , close #5188
2017-06-05 17:11:58 +08:00
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
2017-05-13 15:16:25 +08:00
偏右
1a775b1d3b
Merge pull request #5964 from megawac/active-item-bg
...
Add @active-item-bg to control hover and active states
2017-05-04 12:02:55 +08:00
Graeme Yeates
98ba816bfb
Add @time-picker-selected-bg to control the selected state of time-picker
2017-05-03 11:06:07 -04:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
afc163
54f443a266
tweak clear icon position
2017-05-03 15:19:33 +08:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
...
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
2017-05-02 16:24:29 +08:00
偏右
5fde1e7550
Merge branch 'master' into background-color-base
2017-05-01 13:51:11 +08: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
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
2017-04-28 13:24:12 -04:00
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
2017-04-16 19:01:46 +08:00
leadream
193b2b7684
not aligned after customizing the size of input
...
For some reasons I customized the size of <Input/>. Now the default height of <Input> is 40px. But there's a problem in <RangePicker/> after doing that: the texts and icon inside it are not aligned vertically at center.
When I look into the code I found the height of `ant-calendar-range-picker-input` is 18px. I modified it to 100% and it aligned. I'm not sure if it can affect the other code.
----------------------------------------
因为某些原因我自定义了 <Input/> 的尺寸,现在它的默认高度是40px。但是当我使用 <RangePicker/> 组件时,我发现了一个问题:输入框里面的文字和图标在垂直方向不能居中对齐。我看了一下 css 代码,发现里面的 `ant-calendar-range-picker-input` 高度是固定的18px,我把它改成100%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
2017-04-11 18:48:03 +08:00
Benjy Cui
d8e465d579
css: fix height of MonthPicker
2017-04-10 15:30:24 +08:00
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
2017-04-06 18:44:11 +08:00
乐仪
2bba8bee98
fix RangePicker placeholder color
2017-03-31 17:10:40 +08:00
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
2017-03-03 10:46:51 +08:00
afc163
b3a325dc29
Fix disabled DatePicker hover border color
2017-03-01 15:26:12 +08:00
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
2017-02-24 10:42:45 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
Benjy Cui
d9ec4bf732
fix: RangePicker style
2017-02-22 15:33:21 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +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
afc163
784915e55b
Fix DatePicker time scroll issue, close #4412
2017-01-15 14:10:20 +08:00
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
2017-01-12 10:35:17 +08:00