@thi.ng/imgui 2.2.7 → 2.2.10

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-10-30T14:31:56Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.2.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.8) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ### [2.2.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.5) (2023-10-30)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -253,7 +253,7 @@ For Node.js REPL:
253
253
  const imgui = await import("@thi.ng/imgui");
254
254
  ```
255
255
 
256
- Package sizes (brotli'd, pre-treeshake): ESM: 6.51 KB
256
+ Package sizes (brotli'd, pre-treeshake): ESM: 6.69 KB
257
257
 
258
258
  ## Dependencies
259
259
 
package/gui.js CHANGED
@@ -2,6 +2,31 @@ import { set2 } from "@thi.ng/vectors/set";
2
2
  import { DEFAULT_THEME, Key, KeyModifier, MouseButton, NONE, } from "./api.js";
3
3
  export const defGUI = (opts) => new IMGUI(opts);
4
4
  export class IMGUI {
5
+ attribs;
6
+ layers;
7
+ mouse;
8
+ buttons;
9
+ key;
10
+ modifiers;
11
+ prevMouse;
12
+ prevButtons;
13
+ prevKey;
14
+ prevModifiers;
15
+ hotID;
16
+ activeID;
17
+ focusID;
18
+ lastID;
19
+ cursor;
20
+ t0;
21
+ time;
22
+ draw;
23
+ currIDs;
24
+ prevIDs;
25
+ themeStack;
26
+ disabledStack;
27
+ resources;
28
+ states;
29
+ sizes;
5
30
  constructor(opts) {
6
31
  this.mouse = [-1e3, -1e3];
7
32
  this.prevMouse = [-1e3, -1e3];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imgui",
3
- "version": "2.2.7",
3
+ "version": "2.2.10",
4
4
  "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -28,29 +28,28 @@
28
28
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc behaviors components",
29
29
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
30
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && tools:readme",
32
- "doc:stats": "tools:module-stats",
31
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
33
32
  "pub": "yarn npm publish --access public",
34
- "test": "testament test"
33
+ "test": "bun test"
35
34
  },
36
35
  "dependencies": {
37
- "@thi.ng/api": "^8.9.6",
38
- "@thi.ng/checks": "^3.4.6",
39
- "@thi.ng/geom": "^6.0.1",
40
- "@thi.ng/geom-api": "^3.4.43",
41
- "@thi.ng/geom-isec": "^2.1.85",
42
- "@thi.ng/geom-tessellate": "^2.1.86",
43
- "@thi.ng/layout": "^3.0.1",
44
- "@thi.ng/math": "^5.7.1",
45
- "@thi.ng/transducers": "^8.8.8",
46
- "@thi.ng/vectors": "^7.8.2"
36
+ "@thi.ng/api": "^8.9.8",
37
+ "@thi.ng/checks": "^3.4.8",
38
+ "@thi.ng/geom": "^6.0.4",
39
+ "@thi.ng/geom-api": "^3.4.46",
40
+ "@thi.ng/geom-isec": "^2.1.88",
41
+ "@thi.ng/geom-tessellate": "^2.1.89",
42
+ "@thi.ng/layout": "^3.0.3",
43
+ "@thi.ng/math": "^5.7.3",
44
+ "@thi.ng/transducers": "^8.8.11",
45
+ "@thi.ng/vectors": "^7.8.5"
47
46
  },
48
47
  "devDependencies": {
49
- "@microsoft/api-extractor": "^7.38.0",
50
- "@thi.ng/testament": "^0.3.24",
48
+ "@microsoft/api-extractor": "^7.38.2",
49
+ "@thi.ng/testament": "^0.4.1",
51
50
  "rimraf": "^5.0.5",
52
51
  "tools": "^0.0.1",
53
- "typedoc": "^0.25.2",
52
+ "typedoc": "^0.25.3",
54
53
  "typescript": "^5.2.2"
55
54
  },
56
55
  "keywords": [
@@ -158,5 +157,5 @@
158
157
  ],
159
158
  "year": 2019
160
159
  },
161
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
160
+ "gitHead": "2be4c38c9680da929339bd164acfb69ebb1fd3d0\n"
162
161
  }