From 661b5698aa51bee13e1a292ee0cab7445ce22dd2 Mon Sep 17 00:00:00 2001 From: Seyed Hasan Mohaghegh Beheshti Date: Sat, 8 Jul 2017 12:50:32 +0430 Subject: [PATCH 1/2] doneBtnText, nextBtnText, previousBtnText added --- src/wizard.component.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/wizard.component.ts b/src/wizard.component.ts index 8953f89a..bbd0aabb 100644 --- a/src/wizard.component.ts +++ b/src/wizard.component.ts @@ -1,4 +1,4 @@ -import { Component, Output, EventEmitter, ContentChildren, QueryList, AfterContentInit } from '@angular/core'; +import { Component, Output, EventEmitter, ContentChildren, QueryList, AfterContentInit, Input } from '@angular/core'; import { WizardStepComponent } from './wizard-step.component'; @Component({ @@ -16,9 +16,9 @@ import { WizardStepComponent } from './wizard-step.component'; ` , @@ -35,6 +35,9 @@ import { WizardStepComponent } from './wizard-step.component'; ] }) export class WizardComponent implements AfterContentInit { + @Input() doneBtnText='Done'; + @Input() nextBtnText='Next'; + @Input() previousBtnText='Previous'; @ContentChildren(WizardStepComponent) wizardSteps: QueryList; From 0134cade4978bc206769d8b7bbff685d35d9fe64 Mon Sep 17 00:00:00 2001 From: Seyed Hasan Mohaghegh Beheshti Date: Sat, 8 Jul 2017 13:01:50 +0430 Subject: [PATCH 2/2] local npmrc added --- .gitignore | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 80736637..50015c27 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ Desktop.ini # Mac .DS_Store **/.DS_Store + +.npmrc diff --git a/package.json b/package.json index 815f529e..cecbd11c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "angular2-wizard", + "name": "@bitbeter/angular2-wizard", "version": "0.3.0", "scripts": { "build": "ngc -p tsconfig.json",