@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.
- package/CHANGELOG.md +1 -1
- package/README.md +5 -1
- package/package.json +14 -13
package/CHANGELOG.md
CHANGED
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.
|
|
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.
|
|
39
|
-
"@thi.ng/checks": "^3.5.
|
|
40
|
-
"@thi.ng/geom": "^6.0.
|
|
41
|
-
"@thi.ng/geom-api": "^3.4.
|
|
42
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
43
|
-
"@thi.ng/geom-tessellate": "^2.1.
|
|
44
|
-
"@thi.ng/layout": "^3.0.
|
|
45
|
-
"@thi.ng/math": "^5.10.
|
|
46
|
-
"@thi.ng/transducers": "^8.9.
|
|
47
|
-
"@thi.ng/vectors": "^7.10.
|
|
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": "
|
|
162
|
+
"gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
|
|
162
163
|
}
|