diff --git a/angular/package.json b/angular/package.json index edf819d256..7a9c2baf18 100644 --- a/angular/package.json +++ b/angular/package.json @@ -47,20 +47,20 @@ "@ionic/core": "4.0.0-beta.15" }, "devDependencies": { - "@angular/common": "^6.1.0", - "@angular/compiler": "^6.1.0", - "@angular/compiler-cli": "^6.1.0", - "@angular/core": "^6.1.0", - "@angular/forms": "^6.1.0", - "@angular/platform-browser": "^6.1.0", - "@angular/platform-browser-dynamic": "^6.1.0", - "@angular/router": "^6.1.0", + "@angular/common": "^7.0.3", + "@angular/compiler": "^7.0.3", + "@angular/compiler-cli": "^7.0.3", + "@angular/core": "^7.0.3", + "@angular/forms": "^7.0.3", + "@angular/platform-browser": "^7.0.3", + "@angular/platform-browser-dynamic": "^7.0.3", + "@angular/router": "^7.0.3", "fs-extra": "^7.0.0", "glob": "^7.1.2", "rxjs": "^6.2.0", "tslint": "^5.10.0", "tslint-ionic-rules": "0.0.17", - "typescript": "2.9.2", + "typescript": "3.1.6", "zone.js": "^0.8.26" } } diff --git a/angular/src/ionic-module.ts b/angular/src/ionic-module.ts index 0d4e2bd5a6..333386fb47 100644 --- a/angular/src/ionic-module.ts +++ b/angular/src/ionic-module.ts @@ -25,8 +25,6 @@ const DECLARATIONS = [ d.CardTitle, d.Checkbox, d.Chip, - d.ChipButton, - d.ChipIcon, d.Col, d.Content, d.Datetime, diff --git a/angular/src/providers/nav-controller.ts b/angular/src/providers/nav-controller.ts index 4b657d1ae6..d7a7142d99 100644 --- a/angular/src/providers/nav-controller.ts +++ b/angular/src/providers/nav-controller.ts @@ -89,9 +89,9 @@ export class NavController { } private guessDirection() { - const index = this.stack.indexOf(document.location.href); + const index = this.stack.indexOf(document.location!.href); if (index === -1) { - this.stack.push(document.location.href); + this.stack.push(document.location!.href); return 1; } else if (index < this.stack.length - 1) { this.stack = this.stack.slice(0, index + 1); diff --git a/core/src/components.d.ts b/core/src/components.d.ts index d7fae821df..2e06812566 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -1612,7 +1612,7 @@ export namespace Components { /** * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. */ - 'autocapitalize': 'on' | 'off' | 'words' | 'characters'; + 'autocapitalize': string; /** * Indicates whether the value of the control can be automatically completed by the browser. */ @@ -1730,7 +1730,7 @@ export namespace Components { /** * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. */ - 'autocapitalize'?: 'on' | 'off' | 'words' | 'characters'; + 'autocapitalize'?: string; /** * Indicates whether the value of the control can be automatically completed by the browser. */ diff --git a/core/src/components/input/input.tsx b/core/src/components/input/input.tsx index eace659a37..cfb1a2f350 100644 --- a/core/src/components/input/input.tsx +++ b/core/src/components/input/input.tsx @@ -42,7 +42,7 @@ export class Input implements ComponentInterface { /** * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. */ - @Prop() autocapitalize: 'on' | 'off' | 'words' | 'characters' = 'off'; + @Prop() autocapitalize = 'off'; /** * Indicates whether the value of the control can be automatically completed by the browser. diff --git a/core/src/components/input/readme.md b/core/src/components/input/readme.md index 04fca5a031..a64ca4219f 100644 --- a/core/src/components/input/readme.md +++ b/core/src/components/input/readme.md @@ -13,7 +13,7 @@ It is meant for text `type` inputs only, such as `"text"`, `"password"`, `"email | Property | Attribute | Description | Type | Default | | ---------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------- | | `accept` | `accept` | If the value of the type attribute is `"file"`, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers. | `string \| undefined` | `undefined` | -| `autocapitalize` | `autocapitalize` | Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. | `"characters" \| "off" \| "on" \| "words"` | `'off'` | +| `autocapitalize` | `autocapitalize` | Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. | `string` | `'off'` | | `autocomplete` | `autocomplete` | Indicates whether the value of the control can be automatically completed by the browser. | `"off" \| "on"` | `'off'` | | `autocorrect` | `autocorrect` | Whether auto correction should be enabled when the user is entering/editing the text value. | `"off" \| "on"` | `'off'` | | `autofocus` | `autofocus` | This Boolean attribute lets you specify that a form control should have input focus when the page loads. | `boolean` | `false` |