perfect-gui 3.5.14 → 3.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,16 +1,17 @@
1
- # perfect-gui
2
- Nice and simple GUI for JavaScript.
1
+ # Perfect GUI
2
+ A nice, simple and (probably not) perfect GUI for JavaScript.
3
3
 
4
4
  Features:
5
5
  - image buttons
6
6
  - multiple panels
7
7
  - easy positioning
8
8
  - draggable panels
9
+ - two-dimensional vector vizualisation
9
10
 
10
11
  <img src="https://raw.githubusercontent.com/thibka/thibka.github.io/master/perfect-gui/_data/capture.png" width="580"/>
11
12
 
12
13
  ## API
13
- https://thibka.github.io/perfect-gui/public/
14
+ [Documentation](https://thibka.github.io/perfect-gui/public/)
14
15
 
15
16
  ## Install
16
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perfect-gui",
3
- "version": "3.5.14",
3
+ "version": "3.5.16",
4
4
  "description": "Nice and simple GUI for JavaScript",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -21,5 +21,5 @@
21
21
  "bugs": {
22
22
  "url": "https://github.com/thibka/perfect-gui/issues"
23
23
  },
24
- "homepage": "https://github.com/thibka/perfect-gui#readme"
24
+ "homepage": "https://thibka.github.io/perfect-gui/public/"
25
25
  }
@@ -56,12 +56,13 @@
56
56
  </div>
57
57
  <div class="main">
58
58
  <div class="title">
59
- <h1>Perfect GUI API</h1>
60
-
59
+ <h1>Perfect GUI</h1>
60
+
61
61
  <a class="link" target="_blank" href="https://github.com/thibka/perfect-gui">Github</a>
62
62
  <a class="link" target="_blank" href="https://www.npmjs.com/package/perfect-gui">NPM</a>
63
63
  <a class="link" target="_blank" href="https://twitter.com/_Thibka">Twitter</a>
64
64
  </div>
65
+ <p class="subtitle">A nice, simple and (<span id="subtitle-random">probably not</span>) perfect GUI for JavaScript.</p>
65
66
 
66
67
  <h2 id="basics">Basics</h2>
67
68
 
package/test/src/index.js CHANGED
@@ -9,6 +9,10 @@ import folders from './js/folders';
9
9
  import other from './js/other';
10
10
  import kill_create from './js/kill_create';
11
11
 
12
+ let subtitle = ['probably not', 'maybe not', 'almost', 'nearly'];
13
+ subtitle = subtitle[Math.floor(Math.random() * subtitle.length)];
14
+ document.getElementById('subtitle-random').textContent = subtitle;
15
+
12
16
  //demo();
13
17
 
14
18
  basics();
@@ -98,7 +98,12 @@ body {
98
98
  .title {
99
99
  display: flex;
100
100
  flex-direction: row;
101
- margin: 80px 0;
101
+ margin: 80px 0 0;
102
+ }
103
+
104
+ .subtitle {
105
+ opacity: .6;
106
+ font-size: 1.2rem;
102
107
  }
103
108
 
104
109
  .link {