@thi.ng/imgui 2.1.37 → 2.1.38
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 +86 -86
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -38,9 +38,9 @@ and/or version bumps of transitive dependencies.
|
|
|
38
38
|
|
|
39
39
|
#### ♻️ Refactoring
|
|
40
40
|
|
|
41
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
42
41
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
43
42
|
- add .js suffix for all relative imports
|
|
43
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
44
44
|
|
|
45
45
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.0.0) (2021-10-12)
|
|
46
46
|
|
|
@@ -61,16 +61,16 @@ and/or version bumps of transitive dependencies.
|
|
|
61
61
|
|
|
62
62
|
#### ♻️ Refactoring
|
|
63
63
|
|
|
64
|
-
- update imports ([e6c97d2](https://github.com/thi-ng/umbrella/commit/e6c97d2))
|
|
65
|
-
- update imports ([d885c67](https://github.com/thi-ng/umbrella/commit/d885c67))
|
|
66
|
-
- update imports ([1381ade](https://github.com/thi-ng/umbrella/commit/1381ade))
|
|
67
|
-
- dedupe ringRaw() internals ([6af7e1e](https://github.com/thi-ng/umbrella/commit/6af7e1e))
|
|
68
|
-
- update imports (transducers) ([1ffb357](https://github.com/thi-ng/umbrella/commit/1ffb357))
|
|
69
|
-
- update imports ([82767ed](https://github.com/thi-ng/umbrella/commit/82767ed))
|
|
70
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
71
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
72
64
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
73
65
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
66
|
+
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
67
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
68
|
+
- update imports ([82767ed](https://github.com/thi-ng/umbrella/commit/82767ed))
|
|
69
|
+
- update imports (transducers) ([1ffb357](https://github.com/thi-ng/umbrella/commit/1ffb357))
|
|
70
|
+
- dedupe ringRaw() internals ([6af7e1e](https://github.com/thi-ng/umbrella/commit/6af7e1e))
|
|
71
|
+
- update imports ([1381ade](https://github.com/thi-ng/umbrella/commit/1381ade))
|
|
72
|
+
- update imports ([d885c67](https://github.com/thi-ng/umbrella/commit/d885c67))
|
|
73
|
+
- update imports ([e6c97d2](https://github.com/thi-ng/umbrella/commit/e6c97d2))
|
|
74
74
|
|
|
75
75
|
### [1.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@1.0.3) (2021-08-18)
|
|
76
76
|
|
|
@@ -97,8 +97,8 @@ and/or version bumps of transitive dependencies.
|
|
|
97
97
|
|
|
98
98
|
#### ♻️ Refactoring
|
|
99
99
|
|
|
100
|
-
- update type-only imports ([f01e3f4](https://github.com/thi-ng/umbrella/commit/f01e3f4))
|
|
101
100
|
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
101
|
+
- update type-only imports ([f01e3f4](https://github.com/thi-ng/umbrella/commit/f01e3f4))
|
|
102
102
|
|
|
103
103
|
### [0.2.42](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@0.2.42) (2020-11-24)
|
|
104
104
|
|
|
@@ -114,17 +114,17 @@ and/or version bumps of transitive dependencies.
|
|
|
114
114
|
|
|
115
115
|
#### ♻️ Refactoring
|
|
116
116
|
|
|
117
|
-
-
|
|
118
|
-
-
|
|
119
|
-
-
|
|
117
|
+
- dedupe dial/ring value labels ([ff2b318](https://github.com/thi-ng/umbrella/commit/ff2b318))
|
|
118
|
+
- extract dialValueLabel() helper
|
|
119
|
+
- update textField() key/cursor handling ([27889d3](https://github.com/thi-ng/umbrella/commit/27889d3))
|
|
120
|
+
- dedupe button label handling/creation ([467159c](https://github.com/thi-ng/umbrella/commit/467159c))
|
|
121
|
+
- dedupe dropdown caret ([69332d9](https://github.com/thi-ng/umbrella/commit/69332d9))
|
|
120
122
|
- minor updates IMGUI class ([aec84c6](https://github.com/thi-ng/umbrella/commit/aec84c6))
|
|
121
123
|
- extract gc() method
|
|
122
124
|
- update endTheme()/endDisabled()
|
|
123
|
-
-
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
- dedupe dial/ring value labels ([ff2b318](https://github.com/thi-ng/umbrella/commit/ff2b318))
|
|
127
|
-
- extract dialValueLabel() helper
|
|
125
|
+
- extract layoutBox() helper, re-use ([7e94bb4](https://github.com/thi-ng/umbrella/commit/7e94bb4))
|
|
126
|
+
- update hoverButton() behavior, re-use ([a2a4c3b](https://github.com/thi-ng/umbrella/commit/a2a4c3b))
|
|
127
|
+
- extract handleTextfieldKeys() ([3c676aa](https://github.com/thi-ng/umbrella/commit/3c676aa))
|
|
128
128
|
|
|
129
129
|
### [0.2.39](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@0.2.39) (2020-09-13)
|
|
130
130
|
|
|
@@ -168,39 +168,37 @@ and/or version bumps of transitive dependencies.
|
|
|
168
168
|
|
|
169
169
|
#### 🚀 Features
|
|
170
170
|
|
|
171
|
-
-
|
|
172
|
-
- add
|
|
173
|
-
- add key handling
|
|
174
|
-
- add
|
|
175
|
-
- add
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
-
|
|
182
|
-
- add
|
|
183
|
-
- add
|
|
184
|
-
- add
|
|
185
|
-
-
|
|
186
|
-
- add
|
|
187
|
-
-
|
|
188
|
-
- update
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
-
|
|
201
|
-
-
|
|
202
|
-
- add GridLayout.nextSquare()
|
|
203
|
-
- update button, toggle, sliders & xyPad widgets
|
|
171
|
+
- import as new package [@thi.ng/imgui](https://github.com/thi-ng/umbrella/tree/main/packages/imgui) ([f94b430](https://github.com/thi-ng/umbrella/commit/f94b430))
|
|
172
|
+
- add key consts, update key handling (shift/alt mods) ([7809734](https://github.com/thi-ng/umbrella/commit/7809734))
|
|
173
|
+
- add textField widget, update theme & key handling ([53b068f](https://github.com/thi-ng/umbrella/commit/53b068f))
|
|
174
|
+
- add slider value format, minor other updates ([399fa21](https://github.com/thi-ng/umbrella/commit/399fa21))
|
|
175
|
+
- add textfield scrolling, cursor movement, word jump ([c94d4d9](https://github.com/thi-ng/umbrella/commit/c94d4d9))
|
|
176
|
+
- update textField, set cursor via mouse, update alt move/del ([4f9760d](https://github.com/thi-ng/umbrella/commit/4f9760d))
|
|
177
|
+
- update tab handling, allow all items unfocused ([1a63694](https://github.com/thi-ng/umbrella/commit/1a63694))
|
|
178
|
+
- add touch support, minor widget refactoring ([dcd19bc](https://github.com/thi-ng/umbrella/commit/dcd19bc))
|
|
179
|
+
- add XY-pad widget ([6446e6e](https://github.com/thi-ng/umbrella/commit/6446e6e))
|
|
180
|
+
- add dropdown widget, update hover behaviors ([b9d725a](https://github.com/thi-ng/umbrella/commit/b9d725a))
|
|
181
|
+
- add color type, keys, update default theme ([e4facae](https://github.com/thi-ng/umbrella/commit/e4facae))
|
|
182
|
+
- add home/end key support in textField ([ae75c08](https://github.com/thi-ng/umbrella/commit/ae75c08))
|
|
183
|
+
- update dropdown, add tooltip support & tri icon ([d662811](https://github.com/thi-ng/umbrella/commit/d662811))
|
|
184
|
+
- add vertical slider, rename slider/sliderGroup ([40c050e](https://github.com/thi-ng/umbrella/commit/40c050e))
|
|
185
|
+
- slider / sliderGroup = sliderH/sliderHGroup
|
|
186
|
+
- add new sliderV / sliderVGroup
|
|
187
|
+
- add toggle & radio buttons ([6a491aa](https://github.com/thi-ng/umbrella/commit/6a491aa))
|
|
188
|
+
- update theme init/config, add setTheme() ([76ad91c](https://github.com/thi-ng/umbrella/commit/76ad91c))
|
|
189
|
+
- add xyPad label offset args, minor refactoring ([d224fe0](https://github.com/thi-ng/umbrella/commit/d224fe0))
|
|
190
|
+
- add GridLayout, update all components ([4f94981](https://github.com/thi-ng/umbrella/commit/4f94981))
|
|
191
|
+
- add/update layout types, handling, add more ctrl key consts ([4086590](https://github.com/thi-ng/umbrella/commit/4086590))
|
|
192
|
+
- update IGridLayout & GridLayout.next() ([0c1d483](https://github.com/thi-ng/umbrella/commit/0c1d483))
|
|
193
|
+
- expose readonly layout props
|
|
194
|
+
- clamp colspan to max cols
|
|
195
|
+
- minor optimizations
|
|
196
|
+
- update button, dropdown, radio, sliderHGroup ([588a321](https://github.com/thi-ng/umbrella/commit/588a321))
|
|
197
|
+
- update buttonRaw to allow any IShape
|
|
198
|
+
- update button to provide rect
|
|
199
|
+
- update dropdown, radio, sliderHGroup to use nested layout
|
|
200
|
+
- update radio to support horizontal/vertical layouts
|
|
201
|
+
- remove dropdownRaw, radioRaw, sliderHGroupRaw
|
|
204
202
|
- add layouted sliderV/Group, add/update various comp ([7e0bfeb](https://github.com/thi-ng/umbrella/commit/7e0bfeb))
|
|
205
203
|
- add `square` option for toggle() & radio()
|
|
206
204
|
- add sliderV/sliderVGroup()
|
|
@@ -208,37 +206,39 @@ and/or version bumps of transitive dependencies.
|
|
|
208
206
|
- add layouted xyPad w/ opt height constraints
|
|
209
207
|
- minor optimizations GridLayout.next()
|
|
210
208
|
- add IMGUI.textWidth()
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
- update
|
|
216
|
-
|
|
217
|
-
-
|
|
218
|
-
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
-
|
|
226
|
-
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
- add
|
|
232
|
-
- add
|
|
233
|
-
-
|
|
234
|
-
-
|
|
235
|
-
- update
|
|
236
|
-
-
|
|
237
|
-
- add
|
|
238
|
-
- add
|
|
239
|
-
- add
|
|
240
|
-
- add
|
|
241
|
-
-
|
|
209
|
+
- add dial widget, extract key handlers, update layout ([d3d2b27](https://github.com/thi-ng/umbrella/commit/d3d2b27))
|
|
210
|
+
- add dial/diaRaw() widgets
|
|
211
|
+
- extract button & slider value updaters / key handlers
|
|
212
|
+
- add GridLayout.nextSquare()
|
|
213
|
+
- update button, toggle, sliders & xyPad widgets
|
|
214
|
+
- add buttonV, radialMenu, update dropdown ([03d5932](https://github.com/thi-ng/umbrella/commit/03d5932))
|
|
215
|
+
- rename dial => ring, add new dial, extract dialVal() ([cd9a339](https://github.com/thi-ng/umbrella/commit/cd9a339))
|
|
216
|
+
- add component resource caching & GC, update all comps & theme ([7c3d399](https://github.com/thi-ng/umbrella/commit/7c3d399))
|
|
217
|
+
- add .registerID() to mark used components & invalidate cache
|
|
218
|
+
- add .resource() to retrieved component assets
|
|
219
|
+
- update all comps to use cached shapes (at least partially)
|
|
220
|
+
- update IMGUIOpts, input handling, optional event handling ([d06a235](https://github.com/thi-ng/umbrella/commit/d06a235))
|
|
221
|
+
- remove width/height from IMGUIOpts
|
|
222
|
+
- add IMGUI.setMouse/setKey to update mouse/key state
|
|
223
|
+
- remove obsolete Set of active keys
|
|
224
|
+
- make existing event handling optional, move to .useDefaultEventHandlers()
|
|
225
|
+
- update toggleRaw() to update value earlier ([21ba39d](https://github.com/thi-ng/umbrella/commit/21ba39d))
|
|
226
|
+
- add GridLayout.spansForSize/colsForWidth/rowsForHeight ([713dce1](https://github.com/thi-ng/umbrella/commit/713dce1))
|
|
227
|
+
- add textTransformH/V, update buttons to allow any body ([05cc31f](https://github.com/thi-ng/umbrella/commit/05cc31f))
|
|
228
|
+
- cache button labels in buttonH/V
|
|
229
|
+
- add iconButton() ([07599a4](https://github.com/thi-ng/umbrella/commit/07599a4))
|
|
230
|
+
- add cursor blink config, update textFieldRaw() ([1d80e14](https://github.com/thi-ng/umbrella/commit/1d80e14))
|
|
231
|
+
- update dropdown key handlers (Esc) ([c2ef036](https://github.com/thi-ng/umbrella/commit/c2ef036))
|
|
232
|
+
- non-destructive value updates, local state ([b499c8c](https://github.com/thi-ng/umbrella/commit/b499c8c))
|
|
233
|
+
- update all components to return new values (if edited) or else undefined
|
|
234
|
+
- store local state (dropdown, textfield) in IMGUI state cache
|
|
235
|
+
- add cursor & LayoutBox support, add docs ([b8d0892](https://github.com/thi-ng/umbrella/commit/b8d0892))
|
|
236
|
+
- add theme stack, extract default event handlers ([b4aee22](https://github.com/thi-ng/umbrella/commit/b4aee22))
|
|
237
|
+
- add disabled component stack, update theme & behaviors ([dce481a](https://github.com/thi-ng/umbrella/commit/dce481a))
|
|
238
|
+
- add dialGroup, ringGroup, fix/update label hashing ([0333fa6](https://github.com/thi-ng/umbrella/commit/0333fa6))
|
|
239
|
+
- add key handling for radialMenu() ([99c2987](https://github.com/thi-ng/umbrella/commit/99c2987))
|
|
240
|
+
- add IMGUI.draw flag, update components, add/update hash fns ([c9bc287](https://github.com/thi-ng/umbrella/commit/c9bc287))
|
|
241
|
+
- add IMGUI.clear(), update deps ([d10732d](https://github.com/thi-ng/umbrella/commit/d10732d))
|
|
242
242
|
|
|
243
243
|
#### 🩹 Bug fixes
|
|
244
244
|
|
|
@@ -252,10 +252,10 @@ and/or version bumps of transitive dependencies.
|
|
|
252
252
|
|
|
253
253
|
#### ♻️ Refactoring
|
|
254
254
|
|
|
255
|
+
- update button & dropdown ([c030b4d](https://github.com/thi-ng/umbrella/commit/c030b4d))
|
|
256
|
+
- update mouse hover handling ([8e907e0](https://github.com/thi-ng/umbrella/commit/8e907e0))
|
|
257
|
+
- update label handling in sliderV/radialMenu, update ring ([ad0d9c9](https://github.com/thi-ng/umbrella/commit/ad0d9c9))
|
|
255
258
|
- extract hover behavior fns, fix button behavior ([15ae744](https://github.com/thi-ng/umbrella/commit/15ae744))
|
|
256
259
|
- extract IMGUI.isHover as isHoverSlider()
|
|
257
260
|
- add isHoverButton(), revert behavior to not trigger if mouse released outside
|
|
258
261
|
- update all required comps
|
|
259
|
-
- update label handling in sliderV/radialMenu, update ring ([ad0d9c9](https://github.com/thi-ng/umbrella/commit/ad0d9c9))
|
|
260
|
-
- update mouse hover handling ([8e907e0](https://github.com/thi-ng/umbrella/commit/8e907e0))
|
|
261
|
-
- update button & dropdown ([c030b4d](https://github.com/thi-ng/umbrella/commit/c030b4d))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/imgui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.38",
|
|
4
4
|
"description": "Immediate mode GUI with flexible state handling & data only shape output",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/geom": "^3.4.
|
|
40
|
-
"@thi.ng/geom-api": "^3.3.
|
|
41
|
-
"@thi.ng/geom-isec": "^2.1.
|
|
42
|
-
"@thi.ng/geom-tessellate": "^2.1.
|
|
43
|
-
"@thi.ng/layout": "^2.1.
|
|
44
|
-
"@thi.ng/math": "^5.3.
|
|
45
|
-
"@thi.ng/transducers": "^8.3.
|
|
46
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/geom": "^3.4.21",
|
|
40
|
+
"@thi.ng/geom-api": "^3.3.18",
|
|
41
|
+
"@thi.ng/geom-isec": "^2.1.35",
|
|
42
|
+
"@thi.ng/geom-tessellate": "^2.1.35",
|
|
43
|
+
"@thi.ng/layout": "^2.1.17",
|
|
44
|
+
"@thi.ng/math": "^5.3.13",
|
|
45
|
+
"@thi.ng/transducers": "^8.3.23",
|
|
46
|
+
"@thi.ng/vectors": "^7.5.24"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@microsoft/api-extractor": "^7.33.5",
|
|
50
|
-
"@thi.ng/testament": "^0.3.
|
|
50
|
+
"@thi.ng/testament": "^0.3.5",
|
|
51
51
|
"rimraf": "^3.0.2",
|
|
52
52
|
"tools": "^0.0.1",
|
|
53
|
-
"typedoc": "^0.23.
|
|
53
|
+
"typedoc": "^0.23.20",
|
|
54
54
|
"typescript": "^4.8.4"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"node": ">=12.7"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
|
-
"
|
|
75
|
-
"
|
|
74
|
+
"./*.js",
|
|
75
|
+
"./*.d.ts",
|
|
76
76
|
"behaviors",
|
|
77
77
|
"components"
|
|
78
78
|
],
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
],
|
|
159
159
|
"year": 2019
|
|
160
160
|
},
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
162
162
|
}
|