Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test/quick merge #1

Open
wants to merge 178 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
d20a0ff
test: update snapshot
benjycui Jul 12, 2017
c1e21e4
feat: add el_GR locale (Greek) (#279)
michmach Jul 24, 2017
c3780a0
bump 8.4.7
benjycui Jul 24, 2017
74da6c4
update react refs to use callback instead of strings
coderpawz Jul 26, 2017
e8c9a7b
remove an unsed ref to dateInput
coderpawz Jul 27, 2017
683cb04
move saveRoot to CommonMixin
coderpawz Jul 27, 2017
4bf77ab
Merge pull request #282 from coderpawz/master
paranoidjk Jul 27, 2017
30cb556
bump 9.0.0
paranoidjk Jul 27, 2017
4f9d518
docs: fix md syntax
paranoidjk Jul 28, 2017
329186a
Controlled Panels (#284)
benjycui Aug 1, 2017
75a0f03
Bump 9.1.0
paranoidjk Aug 1, 2017
1ae7bd9
fix: MonthCalendar should work
benjycui Aug 1, 2017
956e87b
fix: onPanelChange's value should be new show value
benjycui Aug 1, 2017
fe67413
bump 9.1.1
benjycui Aug 1, 2017
c6bdd67
docs: add hoverValue
paranoidjk Aug 1, 2017
136f123
refactor: simplify the implementation of MonthCalendar
benjycui Aug 1, 2017
85ddedb
bump 9.1.2
benjycui Aug 1, 2017
ea30755
feat: serbian localization (#287)
paunovic-stefan Aug 7, 2017
ca43d55
bump 9.1.3
benjycui Aug 7, 2017
00b347d
fix: should align showDate, close: ant-design/ant-design#7320 (#293)
benjycui Sep 8, 2017
8afce2a
bump 9.1.4
benjycui Sep 8, 2017
6e5f990
feat: add is_IS Locale (#295)
paunovic-stefan Sep 11, 2017
fa65751
bump 9.1.5
benjycui Sep 11, 2017
e2ff15b
fix: compatible with React 0.14 (#298)
yesmeck Sep 18, 2017
74a0bcd
bump 9.1.6
benjycui Sep 18, 2017
6d5efe1
feat: add pt_PT locale (#300)
taviroquai Sep 20, 2017
1aebb19
bump 9.1.7
benjycui Sep 20, 2017
3fbbeb9
fix: broken calendar when showToday is hidden (#301)
costagolub Sep 22, 2017
321b5a0
bump 9.1.8
benjycui Sep 22, 2017
f1910bb
feat: create ar_EG.js (#304)
mseada94 Oct 10, 2017
83a923d
bump 9.1.9
benjycui Oct 10, 2017
fec452c
feat: uk_UA locale added (#308)
mw79 Oct 16, 2017
02b9e13
bump 9.1.10
benjycui Oct 16, 2017
7f61a57
fix: should keep selection after input valid date string, close: ant-…
benjycui Oct 31, 2017
09fa993
test: fix ci
benjycui Oct 31, 2017
487c9b2
feat: added Hungarian translation, ref: #312
hornos Nov 3, 2017
d227d0b
bump 9.1.12
benjycui Nov 3, 2017
6492103
Update dependencies
yesmeck Nov 6, 2017
c0d84fe
Update examples
yesmeck Nov 6, 2017
64f78c3
Use codecov
yesmeck Nov 6, 2017
74fac91
Use codecov
yesmeck Nov 6, 2017
8a4a315
Bump 9.2.0
yesmeck Nov 6, 2017
8d39ecd
Fix codecov badge
yesmeck Nov 6, 2017
020ef2b
feat: add class names for selected start or end date (#313)
ynunokawa Nov 7, 2017
ed7d987
fix: lib -> es. close #316 (#317)
paranoidjk Nov 16, 2017
cae096e
feat: add extra footer to MonthCalendar (#318)
nikogu Nov 20, 2017
c95e8b5
bump 9.3.0
benjycui Nov 20, 2017
ee34776
Fix typos minor typos in readme (#321)
rohanorton Nov 29, 2017
f4f695e
fix: combine user's disableTime with component's calculated disabledT…
paranoidjk Dec 2, 2017
4920254
do not run setSelectionRange() after inputting an invalid value (#322)
ynunokawa Dec 5, 2017
eefd6d3
Bump 9.3.1
yesmeck Dec 5, 2017
3a6e97e
Fix cell title to longer format
afc163 Dec 17, 2017
442b8e3
bump 9.3.2
afc163 Dec 17, 2017
0318119
update snapshot
afc163 Dec 17, 2017
8c67108
added uyghur locale (#328)
boyaq Dec 26, 2017
c18a56c
Bump 9.4.0
yesmeck Dec 26, 2017
8296ca3
feat: add showDateInput propert to RangeCalendar (with default of tru…
razzmatazz Jan 11, 2018
880a979
Create ku_IQ.js (#335)
ahalimkara Jan 22, 2018
0f1044a
Bump 9.5.0
yesmeck Jan 22, 2018
6f0d051
Introduce onInputSelect (#337)
yesmeck Jan 22, 2018
fb74074
Bump 9.5.0
yesmeck Jan 22, 2018
1f4c4ba
Upgrade jest
yesmeck Jan 24, 2018
f6c0155
Fix coverage
yesmeck Jan 24, 2018
c9045f7
Add locales to test
yesmeck Jan 24, 2018
1d2454c
Update README.md by adding onClear props (#339)
deraru Jan 25, 2018
582632e
Add tests
yesmeck Jan 25, 2018
f6f3fa9
In [email protected] the calendarInstance will be undefined (#340)
guxingke201 Jan 26, 2018
7573661
RangeCalendar. fix starttime and endtime is same day. (#331)
Jan 30, 2018
a1dbef2
Add className property
chenshuai2144 Feb 7, 2018
e214ed3
className -> dropdownClassName
chenshuai2144 Feb 8, 2018
543ee3c
Bump 9.6.0
yesmeck Feb 8, 2018
6e3010d
feat: handle monthFormat on CalendarHeader selected month value (#315)
EscoCreeks Feb 8, 2018
14e808e
added slovenian (sl_SI) locale (#361)
gregahren Mar 20, 2018
e600061
add last-day-of-month class to the last day of a month (#349)
ysyfff Mar 20, 2018
a3b7d50
fix: update locale test snapshot to include missing class (#371)
szdc Apr 12, 2018
98615a0
Added TypesScript support (#381)
9renpoto May 7, 2018
5d01184
Fix French translation (#387)
rpellerin May 22, 2018
e398caf
Add more locales
afc163 May 25, 2018
09fc9e0
9.6.1
afc163 May 25, 2018
3b24f58
Support key board in RangeCalendar (#392)
zombieJ Jun 11, 2018
89e7a2d
bump 9.6.2
zombieJ Jun 11, 2018
c01ec49
Add testURL
yesmeck Aug 1, 2018
977317e
add custom clear icon api. (#405)
HeskeyBaozi Aug 7, 2018
9c123a2
Bump 9.7.0
yesmeck Aug 7, 2018
2001daf
remove ts test
afc163 Sep 2, 2018
2a471c3
Merge extra footer and original footer
afc163 Apr 27, 2018
b7ebc6c
use value instead of default value
zombieJ Jul 3, 2018
658879a
Max height moved from <ul> to parent div.
JVUnderground Jun 11, 2018
8ea4e87
fix ant-design/ant-design#11540
javastation Aug 2, 2018
9960129
3.7.1
afc163 Sep 2, 2018
515c849
Re-implement support for dateRender prop
jnelson180 Jun 18, 2018
61b3da4
linted
jnelson180 Jun 18, 2018
a4203b5
Merge branch 'master' of github.com:react-component/calendar
afc163 Sep 2, 2018
2119dc1
Merge range calendar footer
afc163 Sep 2, 2018
6995454
Fix month calender footer, close ant-design/ant-design#8184
afc163 Sep 2, 2018
56952d2
9.7.3
afc163 Sep 2, 2018
c968002
Added Mongolian locale (#411)
digz6666 Sep 3, 2018
ddbbf83
bump 9.7.4
zombieJ Sep 3, 2018
ed00ab5
Add LGTM.com code quality badges (#413)
xcorail Sep 6, 2018
aeb19bf
revert #401 to fix ant-design/ant-design#12082
afc163 Sep 7, 2018
f730d27
9.7.5
afc163 Sep 7, 2018
4aa8f5f
add locale id_ID.js (#414)
Sep 7, 2018
33379f2
update snapshot
zombieJ Sep 8, 2018
d50d82f
code indent
afc163 Sep 8, 2018
e4a5590
Fix scroll position jump in safari
afc163 Sep 8, 2018
7ed839e
Add Myanmar locale
ukyiwin Sep 18, 2018
493e7df
Add Myanmar Locale
ukyiwin Sep 18, 2018
75f4593
remove myanmar locale
ukyiwin Sep 18, 2018
86f36ab
9.7.8
afc163 Sep 18, 2018
c65312d
Adding Hebrew translations (#416)
orenk86 Sep 20, 2018
050cd82
Add Vietnamese translation (#418)
hieuhlc Sep 25, 2018
c622fae
Bump 9.7.9
yesmeck Sep 30, 2018
8bb9327
Fix wrong/odd italian translation (#421)
vittoboa Oct 9, 2018
5d99019
Bump 9.7.10
zombieJ Oct 9, 2018
480dcde
Fix #404 (#424)
one89 Oct 12, 2018
c962428
When OK button is not display, check can be escaped
zombieJ Oct 31, 2018
c92cf57
bump 9.7.11
zombieJ Oct 31, 2018
c99075d
add multi format support to DateInput (#437)
onlyann Nov 30, 2018
717b66d
bump 9.8.0
zombieJ Nov 30, 2018
3ed6add
:bug: Fix infinite loop in safari
afc163 Dec 6, 2018
ef3dc99
9.8.1
afc163 Dec 6, 2018
edd622a
refactor code
afc163 Dec 6, 2018
74ac88e
fix test case
afc163 Dec 6, 2018
e4d3c59
code style
afc163 Dec 7, 2018
37d654b
ok button should not clickable when not selected value provided
zombieJ Dec 17, 2018
68612bf
bump 9.8.2
zombieJ Dec 17, 2018
456152a
show extra footer in all mode (#460)
elfman Dec 24, 2018
974053b
9.9.0 :tada:
afc163 Dec 24, 2018
53e3fe4
feat:add custom sperator (#461)
zhuzhuaicoding Dec 24, 2018
9537ba7
9.9.1
afc163 Dec 24, 2018
3998c5f
Add Hindi Locale (#466)
aashutoshrathi Dec 26, 2018
3713418
#13576 - added Kannada locale (#467)
rahgurung Dec 26, 2018
c3310b3
:tada: 9.9.2
afc163 Dec 26, 2018
4bf06ae
Remove createClass and migrate to new lifecycle methods (#470)
orzyyyy Dec 29, 2018
33f4522
Revise disabled callback interfaces
vankhoawin Dec 31, 2018
e3b543a
auto focus on calendar input when opening picker (#438)
onlyann Jan 2, 2019
52607b2
bump 9.10.0
zombieJ Jan 2, 2019
bca46ad
fix dateInputInstance if not ready
zombieJ Jan 2, 2019
67d3bc0
bump 9.10.1
zombieJ Jan 2, 2019
a879769
fix getDerivedStateFromProps replace newState in Picker
zombieJ Jan 2, 2019
ba87b6c
bump 9.10.2
zombieJ Jan 2, 2019
7769283
add missing polyfill
zombieJ Jan 2, 2019
bf030dd
fix PropTypes
zombieJ Jan 3, 2019
633809c
bump 9.10.4
zombieJ Jan 3, 2019
29613d7
Add 'format' type to definitions
muratayusuke Jan 5, 2019
928f0e4
Support enter to open & close
zombieJ Jan 7, 2019
ebd5eec
bump 9.10.5
zombieJ Jan 7, 2019
ee24ca5
fix value not update
zombieJ Jan 16, 2019
b567b9d
try to fix IE prototype
zombieJ Jan 18, 2019
39c1c20
bump 9.10.7
zombieJ Jan 18, 2019
3c62641
pass defaultProps to fix IE 10
zombieJ Jan 21, 2019
b9f924f
Adjust RangePicker date input logic (#503)
zombieJ Feb 18, 2019
371f4cc
bump 9.10.9
zombieJ Feb 18, 2019
2a08e93
Update index.d.ts
davidfurlong Feb 20, 2019
e9b9e3d
input should also pass by disabledDate check
zombieJ Feb 23, 2019
856f781
bump 9.10.10
zombieJ Feb 23, 2019
8b51af7
修复月份选择时不能只选一个月的问题 (#478)
alex89lj Mar 14, 2019
3039ebb
bump 9.10.11
zombieJ Mar 14, 2019
720f127
bump 9.11.0
zombieJ Mar 14, 2019
deb7c95
Support start time or end time could be null in defaultValue (#520)
ztplz Mar 16, 2019
4252e5f
bump 9.12.0
zombieJ Mar 16, 2019
4de9b49
Added Croatian localization
Mar 25, 2019
da42129
Update dtslint requirement from ^0.3.0 to ^0.5.7
dependabot-support Mar 25, 2019
984ece6
9.12.1
afc163 Mar 30, 2019
d2788f3
fix RangePicker update logic
zombieJ Apr 1, 2019
18e0885
bump 9.12.3
zombieJ Apr 1, 2019
b68c3e4
Update typescript requirement from ^2.8.3 to ^3.4.1
dependabot-support Apr 1, 2019
46fc91e
Close calendar picker on blur (#495)
onlyann Apr 2, 2019
6cefda5
bump
zombieJ Apr 2, 2019
bcfb284
fix: Adjust date panel display logic in RangePicker (#549)
zombieJ Apr 8, 2019
87417bd
bump 9.13.1
zombieJ Apr 8, 2019
fb140f4
Update dtslint requirement from ^0.5.7 to ^0.6.1
dependabot-support Apr 9, 2019
6fac6a8
Rearrange getEndValue logic (#556)
susiwen8 Apr 29, 2019
dcc3a76
bump 9.13.2
zombieJ Apr 29, 2019
baee788
Fix Keyboard cannot control month calendar (#561)
susiwen8 May 9, 2019
0b70c10
bump 9.13.3
zombieJ May 9, 2019
2b2b2e8
RangePicker support time mode (#571)
susiwen8 May 16, 2019
2cf8c04
bump 9.13.4
zombieJ May 16, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ lib
es
coverage
yarn.lock
.vscode
.vscode
package-lock.json
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ sudo: false
notifications:
email:
- [email protected]
- [email protected]

node_js:
- 6.9.1
- 10

before_install:
- |
Expand All @@ -21,12 +22,12 @@ before_install:
script:
- |
if [ "$TEST_TYPE" = test ]; then
npm test
npm test -- --coverage && \
bash <(curl -s https://codecov.io/bash)
else
npm run $TEST_TYPE
fi
env:
matrix:
- TEST_TYPE=lint
- TEST_TYPE=test
- TEST_TYPE=coverage
50 changes: 50 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
# History
----

## 9.13.0 / 2019-04-02

- Support close onBlur

## 9.12.0 / 2019-03-16

- RangerPicker support null as start or end

## 9.11.0 / 2019-03-14

- RangerPicker can select same month

## 9.10.0 / 2019-01-02

- add `focusablePanel` prop.

## 9.9.0 / 2018-12-23

- `renderFooter(mode)` support all modes.

## 9.8.0 / 2018-11-30

- DateInput support multiple date format

## 9.7.0 / 2018-08-07

- Add clearIcon.

## 9.6.0 / 2018-02-08

- Add Picker[dropdownClassName]

## 9.5.0 / 2017-12-26

- Add Kurdish

## 9.4.0 / 2017-12-26

- Add Uyghur

## 9.2.0 / 2017-11-06

- React 16 support

## 9.1.0 / 2017-07-27
- Support control panel [#284](https://github.com/react-component/calendar/pull/284)

## 9.0.0 / 2017-07-27
- Replace react string refs with function way [#282](https://github.com/react-component/calendar/pull/282)

## 8.4.0 / 2017-05-31

- Supporting Bulgarian.
Expand Down
115 changes: 109 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@ React Calendar

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Test coverage][codecov-image]][codecov-url]
[![gemnasium deps][gemnasium-image]][gemnasium-url]
[![npm download][download-image]][download-url]
[![Code Quality: Javascript][lgtm-badge]][lgtm-badge-url]
[![Total alerts][lgtm-alerts]][lgtm-alerts-url]

[npm-image]: http://img.shields.io/npm/v/rc-calendar.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-calendar
[travis-image]: https://img.shields.io/travis/react-component/calendar.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/calendar
[coveralls-image]: https://img.shields.io/coveralls/react-component/calendar.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/react-component/calendar?branch=master
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/calendar/master.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/react-component/calendar/branch/master
[gemnasium-image]: http://img.shields.io/gemnasium/react-component/calendar.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/react-component/calendar
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/rc-calendar.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-calendar
[lgtm-badge]: https://img.shields.io/lgtm/grade/javascript/g/react-component/calendar.svg?logo=lgtm&logoWidth=18
[lgtm-badge-url]: https://lgtm.com/projects/g/react-component/calendar/context:javascript
[lgtm-alerts]: https://img.shields.io/lgtm/alerts/g/react-component/calendar.svg?logo=lgtm&logoWidth=18
[lgtm-alerts-url]: https://lgtm.com/projects/g/react-component/calendar/alerts

## Screenshots

Expand Down Expand Up @@ -124,7 +130,7 @@ http://react-component.github.io/calendar/examples/index.html
</tr>
<tr>
<td>renderFooter</td>
<td>() => React.Node</td>
<td>(mode) => React.Node</td>
<td></td>
<td>extra footer</td>
</tr>
Expand All @@ -148,9 +154,10 @@ http://react-component.github.io/calendar/examples/index.html
</tr>
<tr>
<td>format</td>
<td>String</td>
<td>String | String[]</td>
<td>depends on whether you set timePicker and your locale</td>
<td>use to format/parse date(without time) value to/from input</td>
<td>use to format/parse date(without time) value to/from input.
When an array is provided, all values are used for parsing and first value for display.</td>
</tr>
<tr>
<td>disabledDate</td>
Expand Down Expand Up @@ -200,18 +207,48 @@ http://react-component.github.io/calendar/examples/index.html
<td></td>
<td>called when a date is selected from calendar</td>
</tr>
<tr>
<td>onClear</td>
<td>Function()</td>
<td></td>
<td>called when a date is cleared from calendar</td>
</tr>
<tr>
<td>onChange</td>
<td>Function(date: moment)</td>
<td></td>
<td>called when a date is changed inside calendar (next year/next month/keyboard)</td>
</tr>
<tr>
<td>onOk</td>
<td>Function(date: moment)</td>
<td></td>
<td>called when ok button is pressed, only if it's visible</td>
</tr>
<tr>
<td>dateInputPlaceholder</td>
<td>String</td>
<td></td>
<td>date input's placeholder</td>
</tr>
<tr>
<td>mode</td>
<td>enum('time', 'date', 'month', 'year', 'decade')</td>
<td>'date'</td>
<td>control which kind of panel should be shown</td>
</tr>
<tr>
<td>onPanelChange</td>
<td>Function(date: moment, mode)</td>
<td></td>
<td>called when panel changed</td>
</tr>
<tr>
<td>clearIcon</td>
<td>ReactNode</td>
<td></td>
<td>specific the clear icon.</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -324,12 +361,30 @@ http://react-component.github.io/calendar/examples/index.html
<td></td>
<td>called when a date range is selected from calendar</td>
</tr>
<tr>
<td>onInputSelect</td>
<td>Function(date: moment[])</td>
<td></td>
<td>called when a valid date entered in input</td>
</tr>
<tr>
<td>onClear</td>
<td>Function()</td>
<td></td>
<td>called when a date range is cleared from calendar</td>
</tr>
<tr>
<td>onChange</td>
<td>Function(date: moment[])</td>
<td></td>
<td>called when a date range is changed inside calendar (next year/next month/keyboard)</td>
</tr>
<tr>
<td>onOk</td>
<td>Function(date: moment)</td>
<td></td>
<td>called when ok button is pressed, only if it's visible</td>
</tr>
<tr>
<td>dateInputPlaceholder</td>
<td>String[]</td>
Expand All @@ -342,12 +397,48 @@ http://react-component.github.io/calendar/examples/index.html
<td></td>
<td>a function which return a object with member of disabledHours/disabledMinutes/disabledSeconds according to rc-time-picker</td>
</tr>
<tr>
<td>showDateInput</td>
<td>Boolean</td>
<td>true</td>
<td>whether to show date inputs on top of calendar panels</td>
</tr>
<tr>
<td>type</td>
<td>enum('both','start', 'end')</td>
<td>both</td>
<td>whether fix start or end selected value. check start-end-range example</td>
</tr>
<tr>
<td>mode</td>
<td>enum('date', 'month', 'year', 'decade')[]</td>
<td>['date', 'date']</td>
<td>control which kind of panels should be shown</td>
</tr>
<tr>
<td>onPanelChange</td>
<td>Function(date: moment[], mode)</td>
<td></td>
<td>called when panels changed</td>
</tr>
<tr>
<td>hoverValue</td>
<td>moment[]</td>
<td></td>
<td>control hover value</td>
</tr>
<tr>
<td>onHoverChange</td>
<td>Function(hoverValue: moment[])</td>
<td></td>
<td>called when hover value change</td>
</tr>
<tr>
<td>clearIcon</td>
<td>ReactNode</td>
<td></td>
<td>specific the clear icon.</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -436,6 +527,12 @@ http://react-component.github.io/calendar/examples/index.html
<td></td>
<td>called when a date is changed inside calendar (next year/next month/keyboard)</td>
</tr>
<tr>
<td>renderFooter</td>
<td>() => React.Node</td>
<td></td>
<td>extra footer</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -529,6 +626,12 @@ http://react-component.github.io/calendar/examples/index.html
<td>() => {return document.body;}</td>
<td>dom node where calendar to be rendered into</td>
</tr>
<tr>
<td>dropdownClassName</td>
<td>string</td>
<td></td>
<td>additional className applied to dropdown</td>
</tr>
</tbody>
</table>

Expand Down
4 changes: 1 addition & 3 deletions assets/common/Calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
}
&-select {
width: 84px;
ul {
max-height: 217px;
}
max-height: 217px;
li {
text-align: center;
padding: 0;
Expand Down
3 changes: 2 additions & 1 deletion assets/common/RangeCalendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
}

.@{prefixClass}-year-panel,
.@{prefixClass}-month-panel {
.@{prefixClass}-month-panel,
.@{prefixClass}-decade-panel {
top: @input-box-height;
}
.@{prefixClass}-month-panel .@{prefixClass}-year-panel {
Expand Down
2 changes: 1 addition & 1 deletion assets/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
@import "index/YearPanel";
@import "index/DecadePanel";
@import "common/RangeCalendar";
@import "common/FullCalendar";
@import "common/FullCalendar";
6 changes: 5 additions & 1 deletion assets/index/Calendar.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
cursor: pointer;
color: #23c0fa;
}
&.@{prefixClass}-time-status:hover{
cursor: pointer;
color: #666;
}
}

&-prev-month-btn,
Expand Down Expand Up @@ -288,4 +292,4 @@
&-today-btn {
padding-left: 10px;
}
}
}
10 changes: 9 additions & 1 deletion assets/index/DecadePanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
z-index: 10;
position: absolute;
outline: none;
display: flex;
flex-direction: column;
}

.@{prefixClass}-decade-panel-hidden {
Expand Down Expand Up @@ -62,13 +64,19 @@
}

.@{prefixClass}-decade-panel-body {
flex: 1;
padding: 9px 10px 10px;
}

.@{prefixClass}-decade-panel-footer {
border-top: 1px solid #ccc;
line-height: 38px;
}

.@{prefixClass}-decade-panel-table {
table-layout: fixed;
width: 100%;
height: 255px;
height: 100%;
border-collapse: separate;
}

Expand Down
Loading