Skip to content

Commit 17bf92f

Browse files
authored
Merge pull request #16 from almogtavor/dev
npm-publish-ready version
2 parents 541b140 + 2f7e9e7 commit 17bf92f

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,9 @@ pickMethod | String | `date`, `range`, `ranges` | `ran
4949
defaultColor | String | any color format item | `#2196f3` | default component's color. becomes the first option on colors palette.
5050
daysAmountTab | String | `enabled`, `disabled` | `disabled` | by enabling, there will be a button on the left that you can open and choose prepared range, or days amount up to today.
5151
boardsNum | int | 1, 2 | 2 | by specifing you can choose the component's boards number.
52+
53+
### Future Plans:
54+
* Add simple and intuitive time picker option (by list\ or visual clock\ both).
55+
* Tooltips for buttons explanation (for example on select all button).
56+
* On non-component-screen click, close component.
57+
* Go back button on non-dates mode (or on all modes for previous). When the user is in month's or year's mode, add an option to return to dates mode without choosing any value.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"name": "date-range-picker",
3-
"version": "0.1.0",
4-
"private": true,
2+
"name": "dates-picker",
3+
"version": "1.0.1",
4+
"description": "⚛️📆 Flexible React date range picker calendar with no dependencies.",
5+
"private": false,
56
"homepage": "https://almogtavor.github.io/date-range-picker/",
67
"dependencies": {
78
"react": "^16.12.0",

src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.App {
22
user-select: none;
33
display: flex;
4-
margin-bottom: 350px;
4+
min-width: 600px;
55
justify-content: center;
66
position: relative;
77
}

src/index.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ body {
44
margin: 0;
55
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
66
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
7-
sans-serif;
8-
/* background-size: 600% 100%;
9-
animation: gradient 45s linear infinite;
10-
animation-direction: alternate; */
7+
sans-serif;
8+
/* background-size: 600% 100%;
9+
animation: gradient 45s linear infinite;
10+
animation-direction: alternate; */
1111
}
12+
1213
@keyframes gradient {
1314
0% {background-position: 0%}
1415
100% {background-position: 100%}

0 commit comments

Comments
 (0)