@thi.ng/imgui 2.0.1 → 2.0.7

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.
Files changed (4) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +1 -1
  3. package/gui.js +0 -25
  4. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.6...@thi.ng/imgui@2.0.7) (2021-10-28)
7
+
8
+ **Note:** Version bump only for package @thi.ng/imgui
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.5...@thi.ng/imgui@2.0.6) (2021-10-28)
15
+
16
+ **Note:** Version bump only for package @thi.ng/imgui
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.4...@thi.ng/imgui@2.0.5) (2021-10-27)
23
+
24
+ **Note:** Version bump only for package @thi.ng/imgui
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.3...@thi.ng/imgui@2.0.4) (2021-10-25)
31
+
32
+ **Note:** Version bump only for package @thi.ng/imgui
33
+
34
+
35
+
36
+
37
+
38
+ ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.2...@thi.ng/imgui@2.0.3) (2021-10-15)
39
+
40
+ **Note:** Version bump only for package @thi.ng/imgui
41
+
42
+
43
+
44
+
45
+
46
+ ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.1...@thi.ng/imgui@2.0.2) (2021-10-15)
47
+
48
+ **Note:** Version bump only for package @thi.ng/imgui
49
+
50
+
51
+
52
+
53
+
6
54
  ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/imgui@2.0.0...@thi.ng/imgui@2.0.1) (2021-10-13)
7
55
 
8
56
  **Note:** Version bump only for package @thi.ng/imgui
package/README.md CHANGED
@@ -255,7 +255,7 @@ node --experimental-repl-await
255
255
  > const imgui = await import("@thi.ng/imgui");
256
256
  ```
257
257
 
258
- Package sizes (gzipped, pre-treeshake): ESM: 6.97 KB
258
+ Package sizes (gzipped, pre-treeshake): ESM: 6.90 KB
259
259
 
260
260
  ## Dependencies
261
261
 
package/gui.js CHANGED
@@ -1,31 +1,6 @@
1
1
  import { set2 } from "@thi.ng/vectors/set";
2
2
  import { DEFAULT_THEME, Key, KeyModifier, MouseButton, NONE, } from "./api.js";
3
3
  export class IMGUI {
4
- attribs;
5
- layers;
6
- mouse;
7
- buttons;
8
- key;
9
- modifiers;
10
- prevMouse;
11
- prevButtons;
12
- prevKey;
13
- prevModifiers;
14
- hotID;
15
- activeID;
16
- focusID;
17
- lastID;
18
- cursor;
19
- t0;
20
- time;
21
- draw;
22
- currIDs;
23
- prevIDs;
24
- themeStack;
25
- disabledStack;
26
- resources;
27
- states;
28
- sizes;
29
4
  constructor(opts) {
30
5
  this.mouse = [-1e3, -1e3];
31
6
  this.prevMouse = [-1e3, -1e3];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imgui",
3
- "version": "2.0.1",
3
+ "version": "2.0.7",
4
4
  "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,19 +34,19 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.0.1",
38
- "@thi.ng/checks": "^3.0.1",
39
- "@thi.ng/geom": "^3.0.1",
40
- "@thi.ng/geom-api": "^3.0.1",
41
- "@thi.ng/geom-isec": "^2.0.1",
42
- "@thi.ng/geom-tessellate": "^2.0.1",
43
- "@thi.ng/layout": "^2.0.1",
44
- "@thi.ng/math": "^5.0.1",
45
- "@thi.ng/transducers": "^8.0.1",
46
- "@thi.ng/vectors": "^7.0.1"
37
+ "@thi.ng/api": "^8.0.6",
38
+ "@thi.ng/checks": "^3.0.6",
39
+ "@thi.ng/geom": "^3.0.7",
40
+ "@thi.ng/geom-api": "^3.0.6",
41
+ "@thi.ng/geom-isec": "^2.0.6",
42
+ "@thi.ng/geom-tessellate": "^2.0.6",
43
+ "@thi.ng/layout": "^2.0.6",
44
+ "@thi.ng/math": "^5.0.6",
45
+ "@thi.ng/transducers": "^8.0.6",
46
+ "@thi.ng/vectors": "^7.0.6"
47
47
  },
48
48
  "devDependencies": {
49
- "@thi.ng/testament": "^0.1.1"
49
+ "@thi.ng/testament": "^0.1.6"
50
50
  },
51
51
  "keywords": [
52
52
  "browser",
@@ -153,5 +153,5 @@
153
153
  ],
154
154
  "year": 2019
155
155
  },
156
- "gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
156
+ "gitHead": "c17a556ad25f6882dfa8f806a1d9e8ed7ac7cd71"
157
157
  }