@thi.ng/imgui 3.2.46 → 3.2.50

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 (2) hide show
  1. package/package.json +165 -165
  2. package/CHANGELOG.md +0 -114
package/package.json CHANGED
@@ -1,166 +1,166 @@
1
1
  {
2
- "name": "@thi.ng/imgui",
3
- "version": "3.2.46",
4
- "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/imgui",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts behaviors components",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.2",
43
- "@thi.ng/checks": "^3.7.18",
44
- "@thi.ng/geom": "^8.2.14",
45
- "@thi.ng/geom-isec": "^4.0.62",
46
- "@thi.ng/layout": "^4.0.6",
47
- "@thi.ng/math": "^5.12.0",
48
- "@thi.ng/ramp": "^3.3.58",
49
- "@thi.ng/transducers": "^9.6.10",
50
- "@thi.ng/vectors": "^8.6.6"
51
- },
52
- "devDependencies": {
53
- "esbuild": "^0.25.9",
54
- "typedoc": "^0.28.12",
55
- "typescript": "^5.9.2"
56
- },
57
- "keywords": [
58
- "browser",
59
- "canvas",
60
- "component",
61
- "datastructure",
62
- "gui",
63
- "hiccup",
64
- "imgui",
65
- "typescript",
66
- "ui"
67
- ],
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "engines": {
72
- "node": ">=18"
73
- },
74
- "files": [
75
- "./*.js",
76
- "./*.d.ts",
77
- "behaviors",
78
- "components"
79
- ],
80
- "exports": {
81
- ".": {
82
- "default": "./index.js"
83
- },
84
- "./api": {
85
- "default": "./api.js"
86
- },
87
- "./behaviors/button": {
88
- "default": "./behaviors/button.js"
89
- },
90
- "./behaviors/dial": {
91
- "default": "./behaviors/dial.js"
92
- },
93
- "./behaviors/slider": {
94
- "default": "./behaviors/slider.js"
95
- },
96
- "./behaviors/text": {
97
- "default": "./behaviors/text.js"
98
- },
99
- "./components/button": {
100
- "default": "./components/button.js"
101
- },
102
- "./components/dial": {
103
- "default": "./components/dial.js"
104
- },
105
- "./components/dropdown": {
106
- "default": "./components/dropdown.js"
107
- },
108
- "./components/icon-button": {
109
- "default": "./components/icon-button.js"
110
- },
111
- "./components/radial-menu": {
112
- "default": "./components/radial-menu.js"
113
- },
114
- "./components/radio": {
115
- "default": "./components/radio.js"
116
- },
117
- "./components/ramp": {
118
- "default": "./components/ramp.js"
119
- },
120
- "./components/ring": {
121
- "default": "./components/ring.js"
122
- },
123
- "./components/sliderh": {
124
- "default": "./components/sliderh.js"
125
- },
126
- "./components/sliderv": {
127
- "default": "./components/sliderv.js"
128
- },
129
- "./components/textfield": {
130
- "default": "./components/textfield.js"
131
- },
132
- "./components/textlabel": {
133
- "default": "./components/textlabel.js"
134
- },
135
- "./components/toggle": {
136
- "default": "./components/toggle.js"
137
- },
138
- "./components/tooltip": {
139
- "default": "./components/tooltip.js"
140
- },
141
- "./components/xypad": {
142
- "default": "./components/xypad.js"
143
- },
144
- "./events": {
145
- "default": "./events.js"
146
- },
147
- "./gui": {
148
- "default": "./gui.js"
149
- },
150
- "./hash": {
151
- "default": "./hash.js"
152
- },
153
- "./layout": {
154
- "default": "./layout.js"
155
- }
156
- },
157
- "thi.ng": {
158
- "related": [
159
- "hdom-canvas",
160
- "hiccup-canvas",
161
- "rdom-canvas"
162
- ],
163
- "year": 2019
164
- },
165
- "gitHead": "fbf4b46ba8a5ecff8c5423f4c2d158d208d20fc8\n"
166
- }
2
+ "name": "@thi.ng/imgui",
3
+ "version": "3.2.50",
4
+ "description": "Immediate mode GUI with flexible state handling & data only shape output",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/imgui",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts behaviors components",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/checks": "^3.7.22",
44
+ "@thi.ng/geom": "^8.3.3",
45
+ "@thi.ng/geom-isec": "^4.0.66",
46
+ "@thi.ng/layout": "^4.0.10",
47
+ "@thi.ng/math": "^5.13.3",
48
+ "@thi.ng/ramp": "^3.3.62",
49
+ "@thi.ng/transducers": "^9.6.14",
50
+ "@thi.ng/vectors": "^8.6.10"
51
+ },
52
+ "devDependencies": {
53
+ "esbuild": "^0.25.11",
54
+ "typedoc": "^0.28.14",
55
+ "typescript": "^5.9.3"
56
+ },
57
+ "keywords": [
58
+ "browser",
59
+ "canvas",
60
+ "component",
61
+ "datastructure",
62
+ "gui",
63
+ "hiccup",
64
+ "imgui",
65
+ "typescript",
66
+ "ui"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "engines": {
72
+ "node": ">=18"
73
+ },
74
+ "files": [
75
+ "./*.js",
76
+ "./*.d.ts",
77
+ "behaviors",
78
+ "components"
79
+ ],
80
+ "exports": {
81
+ ".": {
82
+ "default": "./index.js"
83
+ },
84
+ "./api": {
85
+ "default": "./api.js"
86
+ },
87
+ "./behaviors/button": {
88
+ "default": "./behaviors/button.js"
89
+ },
90
+ "./behaviors/dial": {
91
+ "default": "./behaviors/dial.js"
92
+ },
93
+ "./behaviors/slider": {
94
+ "default": "./behaviors/slider.js"
95
+ },
96
+ "./behaviors/text": {
97
+ "default": "./behaviors/text.js"
98
+ },
99
+ "./components/button": {
100
+ "default": "./components/button.js"
101
+ },
102
+ "./components/dial": {
103
+ "default": "./components/dial.js"
104
+ },
105
+ "./components/dropdown": {
106
+ "default": "./components/dropdown.js"
107
+ },
108
+ "./components/icon-button": {
109
+ "default": "./components/icon-button.js"
110
+ },
111
+ "./components/radial-menu": {
112
+ "default": "./components/radial-menu.js"
113
+ },
114
+ "./components/radio": {
115
+ "default": "./components/radio.js"
116
+ },
117
+ "./components/ramp": {
118
+ "default": "./components/ramp.js"
119
+ },
120
+ "./components/ring": {
121
+ "default": "./components/ring.js"
122
+ },
123
+ "./components/sliderh": {
124
+ "default": "./components/sliderh.js"
125
+ },
126
+ "./components/sliderv": {
127
+ "default": "./components/sliderv.js"
128
+ },
129
+ "./components/textfield": {
130
+ "default": "./components/textfield.js"
131
+ },
132
+ "./components/textlabel": {
133
+ "default": "./components/textlabel.js"
134
+ },
135
+ "./components/toggle": {
136
+ "default": "./components/toggle.js"
137
+ },
138
+ "./components/tooltip": {
139
+ "default": "./components/tooltip.js"
140
+ },
141
+ "./components/xypad": {
142
+ "default": "./components/xypad.js"
143
+ },
144
+ "./events": {
145
+ "default": "./events.js"
146
+ },
147
+ "./gui": {
148
+ "default": "./gui.js"
149
+ },
150
+ "./hash": {
151
+ "default": "./hash.js"
152
+ },
153
+ "./layout": {
154
+ "default": "./layout.js"
155
+ }
156
+ },
157
+ "thi.ng": {
158
+ "related": [
159
+ "hdom-canvas",
160
+ "hiccup-canvas",
161
+ "rdom-canvas"
162
+ ],
163
+ "year": 2019
164
+ },
165
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
166
+ }
package/CHANGELOG.md DELETED
@@ -1,114 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [3.2.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.2.36) (2025-07-26)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - minor update layout handling in components ([91885c9](https://github.com/thi-ng/umbrella/commit/91885c9))
19
-
20
- ### [3.2.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.2.12) (2025-04-16)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - minor internal updates (imports) ([db32858](https://github.com/thi-ng/umbrella/commit/db32858))
25
-
26
- ### [3.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.2.1) (2025-02-05)
27
-
28
- #### 🩹 Bug fixes
29
-
30
- - update dropdown label handling ([8dc2e93](https://github.com/thi-ng/umbrella/commit/8dc2e93))
31
- - show label in default state if selected value is undefined
32
- (e.g. because `value` was set to -1)
33
- - update ramp color handling, add `fill` option ([874d701](https://github.com/thi-ng/umbrella/commit/874d701))
34
-
35
- ## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.2.0) (2025-02-05)
36
-
37
- #### 🚀 Features
38
-
39
- - add RampOpts.samples ([8aaaae5](https://github.com/thi-ng/umbrella/commit/8aaaae5))
40
-
41
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.1.0) (2024-10-07)
42
-
43
- #### 🚀 Features
44
-
45
- - clamp value args to min/max range ([ee866b1](https://github.com/thi-ng/umbrella/commit/ee866b1))
46
- - update dial, ring, sliders and XY pad components
47
- - ensure provided value arg is within limits
48
- - update ramp component & RampOpts ([953f2fa](https://github.com/thi-ng/umbrella/commit/953f2fa))
49
-
50
- #### ♻️ Refactoring
51
-
52
- - update DropDownOpts ([fe0f080](https://github.com/thi-ng/umbrella/commit/fe0f080))
53
- - rename `title` option => `label`
54
-
55
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@3.0.0) (2024-10-03)
56
-
57
- #### 🛑 Breaking changes
58
-
59
- - update all component/widget functions ([ffe21dd](https://github.com/thi-ng/umbrella/commit/ffe21dd))
60
- - BREAKING CHANGE: replace function args w/ option objects
61
-
62
- ### [2.3.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.3.1) (2024-09-05)
63
-
64
- #### 🩹 Bug fixes
65
-
66
- - update ramp(), clamp mouse pos ([420b41a](https://github.com/thi-ng/umbrella/commit/420b41a))
67
-
68
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.3.0) (2024-09-05)
69
-
70
- #### 🚀 Features
71
-
72
- - add ramp widget ([3c84204](https://github.com/thi-ng/umbrella/commit/3c84204))
73
-
74
- #### ♻️ Refactoring
75
-
76
- - update textLabel to use geom types ([176024f](https://github.com/thi-ng/umbrella/commit/176024f))
77
-
78
- ### [2.2.60](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.60) (2024-06-21)
79
-
80
- #### ♻️ Refactoring
81
-
82
- - update geom deps, update imports ([afd0b8b](https://github.com/thi-ng/umbrella/commit/afd0b8b))
83
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
84
-
85
- ### [2.2.55](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.55) (2024-04-20)
86
-
87
- #### ♻️ Refactoring
88
-
89
- - update type usage ([bee8fd5](https://github.com/thi-ng/umbrella/commit/bee8fd5))
90
-
91
- ### [2.2.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.8) (2023-11-09)
92
-
93
- #### ♻️ Refactoring
94
-
95
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
96
-
97
- ### [2.2.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.5) (2023-10-30)
98
-
99
- #### ♻️ Refactoring
100
-
101
- - add IGridLayout generics ([bdca6fc](https://github.com/thi-ng/umbrella/commit/bdca6fc))
102
-
103
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.2.0) (2023-10-18)
104
-
105
- #### 🚀 Features
106
-
107
- - add defGUI() factory fn (syntax sugar) ([84ef0a8](https://github.com/thi-ng/umbrella/commit/84ef0a8))
108
- - minor internal refactoring
109
-
110
- ### [2.1.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/imgui@2.1.9) (2022-04-07)
111
-
112
- #### ♻️ Refactoring
113
-
114
- - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))