@thi.ng/imgui 2.2.40 → 2.2.41

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**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-02T14:05:53Z
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.41",
4
4
  "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,14 +37,14 @@
37
37
  "dependencies": {
38
38
  "@thi.ng/api": "^8.9.27",
39
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",
40
+ "@thi.ng/geom": "^6.0.35",
41
+ "@thi.ng/geom-api": "^3.4.73",
42
+ "@thi.ng/geom-isec": "^2.1.115",
43
+ "@thi.ng/geom-tessellate": "^2.1.116",
44
+ "@thi.ng/layout": "^3.0.25",
45
45
  "@thi.ng/math": "^5.10.4",
46
- "@thi.ng/transducers": "^8.9.8",
47
- "@thi.ng/vectors": "^7.10.14"
46
+ "@thi.ng/transducers": "^8.9.9",
47
+ "@thi.ng/vectors": "^7.10.15"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@microsoft/api-extractor": "^7.40.1",
@@ -158,5 +158,5 @@
158
158
  ],
159
159
  "year": 2019
160
160
  },
161
- "gitHead": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
161
+ "gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
162
162
  }