zombieJ
5ce7e71007
RangePicker support customize separator ( #15055 )
* support separator
* add version
* fix css
6 years ago
米老朱
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
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
a616f89a1b
🔥 update less code style
6 years ago
afc163
06898a0619
Merge RangePicker extra and built-in footers
6 years ago
afc163
7fc1483fe1
Fix style of RangePicker with preset ranges, close #10986
7 years ago
afc163
d6e429cd70
Tweak RangePicker align
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
偏右
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 👻
7 years ago
afc163
429cdb448d
Fix RangePicker text overlap
7 years ago
afc163
a5733f5de3
Fix RangePicker text overlap
7 years ago
Benjy Cui
2620318172
feat: support controlled panels for DatePicker and RangePicker, close : #5190 ( #7049 )
7 years ago
afc163
47c5de29f3
tweak range picker style
7 years ago
afc163
5a33774238
Fix ~ mis-position bug
7 years ago
Graeme Yeates
9429aedffc
Fix tilde placement on rangepickers
8 years ago
afc163
fe564335bf
Tweak range picker style
8 years ago
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
close #6122 , close #5188
8 years ago
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
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%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
8 years ago
乐仪
2bba8bee98
fix RangePicker placeholder color
8 years ago
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
8 years ago
afc163
7181e3c9e8
revert d9ec4bf and ef0b708, close #4997
8 years ago
Benjy Cui
d9ec4bf732
fix: RangePicker style
8 years ago
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
8 years ago
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
8 years ago
偏右
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
8 years ago
afc163
f9bad27469
Fix DatePicker input style
8 years ago
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
8 years ago
Benjy Cui
38fd7f6feb
chore: improve detail
8 years ago
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
8 years ago
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
8 years ago
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
8 years ago
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
8 years ago
afc163
d92a24d477
Improve overlay border design
8 years ago
afc163
c4665a78e2
remove strange margin-right of DatePicker confirm button in safari
8 years ago
afc163
1566011720
continue to fix #3312 & #3307
8 years ago
afc163
2875d024f9
fix range picker style
8 years ago
Benjy Cui
247757f63f
css: fix RangePicker's style
8 years ago
马斯特
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
8 years ago
afc163
903bb1aa82
fix lesshint
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
afc163
c7da69036d
revert mistake of DatePicker time changed
9 years ago
afc163
a2d435aad7
Fix range cell background
9 years ago
afc163
81dad0452f
fix today link style
9 years ago
RaoHai
c65f201d51
DatePicker improvement
close #1701
9 years ago