@thi.ng/imgui 2.2.39 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +6 -13
  3. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T11:59:16Z
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
@@ -1,16 +1,5 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- > [!IMPORTANT]
4
- > ‼️ Announcing the thi.ng user survey 2024 📋
5
- >
6
- > [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
7
- > (open until end of February)
8
- >
9
- > **To achieve a better sample size, I'd highly appreciate if you could
10
- > circulate the link to this survey in your own networks.**
11
- >
12
- > [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
13
-
14
3
  # ![@thi.ng/imgui](https://media.thi.ng/umbrella/banners-20230807/thing-imgui.svg?aeebda62)
15
4
 
16
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/imgui.svg)](https://www.npmjs.com/package/@thi.ng/imgui)
@@ -22,7 +11,7 @@
22
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
23
12
  > and anti-framework.
24
13
  >
25
- > 🚀 Help me to work full-time on these projects by [sponsoring me on
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring me on
26
15
  > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
27
16
 
28
17
  - [About](#about)
@@ -123,10 +112,14 @@ offers complete freedom WRT how user state is & can be organized. Also,
123
112
  things like undo / redo become easier to handle this way.
124
113
 
125
114
  ```ts
115
+ import { Atom, History } from "@thi.ng/atom";
116
+ import { toggle } from "@thi.ng/imgui";
117
+
126
118
  // example state (see @thi.ng/atom)
127
119
  const STATE = new History(new Atom({ foo: true }));
128
120
 
129
- ...
121
+ //...IMGUI initialization omitted here
122
+
130
123
  // get atom snapshot
131
124
  const curr = STATE.deref();
132
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/imgui",
3
- "version": "2.2.39",
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",
@@ -35,16 +35,16 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.26",
39
- "@thi.ng/checks": "^3.5.0",
40
- "@thi.ng/geom": "^6.0.33",
41
- "@thi.ng/geom-api": "^3.4.71",
42
- "@thi.ng/geom-isec": "^2.1.113",
43
- "@thi.ng/geom-tessellate": "^2.1.114",
44
- "@thi.ng/layout": "^3.0.23",
45
- "@thi.ng/math": "^5.10.3",
46
- "@thi.ng/transducers": "^8.9.7",
47
- "@thi.ng/vectors": "^7.10.13"
38
+ "@thi.ng/api": "^8.9.27",
39
+ "@thi.ng/checks": "^3.5.1",
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
+ "@thi.ng/math": "^5.10.4",
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": "190d68e7f7524631b333cfdbf32c6a23be27c166\n"
161
+ "gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
162
162
  }