Skip to content

Commit 44eedcd

Browse files
committed
merge upstream
2 parents 47ff3bb + a55ac86 commit 44eedcd

22 files changed

+142
-136
lines changed

README.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,37 @@ Desgined to be as simple as possible in order to afford intuitive interactions.
77
Converted into an angular directive for your convenience :)
88

99
## Demo
10-
Click <a href="https://rawgit.com/g1eb/angular-datetime-input/master/" target="_blank">here</a> for a live demo.
10+
Click <a href="https://rawgit.com/g1eb/angular-datetime-inputs/master/" target="_blank">here</a> for a live demo.
1111

12-
## Installation
12+
### Date input
13+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/date.png" alt="Angular directive datetime input - date input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
1314

14-
1) Install 'angular-datetime-input' with bower
15+
### Time input
16+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/time.png" alt="Angular directive datetime input - time input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
17+
18+
### Datetime input
19+
[<img src="https://raw.githubusercontent.com/g1eb/angular-datetime-inputs/master/images/datetime.png" alt="Angular directive datetime input - datetime input" width="300px">](https://rawgit.com/g1eb/angular-datetime-inputs/master/)
20+
21+
## Install
22+
23+
1) Install 'angular-datetime-inputs' with bower
24+
25+
```
26+
bower install angular-datetime-inputs
27+
```
28+
29+
or with npm
1530

1631
```
17-
bower install angular-datetime-input
32+
npm install angular-datetime-inputs
1833
```
1934

20-
2) Add 'g1b.datetime-input' module to your app config
35+
2) Add 'g1b.datetime-inputs' module to your app config
2136

2237

2338
```javascript
2439
angular.module('myApp', [
25-
'g1b.datetime-input',
40+
'g1b.datetime-inputs',
2641
......
2742
])
2843
```
@@ -36,7 +51,7 @@ For date input only
3651

3752
For time input only
3853
```html
39-
<time-input time="time" on-change="print(time)" placeholder="Select time"></date-input>
54+
<time-input time="time" on-change="print(time)" placeholder="Select time"></time-input>
4055
```
4156

4257
For both date and time input

bower.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
2-
"name": "angular-datetime-input",
3-
"version": "0.0.7",
2+
"name": "angular-datetime-inputs",
3+
"version": "0.1.0",
4+
"description": "UI elements for datetime input, converted to angular directives for your convenience.",
5+
"homepage": "https://github.com/g1eb/angular-datetime-inputs",
46
"authors": [
57
"Gleb <git@gleb.nl>"
68
],
7-
"description": "UI widget for datetime input, converted to an angular directive for your convenience.",
9+
"license": "MIT",
810
"main": [
9-
"dist/datetime-input.js",
10-
"dist/datetime-input.css"
11+
"dist/datetime-inputs.min.js",
12+
"dist/datetime-inputs.min.css"
1113
],
12-
"moduleType": [],
14+
"dependencies": {
15+
"angular": "^1.5.6",
16+
"moment": "^2.13.0"
17+
},
1318
"keywords": [
1419
"angular",
1520
"angularjs",
@@ -21,17 +26,11 @@
2126
"dateinput",
2227
"timeinput"
2328
],
24-
"license": "MIT",
25-
"homepage": "https://github.com/g1eb/angular-datetime-input",
2629
"ignore": [
2730
"**/.*",
2831
"node_modules",
2932
"bower_components",
3033
"test",
3134
"tests"
32-
],
33-
"dependencies": {
34-
"angular": "^1.5.6",
35-
"moment": "^2.13.0"
36-
}
35+
]
3736
}

dist/datetime-input.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/datetime-input.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)