Skip to content

Commit ceb404a

Browse files
committed
feat: add support for Angular 8
BREAKING CHANGE: the API for the @ViewChild annotation change in Angular 8 and this component uses the new syntax.
1 parent 4f1abc2 commit ceb404a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+10384
-9918
lines changed

README.es_MX.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Selector de fecha y hora con bootstrap para Angular 7+
1+
# Selector de fecha y hora con bootstrap para Angular 8+
22

3-
Componente selector de fecha/hora nativo para Angular (7+) estilizado con Bootstrap 4.
3+
Componente selector de fecha/hora nativo para Angular (8+) estilizado con Bootstrap 4.
44

55
[![npm downloads](https://img.shields.io/npm/dm/angular-bootstrap-datetimepicker.svg)](https://www.npmjs.com/package/angular-bootstrap-datetimepicker)
66
[![Build Status](https://travis-ci.org/dalelotts/angular-bootstrap-datetimepicker.png?branch=master)](https://travis-ci.org/dalelotts/angular-bootstrap-datetimepicker)
@@ -22,6 +22,12 @@ Componente selector de fecha/hora nativo para Angular (7+) estilizado con Bootst
2222

2323
*Leer la documentación en otro idioma: [Inglés](https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/README.md)*
2424

25+
## Angular 7.x?
26+
27+
Use install version 3.1.0
28+
29+
`npm install [email protected]`
30+
2531
## Angular 1.x?
2632

2733
Visita [angularjs-bootstrap-datetimepicker](https://github.com/dalelotts/angularjs-bootstrap-datetimepicker)
@@ -33,8 +39,8 @@ I know this is a tiny component but many people use it in production (high 5 to
3339
## Versiones de Dependencias Mínimas
3440

3541
Versiones de Dependencias mínimas:
36-
* AngularJS 7.x ó mayor (1.x no funcionará)
37-
* moment.js 2.8.3 ó mayor para parseo de fecha y formateo
42+
* AngularJS 8.x ó mayor (1.x no funcionará)
43+
* moment.js 2.x ó mayor para parseo de fecha y formateo
3844
* bootstrap 4.x para css/layout
3945
* open-iconic para los íconos predeterminados (puedes usar cualquier librería de íconos de tu preferencia)
4046

README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Angular 7+ bootstrap date & time picker
1+
# Angular 8+ bootstrap date & time picker
22

3-
Native Angular (7+) datetime picker component styled by Twitter Bootstrap 4.
3+
Native Angular (8+) datetime picker component styled by Twitter Bootstrap 4.
44

55
[![npm downloads](https://img.shields.io/npm/dm/angular-bootstrap-datetimepicker.svg)](https://www.npmjs.com/package/angular-bootstrap-datetimepicker)
66
[![Build Status](https://travis-ci.org/dalelotts/angular-bootstrap-datetimepicker.png?branch=master)](https://travis-ci.org/dalelotts/angular-bootstrap-datetimepicker)
@@ -22,6 +22,13 @@ Native Angular (7+) datetime picker component styled by Twitter Bootstrap 4.
2222

2323

2424
*Read this in other languages: [Spanish](https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/README.es_MX.md)*
25+
26+
## On Angular 7.x?
27+
28+
Use install version 3.1.0
29+
30+
`npm install [email protected]`
31+
2532
## On Angular 1.x?
2633

2734
See [angularjs-bootstrap-datetimepicker](https://github.com/dalelotts/angularjs-bootstrap-datetimepicker)
@@ -32,10 +39,10 @@ I know this is a tiny component but many people use it in production (high 5 to
3239
## Peer Dependencies
3340

3441
Peer dependencies:
35-
* Angular 7.x or higher (1.x will not work)
42+
* Angular 8.x or higher (1.x will not work)
3643
* moment.js 2.22.2 or higher for date parsing and formatting
3744
* bootstrap 4.x for css/layout
38-
* open-iconic for the default icon's (you can use any icon libary you like)
45+
* open-iconic for the default icon's (you can use any icon library you like)
3946

4047
jQuery is NOT required.
4148

ng-package.json

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
33
"lib": {
44
"entryFile": "src/lib/index.ts",
5-
"comments" : "none",
6-
"licensePath": "LICENSE",
75
"umdModuleIds": {
86
"moment" : "moment"
97
}

0 commit comments

Comments
 (0)