Skip to content

Commit

Permalink
fix bug of dark theme style
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Aug 22, 2017
1 parent c55edc0 commit a38d980
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion clean-scripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = {
ts: `tslint "src/*.ts" "src/*.tsx" "demo/**/*.ts" "demo/**/*.tsx"`,
js: `standard "**/*.config.js"`,
less: `stylelint "src/**/*.less"`,
export: `no-unused-export "src/**/*.ts" "src/**/*.tsx" "demo/**/*.ts" "demo/**/*.tsx" --exclude "src/compiled/**/*"`
export: `no-unused-export "src/**/*.ts" "src/**/*.tsx" "demo/**/*.ts" "demo/**/*.tsx" "src/**/*.less" --exclude "src/compiled/**/*"`
},
test: [
'tsc -p spec',
Expand Down
2 changes: 1 addition & 1 deletion demo/angular/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../index.bundle-e4abc336b5f7d1cc1215b72b21c3c100.css" crossOrigin="anonymous" integrity="sha256-vlOHtiaZKDFAoLmDXJmC4PRWibAdE2Zd0itiYyXI89g=" />
<link rel="stylesheet" href="../index.bundle-d9cc5958d86afe0c668d7a7d9a22c28b.css" crossOrigin="anonymous" integrity="sha256-DMEtCR7LNr7lDyOzKnk9N9pvmZMRs+p9x1IP2PDVU0I=" />
<a class="github-fork-ribbon right-bottom" href="https://github.com/plantain-00/tree-component" title="Fork me on GitHub" target="_blank">Fork me on GitHub</a>
<style>
.my-custom-icon {
Expand Down
6 changes: 3 additions & 3 deletions demo/file-size.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"angularIndexBundleJs": "769 kB 192 kB",
"indexBundleCss": "38.9 kB 8.95 kB",
"indexBundleCss": "38.7 kB 9.15 kB",
"reactIndexBundleJs": "164 kB 48.6 kB",
"treeIconPng": "636 B 647 B",
"vueIndexBundleJs": "100 kB 34.3 kB",
"demoAngularIndexHtml": "783 B 534 B",
"demoReactIndexHtml": "798 B 544 B",
"demoAngularIndexHtml": "783 B 537 B",
"demoReactIndexHtml": "798 B 543 B",
"demoVueIndexHtml": "798 B 547 B"
}
4 changes: 4 additions & 0 deletions demo/index.bundle-d9cc5958d86afe0c668d7a7d9a22c28b.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions demo/index.bundle-e4abc336b5f7d1cc1215b72b21c3c100.css

This file was deleted.

2 changes: 1 addition & 1 deletion demo/react/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../index.bundle-e4abc336b5f7d1cc1215b72b21c3c100.css" crossOrigin="anonymous" integrity="sha256-vlOHtiaZKDFAoLmDXJmC4PRWibAdE2Zd0itiYyXI89g=" />
<link rel="stylesheet" href="../index.bundle-d9cc5958d86afe0c668d7a7d9a22c28b.css" crossOrigin="anonymous" integrity="sha256-DMEtCR7LNr7lDyOzKnk9N9pvmZMRs+p9x1IP2PDVU0I=" />
<a class="github-fork-ribbon right-bottom" href="https://github.com/plantain-00/tree-component" title="Fork me on GitHub" target="_blank">Fork me on GitHub</a>
<style>
.my-custom-icon {
Expand Down
2 changes: 1 addition & 1 deletion demo/vue/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../index.bundle-e4abc336b5f7d1cc1215b72b21c3c100.css" crossOrigin="anonymous" integrity="sha256-vlOHtiaZKDFAoLmDXJmC4PRWibAdE2Zd0itiYyXI89g=" />
<link rel="stylesheet" href="../index.bundle-d9cc5958d86afe0c668d7a7d9a22c28b.css" crossOrigin="anonymous" integrity="sha256-DMEtCR7LNr7lDyOzKnk9N9pvmZMRs+p9x1IP2PDVU0I=" />
<a class="github-fork-ribbon right-bottom" href="https://github.com/plantain-00/tree-component" title="Fork me on GitHub" target="_blank">Fork me on GitHub</a>
<style>
.my-custom-icon {
Expand Down
10 changes: 6 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-component",
"version": "3.2.0",
"version": "3.2.1",
"description": "A reactjs, angular and vuejs tree component.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -47,7 +47,7 @@
"karma-webpack": "2.0.4",
"less": "2.7.2",
"mkdirp": "0.5.1",
"no-unused-export": "1.1.0",
"no-unused-export": "1.2.1",
"react": "15.6.1",
"react-dom": "15.6.1",
"rev-static": "3.3.1",
Expand Down
4 changes: 2 additions & 2 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ window.__decorate = __decorate;
window.__assign = __assign;

export class DoubleClick {
clicked = false;
timer: null | NodeJS.Timer = null;
private clicked = false;
private timer: null | NodeJS.Timer = null;

constructor(private timeout = 300) { }

Expand Down
2 changes: 1 addition & 1 deletion src/tree.less
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
&.tree-checkbox-selection .tree-clicked,
.tree-checked {
> .tree-checkbox {
background-image: url("@{default-checked-png}");
background-image: url("@{dark-checked-png}");
}
}

Expand Down

0 comments on commit a38d980

Please sign in to comment.