diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e41ab5a..f592237 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -6,6 +6,10 @@
+
+
+
+
@@ -20,7 +24,7 @@
-
+
@@ -75,38 +79,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -114,8 +127,8 @@
-
-
+
+
@@ -168,11 +181,11 @@
-
+
-
-
+
+
@@ -180,6 +193,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -198,6 +229,7 @@
ng2-fittext
ngx
Ngx
+ ng-f
Ngx
@@ -225,12 +257,12 @@
-
+
@@ -253,8 +285,8 @@
-
-
+
+
@@ -263,18 +295,49 @@
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -287,7 +350,7 @@
-
+
@@ -321,12 +384,13 @@
-
+
+
-
+
@@ -338,7 +402,7 @@
-
+
@@ -380,13 +444,6 @@
-
-
-
-
-
-
-
@@ -402,13 +459,6 @@
-
-
-
-
-
-
-
@@ -455,26 +505,19 @@
-
+
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
@@ -482,16 +525,23 @@
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
@@ -503,6 +553,9 @@
+
+
+
@@ -510,30 +563,41 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/dev/package-lock.json b/examples/dev/package-lock.json
index 813bcc4..8be1972 100644
--- a/examples/dev/package-lock.json
+++ b/examples/dev/package-lock.json
@@ -6478,6 +6478,11 @@
"integrity": "sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==",
"dev": true
},
+ "ng2-fittext": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/ng2-fittext/-/ng2-fittext-1.2.0.tgz",
+ "integrity": "sha512-4QB+R1rYVZGTYcHCLDcaI6Lbtva7ZNiBlWvYUmAMQN3K6u7VmPrfJcErKuZiMrkTRPa99kVshnx3Sv/SyA6qMQ=="
+ },
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
diff --git a/examples/dev/package.json b/examples/dev/package.json
index b427eb9..30c2e25 100644
--- a/examples/dev/package.json
+++ b/examples/dev/package.json
@@ -21,6 +21,7 @@
"@angular/platform-browser-dynamic": "^6.0.0",
"@angular/router": "^6.0.0",
"core-js": "^2.5.4",
+ "ng2-fittext": "^1.2.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
diff --git a/examples/dev/src/app/app.module.ts b/examples/dev/src/app/app.module.ts
index 622a38c..5259011 100644
--- a/examples/dev/src/app/app.module.ts
+++ b/examples/dev/src/app/app.module.ts
@@ -1,15 +1,15 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
-import {Ng2FittextDirective} from './ng2-fittext.directive';
+import {Ng2FittextModule} from 'ng2-fittext';
@NgModule({
declarations: [
- AppComponent,
- Ng2FittextDirective
+ AppComponent
],
imports: [
- BrowserModule
+ BrowserModule,
+ Ng2FittextModule
],
providers: [],
bootstrap: [AppComponent]
diff --git a/package.json b/package.json
index 1d38a21..6e12162 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "ng-fittext",
+ "name": "ng2-fittext",
"version": "1.2.0",
"description": "Ng2 Fittext, an Angular library",
"main": "./bundles/ng2-fittext.umd.js",