@thi.ng/imgui 2.2.40 → 2.2.42

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 (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +5 -1
  3. package/package.json +14 -13
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-07T20:40:47Z
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.
package/README.md CHANGED
@@ -112,10 +112,14 @@ offers complete freedom WRT how user state is & can be organized. Also,
112
112
  things like undo / redo become easier to handle this way.
113
113
 
114
114
  ```ts
115
+ import { Atom, History } from "@thi.ng/atom";
116
+ import { toggle } from "@thi.ng/imgui";
117
+
115
118
  // example state (see @thi.ng/atom)
116
119
  const STATE = new History(new Atom({ foo: true }));
117
120
 
118
- ...
121
+ //...IMGUI initialization omitted here
122
+
119
123
  // get atom snapshot
120
124
  const curr = STATE.deref();
121
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imgui",
3
- "version": "2.2.40",
3
+ "version": "2.2.42",
4
4
  "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -32,19 +32,20 @@
32
32
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
33
33
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
34
34
  "pub": "yarn npm publish --access public",
35
- "test": "bun test"
35
+ "test": "bun test",
36
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
36
37
  },
37
38
  "dependencies": {
38
- "@thi.ng/api": "^8.9.27",
39
- "@thi.ng/checks": "^3.5.1",
40
- "@thi.ng/geom": "^6.0.34",
41
- "@thi.ng/geom-api": "^3.4.72",
42
- "@thi.ng/geom-isec": "^2.1.114",
43
- "@thi.ng/geom-tessellate": "^2.1.115",
44
- "@thi.ng/layout": "^3.0.24",
45
- "@thi.ng/math": "^5.10.4",
46
- "@thi.ng/transducers": "^8.9.8",
47
- "@thi.ng/vectors": "^7.10.14"
39
+ "@thi.ng/api": "^8.9.28",
40
+ "@thi.ng/checks": "^3.5.2",
41
+ "@thi.ng/geom": "^6.0.36",
42
+ "@thi.ng/geom-api": "^3.4.74",
43
+ "@thi.ng/geom-isec": "^2.1.116",
44
+ "@thi.ng/geom-tessellate": "^2.1.117",
45
+ "@thi.ng/layout": "^3.0.26",
46
+ "@thi.ng/math": "^5.10.5",
47
+ "@thi.ng/transducers": "^8.9.10",
48
+ "@thi.ng/vectors": "^7.10.16"
48
49
  },
49
50
  "devDependencies": {
50
51
  "@microsoft/api-extractor": "^7.40.1",
@@ -158,5 +159,5 @@
158
159
  ],
159
160
  "year": 2019
160
161
  },
161
- "gitHead": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
162
+ "gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
162
163
  }