Skip to content

Commit

Permalink
[Release] { 1.3.0 } Range mode (w/ shortcuts), dark mode, overlay dar…
Browse files Browse the repository at this point in the history
…k background (#26) (#27)

* 🚀 [feature] Add range mode (#26)

* First commit

* add range picker component

* Finished feature

* 🏗️ Build

* del logs

* del logs

* correct indentation

* Range Picker support auto-close option

* 🏗️ Build

* 🍍 Add Range shortcut (#28)

* 💊 Correct syntax

* 📘 Update ReadME

* ➕ add tag

* 🖼️ Add gif for README

* 💊 Fix dates formatting for timepicker

* 🕶️ [feature] Add dark mode (#29)

* Finish dark mode

* toggle text for dark mode button

* update dark gif

* 📘 Update ReadME for Dark Mode

* 📅 Fix UX logic with range shortcuts

* 📘 Update ReadME

* 📘 Update ReadME

* 📘 Update ReadME

* 🚀 [feature] Today is shown on datepicker

* 📘 Update ReadME

* 🏗️ Build 1.3.0

* 🏗️ Build 1.3.0
  • Loading branch information
LouisMazel authored Oct 15, 2018
1 parent 316da33 commit c83f057
Show file tree
Hide file tree
Showing 42 changed files with 1,124 additions and 305 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# vue-ctk-date-time-picker
![vue-ctk-date-time-picker](./assets/logo_sticky.png)

> A vue component for select date & time (by Chronotruck)
# vue-ctk-date-time-picker

![vue-ctk-date-time-picker](./assets/illu.png)
> A vue component for select dates (range mode available) & time
![vue-ctk-date-time-picker](./assets/illu-animated.gif)
#### Dark mode
![vue-ctk-date-time-picker](./assets/illu-animated-dark.gif)
## Demo
A [demo](https://htmlpreview.github.io/?https://github.com/chronotruck/vue-ctk-date-time-picker/blob/master/demo/index.html)
[Enjoy here](https://htmlpreview.github.io/?https://github.com/chronotruck/vue-ctk-date-time-picker/blob/master/demo/index.html)

## Installation

Expand Down Expand Up @@ -74,17 +77,20 @@ Vue.component('vue-ctk-date-time-picker', VueCtkDateTimePicker);
| no-weekends-days | Boolean | no | false |
| auto-close | Boolean | no | false |
| without-input | Boolean | no | false |
| overlay-background | Boolean | no | false |
| disabled-dates***** | Boolean | no | [] |
| range-mode | Boolean | no | false |
| dark | Boolean | no | false |

*hint : Is a text that replaces the label/placeholder

**error-hint : When is `true` --> Input border & label are red

***color: Replace color for the hint, the borders & time selected in dropdown

****min-date & max-date : Must be 'YYYY-MM-DD' format
****min-date & max-date : Must be `'YYYY-MM-DD'` format

*****Disabled-Dates is an Array of dates in 'YYYY-MM-DD' format (ex: `['2018-04-03', '2018-04-07', '2018-04-09'])
*****Disabled-Dates is an Array of dates in 'YYYY-MM-DD' format (ex: `['2018-04-03', '2018-04-07', '2018-04-09']`)


## Contribution
Expand Down
Binary file added assets/illu-animated-dark.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/illu-animated.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/logo.png
Binary file not shown.
Binary file added assets/logo_sticky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>vue-ctk-date-time-picker</title><link rel=stylesheet href=./assets/main.css><link href=./static/css/app.a83645a277b674056f79ce432bd1f710.css rel=stylesheet></head><body><div id=app></div><script src=/build/build.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.88b4d2f1b6949b36de49.js></script><script type=text/javascript src=./static/js/app.a7104fbcd3c2201f96ec.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>vue-ctk-date-time-picker</title><link rel=stylesheet href=./assets/main.css><link href=./static/css/app.596179cf1d5485374e4ea3ebb34a61c7.css rel=stylesheet></head><body><div id=app></div><script src=/build/build.js></script><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.1eb7121699eee7ac0a43.js></script><script type=text/javascript src=./static/js/app.946a614ca530d8f4d7da.js></script></body></html>
2 changes: 2 additions & 0 deletions demo/static/css/app.596179cf1d5485374e4ea3ebb34a61c7.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions demo/static/css/app.a83645a277b674056f79ce432bd1f710.css

This file was deleted.

This file was deleted.

Binary file removed demo/static/img/logo.3b41a28.png
Binary file not shown.
2 changes: 2 additions & 0 deletions demo/static/js/app.946a614ca530d8f4d7da.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/static/js/app.946a614ca530d8f4d7da.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions demo/static/js/app.a7104fbcd3c2201f96ec.js

This file was deleted.

1 change: 0 additions & 1 deletion demo/static/js/app.a7104fbcd3c2201f96ec.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion demo/static/js/manifest.3ad1d5771e9b13dbdad2.js.map

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

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/static/js/vendor.1eb7121699eee7ac0a43.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion demo/static/js/vendor.88b4d2f1b6949b36de49.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/umd/vue-ctk-date-time-picker.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/vue-ctk-date-time-picker.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/vue-ctk-date-time-picker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/vue-ctk-date-time-picker.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-ctk-date-time-picker.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-ctk-date-time-picker.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-ctk-date-time-picker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-ctk-date-time-picker.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-ctk-date-time-picker",
"version": "1.2.1",
"version": "1.3.0",
"description": "A vue component for select date & time (by Chronotruck)",
"author": "Louis Mazel <[email protected]>",
"main": "dist/vue-ctk-date-time-picker.min.js",
Expand Down Expand Up @@ -101,6 +101,7 @@
"input",
"date",
"time",
"range",
"picker",
"ctk",
"chronotruck",
Expand Down
2 changes: 1 addition & 1 deletion poi.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
entry: glob('./src/vue-ctk-date-time-picker/*.vue'),
filename: {
js: name + '.min.js',
css: name + '.min.css',
css: name + '.min.css'
},
sourceMap: true,
html: false,
Expand Down
Loading

0 comments on commit c83f057

Please sign in to comment.