Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 8534054

Browse files
committed
Export CSS styles
1 parent 196f8a2 commit 8534054

9 files changed

+14
-11
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ install:
1616
- npm install
1717
script:
1818
- ./node_modules/.bin/webdriver-manager update
19-
- npm run ci
19+
- npm run e2e -wu false

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ At the end do not forget to add this effects to your app.
262262

263263
### v3.0.2
264264
* small fixes with interfaces
265+
* fix export CSS styles
265266

266267
### v3.0.1
267268
* change the way of injecting NodeService provider

demo/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</head>
1111
<body>
1212
<div class="container">
13-
<h1>Angular2 - Tree v3.0.1</h1>
13+
<h1>Angular2 - Tree v3.0.2</h1>
1414

1515
<app-root>Loading...</app-root>
1616
</div>

e2e/app.e2e-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('e2e App', () => {
1717

1818
it('should display welcome message', () => {
1919
page.navigateTo();
20-
expect(page.getTitle()).toEqual('Angular2 - Tree v3.0.1');
20+
expect(page.getTitle()).toEqual('Angular2 - Tree v3.0.2');
2121
});
2222

2323
describe('add node', () => {

src/item/item.component.less

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +0,0 @@
1-
.drop-allowed {
2-
.tree-item-name {
3-
background-color: rgba(255, 0, 0, 0.3);
4-
}
5-
}

src/parents-list/parents-list.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul class="parents-list">
1+
<ul class="ri-tree-parents-list">
22
<li class="fa fa-home" (click)="selectNode(null, false)"></li>
33
<li *ngFor="let node of parents$ | async; last as isLast" (click)="selectNode(node, isLast)">{{node.name}}
44
</li>

src/parents-list/parents-list.component.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.parents-list {
1+
.ri-tree-parents-list {
22
list-style-type: none;
33
margin: 0;
44
padding: 0;

src/styles.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
@import 'tree.component.less';
1+
@import './tree.component.less';
2+
@import './parents-list/parents-list.component.less';

src/tree.component.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
.tree-item {
3333
padding: 2px 0;
3434

35+
&.drop-allowed {
36+
.tree-item-name {
37+
background-color: rgba(255, 0, 0, 0.3);
38+
}
39+
}
40+
3541
&.tree-item-selected {
3642
> .tree-item-name {
3743
padding: 0 1px;

0 commit comments

Comments
 (0)