Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
1.6.0 angular >=5.0.0 built.
Browse files Browse the repository at this point in the history
  • Loading branch information
clouless committed Mar 29, 2018
1 parent 377f8d1 commit dcfa29d
Show file tree
Hide file tree
Showing 5 changed files with 8,103 additions and 15 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ documentation
src/*.js
src/components/*.js
tsconfig-*.json
yarn.lock
_dist_demo_node_modules
dist-demo
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.yarnpkg.com/
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"COMMENT": "THIS FILE WILL BE PARSED DURING BUILD. IT IS NOT THE ACTUAL PACKAGE FILE PUSHE TO NPMJS!",
"name": "@cloukit/tooltip",
"moduleId": "tooltip",
"version": "1.5.0",
"version": "1.6.0",
"description": "A simple tooltip component",
"license": "MIT",
"author": "codelcou.io",
Expand All @@ -18,16 +18,16 @@
"test": "echo \"ok\""
},
"dependencies": {
"@cloukit/dropout": ">=1.4.0",
"@cloukit/theme": ">=1.6.1"
"@cloukit/dropout": ">=1.6.0",
"@cloukit/theme": ">=1.7.0"
},
"devDependencies": {
"@cloukit/library-build-chain": "1.15.0",
"@cloukit/story": "1.2.0"
"@cloukit/library-build-chain": "1.17.1",
"@cloukit/story": "1.3.1"
},
"peerDependencies": {
"@angular/common": ">=4.0.0",
"@angular/core": ">=4.0.0",
"@angular/common": ">=5.0.0",
"@angular/core": ">=5.0.0",
"rxjs": ">=5.0.0",
"zone.js": ">=0.8.0"
}
Expand Down
12 changes: 5 additions & 7 deletions src/demo/demo.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { CloukitDropoutModule } from '@cloukit/dropout';
import { CloukitThemeModule } from '@cloukit/theme';
import { CloukitTooltipModule } from '../index';
import { DemoComponent } from './demo.component';
import demoStoriesSource from '../assets/demoStoriesSource.json';
import { CloukitStoryModule, CloukitStoryService } from '@cloukit/story';
import { Story00Component } from 'demo/stories/story-00-tooltip-directions';
import { Story01Component } from './stories/story-01-trigger-element-destroyed';
Expand All @@ -20,8 +19,8 @@ import { Story01Component } from './stories/story-01-trigger-element-destroyed';
imports: [
CommonModule,
CloukitThemeModule,
CloukitTooltipModule,
CloukitDropoutModule,
CloukitTooltipModule,
CloukitStoryModule,
],
providers: [ ],
Expand All @@ -30,11 +29,10 @@ import { Story01Component } from './stories/story-01-trigger-element-destroyed';
export class DemoModule {
constructor(private cloukitStoryService: CloukitStoryService) {
//
// REGISTER STORY SOURCES
// INITIALIZE STORY SOURCES
//
const keys = Object.keys(demoStoriesSource);
for (let i=0; i<keys.length; i++) {
this.cloukitStoryService.addSource(keys[i], demoStoriesSource[keys[i]]);
}
const baseUrl = document.getElementsByTagName('base')[0].href;
const storySourceJsonUrl = `${baseUrl}assets/demoStoriesSource.json`; // File is auto generated by build chain!
this.cloukitStoryService.loadStoryJson(storySourceJsonUrl);
}
}
Loading

0 comments on commit dcfa29d

Please sign in to comment.