Skip to content

Commit

Permalink
feat: add support for Angular 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE: the API for the @ViewChild annotation change in Angular 8 and this component uses
the new syntax.
  • Loading branch information
dalelotts committed Nov 12, 2019
1 parent 4f1abc2 commit ceb404a
Show file tree
Hide file tree
Showing 42 changed files with 10,384 additions and 9,918 deletions.
14 changes: 10 additions & 4 deletions README.es_MX.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Selector de fecha y hora con bootstrap para Angular 7+
# Selector de fecha y hora con bootstrap para Angular 8+

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

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

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

## Angular 7.x?

Use install version 3.1.0

`npm install [email protected]`

## Angular 1.x?

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

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

Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Angular 7+ bootstrap date & time picker
# Angular 8+ bootstrap date & time picker

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

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


*Read this in other languages: [Spanish](https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/README.es_MX.md)*

## On Angular 7.x?

Use install version 3.1.0

`npm install [email protected]`

## On Angular 1.x?

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

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

jQuery is NOT required.

Expand Down
2 changes: 0 additions & 2 deletions ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
"lib": {
"entryFile": "src/lib/index.ts",
"comments" : "none",
"licensePath": "LICENSE",
"umdModuleIds": {
"moment" : "moment"
}
Expand Down
Loading

0 comments on commit ceb404a

Please sign in to comment.