Skip to content

Commit

Permalink
Outside month days clickable (#94)
Browse files Browse the repository at this point in the history
* Refactored for-loop that creates the individual calendar days.

* Refactored "SPAN" listening out of click event handler.

* Single-day selection highlighting working again.

* Outside month dates showing properly - even with events.

* Refactored opacity in scss. Empty dates wont get the disabled class.

* Refactored qs-num class assignment logic.

* Merged master.

* No need for the anonymous fxn in the loop. Just needed to make sure the variables were ordered correctly - dont access values before theyre declared!

* No need for the anonymous fxn in the loop. Just needed to make sure the variables were ordered correctly - dont access values before theyre declared!

* noWeekends being handled properly.

* De-nesting styles. I think this might not be necessary. Should bring the bundle size down some.

* Event handler updated with logic to handle clicking a day on the calendar outside the current month.

* Added daterange class name logic. Refactored names to be shorter.

* Updated packages.

* Revamped webpack & sandbox.

* Needed scss all the time.

* clicking days outside calendar working.

Co-authored-by: Aaron Cordova <qodesmith@fb.com>
  • Loading branch information
qodesmith and Aaron Cordova authored May 22, 2020
1 parent 66737a5 commit 4a9b2ea
Show file tree
Hide file tree
Showing 13 changed files with 1,345 additions and 1,622 deletions.
2 changes: 1 addition & 1 deletion dist/datepicker.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/datepicker.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 4a9b2ea

Please sign in to comment.