@thi.ng/hdom-components 5.1.149 → 5.1.151
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 +3 -230
- package/README.md +1 -1
- package/package.json +9 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-29T16:25:48Z
|
|
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.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -33,232 +35,3 @@ and/or version bumps of transitive dependencies.
|
|
|
33
35
|
#### ♻️ Refactoring
|
|
34
36
|
|
|
35
37
|
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
36
|
-
|
|
37
|
-
## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.1.0) (2021-11-17)
|
|
38
|
-
|
|
39
|
-
#### 🚀 Features
|
|
40
|
-
|
|
41
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
42
|
-
Improving the overall build ergonomics
|
|
43
|
-
- introduced a tools workspaces
|
|
44
|
-
- imported it in all needed packages/examples
|
|
45
|
-
- inclusive project root
|
|
46
|
-
|
|
47
|
-
#### ♻️ Refactoring
|
|
48
|
-
|
|
49
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
50
|
-
this commit reverts (partly) changes made in:
|
|
51
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
52
|
-
overall purpose is better testament ergonomics:
|
|
53
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
54
|
-
having a binary to handle this for us.
|
|
55
|
-
|
|
56
|
-
### [5.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.0.1) (2021-10-13)
|
|
57
|
-
|
|
58
|
-
#### ♻️ Refactoring
|
|
59
|
-
|
|
60
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
61
|
-
- add .js suffix for all relative imports
|
|
62
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
63
|
-
|
|
64
|
-
# [5.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@5.0.0) (2021-10-12)
|
|
65
|
-
|
|
66
|
-
#### 🛑 Breaking changes
|
|
67
|
-
|
|
68
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
69
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
70
|
-
- only ESM modules will be published from now on
|
|
71
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
72
|
-
- i.e. launch NodeJS via:
|
|
73
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
74
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
75
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
76
|
-
Also:
|
|
77
|
-
- normalize/restructure/reorg all package.json files
|
|
78
|
-
- cleanup all build scripts, remove obsolete
|
|
79
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
80
|
-
|
|
81
|
-
#### ♻️ Refactoring
|
|
82
|
-
|
|
83
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
84
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
85
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
86
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
87
|
-
- update imports (transducers) ([4707563](https://github.com/thi-ng/umbrella/commit/4707563))
|
|
88
|
-
- dedupe toggle() internals ([4b09d0e](https://github.com/thi-ng/umbrella/commit/4b09d0e))
|
|
89
|
-
|
|
90
|
-
### [4.0.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@4.0.17) (2020-12-07)
|
|
91
|
-
|
|
92
|
-
#### ♻️ Refactoring
|
|
93
|
-
|
|
94
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
95
|
-
|
|
96
|
-
# [4.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@4.0.0) (2020-06-07)
|
|
97
|
-
|
|
98
|
-
#### 🛑 Breaking changes
|
|
99
|
-
|
|
100
|
-
- remove adaptDPI() ([2b89ad4](https://github.com/thi-ng/umbrella/commit/2b89ad4))
|
|
101
|
-
- BREAKING CHANGE: re-use adaptDPI() from new [@thi.ng/adapt-dpi](https://github.com/thi-ng/umbrella/tree/main/packages/adapt-dpi) pkg
|
|
102
|
-
- update deps
|
|
103
|
-
|
|
104
|
-
### [3.2.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.2.9) (2020-05-14)
|
|
105
|
-
|
|
106
|
-
#### ♻️ Refactoring
|
|
107
|
-
|
|
108
|
-
- remove obsolete pager defaults ([f198835](https://github.com/thi-ng/umbrella/commit/f198835))
|
|
109
|
-
|
|
110
|
-
## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.2.0) (2020-03-06)
|
|
111
|
-
|
|
112
|
-
#### 🚀 Features
|
|
113
|
-
|
|
114
|
-
- import slideToggleDot/Rect() components ([a2d0158](https://github.com/thi-ng/umbrella/commit/a2d0158))
|
|
115
|
-
|
|
116
|
-
#### 🩹 Bug fixes
|
|
117
|
-
|
|
118
|
-
- fix total size calc in slideToggleRect() ([8f58b09](https://github.com/thi-ng/umbrella/commit/8f58b09))
|
|
119
|
-
|
|
120
|
-
### [3.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.1.10) (2020-02-25)
|
|
121
|
-
|
|
122
|
-
#### ♻️ Refactoring
|
|
123
|
-
|
|
124
|
-
- update imports ([b94f90b](https://github.com/thi-ng/umbrella/commit/b94f90b))
|
|
125
|
-
|
|
126
|
-
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.1.0) (2019-07-07)
|
|
127
|
-
|
|
128
|
-
#### 🚀 Features
|
|
129
|
-
|
|
130
|
-
- enable TS strict compiler flags (refactor) ([6233ba2](https://github.com/thi-ng/umbrella/commit/6233ba2))
|
|
131
|
-
|
|
132
|
-
#### 🩹 Bug fixes
|
|
133
|
-
|
|
134
|
-
- update CanvasHandler args ([080411f](https://github.com/thi-ng/umbrella/commit/080411f))
|
|
135
|
-
|
|
136
|
-
#### ♻️ Refactoring
|
|
137
|
-
|
|
138
|
-
- TS strictNullChecks ([112f41e](https://github.com/thi-ng/umbrella/commit/112f41e))
|
|
139
|
-
|
|
140
|
-
### [3.0.17](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.17) (2019-04-16)
|
|
141
|
-
|
|
142
|
-
#### 🩹 Bug fixes
|
|
143
|
-
|
|
144
|
-
- `this` handling in CanvasHandlers ([f104b64](https://github.com/thi-ng/umbrella/commit/f104b64))
|
|
145
|
-
- call all given handlers as method, not as standalone fn
|
|
146
|
-
|
|
147
|
-
### [3.0.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.9) (2019-03-10)
|
|
148
|
-
|
|
149
|
-
#### ♻️ Refactoring
|
|
150
|
-
|
|
151
|
-
- update Fn args in various packages ([e453ac3](https://github.com/thi-ng/umbrella/commit/e453ac3))
|
|
152
|
-
|
|
153
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@3.0.0) (2019-01-21)
|
|
154
|
-
|
|
155
|
-
#### 🛑 Breaking changes
|
|
156
|
-
|
|
157
|
-
- update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
|
|
158
|
-
- BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
|
|
159
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
160
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
161
|
-
- all imports MUST be updated to only refer to package level
|
|
162
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
163
|
-
all unused imported symbols
|
|
164
|
-
|
|
165
|
-
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.4.0) (2018-12-14)
|
|
166
|
-
|
|
167
|
-
#### 🚀 Features
|
|
168
|
-
|
|
169
|
-
- merge button & button group attribs ([da441c1](https://github.com/thi-ng/umbrella/commit/da441c1))
|
|
170
|
-
|
|
171
|
-
## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.3.0) (2018-12-13)
|
|
172
|
-
|
|
173
|
-
#### 🚀 Features
|
|
174
|
-
|
|
175
|
-
- add FPS counter & sparkline components, update deps ([ebd3380](https://github.com/thi-ng/umbrella/commit/ebd3380))
|
|
176
|
-
- add mergeAttribs() helper
|
|
177
|
-
|
|
178
|
-
#### ♻️ Refactoring
|
|
179
|
-
|
|
180
|
-
- emit int coords for sparkline ([73a298d](https://github.com/thi-ng/umbrella/commit/73a298d))
|
|
181
|
-
|
|
182
|
-
### [2.2.11](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.2.11) (2018-10-17)
|
|
183
|
-
|
|
184
|
-
#### 🩹 Bug fixes
|
|
185
|
-
|
|
186
|
-
- add Canvas2DContextAttributes (removed in TS3.1) ([775cc8a](https://github.com/thi-ng/umbrella/commit/775cc8a))
|
|
187
|
-
|
|
188
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.2.0) (2018-08-27)
|
|
189
|
-
|
|
190
|
-
#### 🚀 Features
|
|
191
|
-
|
|
192
|
-
- add HDPI adaptation helper for canvas comps ([135d6f1](https://github.com/thi-ng/umbrella/commit/135d6f1))
|
|
193
|
-
- add adaptDPI() and automatically call from init()
|
|
194
|
-
|
|
195
|
-
#### 🩹 Bug fixes
|
|
196
|
-
|
|
197
|
-
- call canvas update from init() ([b25edbe](https://github.com/thi-ng/umbrella/commit/b25edbe))
|
|
198
|
-
- previously update() was only called from 2nd frame onward
|
|
199
|
-
|
|
200
|
-
### [2.1.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.12) (2018-08-24)
|
|
201
|
-
|
|
202
|
-
#### ♻️ Refactoring
|
|
203
|
-
|
|
204
|
-
- update/replace deps (iterators => transducers) ([c17cb08](https://github.com/thi-ng/umbrella/commit/c17cb08))
|
|
205
|
-
|
|
206
|
-
### [2.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.1) (2018-05-10)
|
|
207
|
-
|
|
208
|
-
#### ♻️ Refactoring
|
|
209
|
-
|
|
210
|
-
- add ButtonGroup type alias ([b4476cb](https://github.com/thi-ng/umbrella/commit/b4476cb))
|
|
211
|
-
- update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
|
|
212
|
-
|
|
213
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.1.0) (2018-05-09)
|
|
214
|
-
|
|
215
|
-
#### 🚀 Features
|
|
216
|
-
|
|
217
|
-
- add pager component, add [@thi.ng/iterators](https://github.com/thi-ng/umbrella/tree/main/packages/iterators) dep ([efb288d](https://github.com/thi-ng/umbrella/commit/efb288d))
|
|
218
|
-
- add title component ([f9a2daf](https://github.com/thi-ng/umbrella/commit/f9a2daf))
|
|
219
|
-
- add button component ([cef3c6a](https://github.com/thi-ng/umbrella/commit/cef3c6a))
|
|
220
|
-
- add notification component ([a11803c](https://github.com/thi-ng/umbrella/commit/a11803c))
|
|
221
|
-
- add buttonGroup ([c0950d6](https://github.com/thi-ng/umbrella/commit/c0950d6))
|
|
222
|
-
|
|
223
|
-
#### ♻️ Refactoring
|
|
224
|
-
|
|
225
|
-
- make pager more customizable ([334a4d2](https://github.com/thi-ng/umbrella/commit/334a4d2))
|
|
226
|
-
- update button args ([ec41eb9](https://github.com/thi-ng/umbrella/commit/ec41eb9))
|
|
227
|
-
- update notification & appLink comps ([4f8e7ba](https://github.com/thi-ng/umbrella/commit/4f8e7ba))
|
|
228
|
-
- remove CanvasOpts, update re-exports ([cefb199](https://github.com/thi-ng/umbrella/commit/cefb199))
|
|
229
|
-
|
|
230
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@2.0.0) (2018-04-08)
|
|
231
|
-
|
|
232
|
-
#### 🛑 Breaking changes
|
|
233
|
-
|
|
234
|
-
- remove svg, update canvas (hdom context support) ([86d1f0d](https://github.com/thi-ng/umbrella/commit/86d1f0d))
|
|
235
|
-
- remove entire svg.ts
|
|
236
|
-
- remove [@thi.ng/hiccup](https://github.com/thi-ng/umbrella/tree/main/packages/hiccup) dependency
|
|
237
|
-
- update readme
|
|
238
|
-
- BREAKING CHANGE: SVG functionality has been moved to new
|
|
239
|
-
[@thi.ng/hiccup-svg](https://github.com/thi-ng/umbrella/tree/main/packages/hiccup-svg) package. Canvas component user fns have new args
|
|
240
|
-
- update canvas handlers, add webgl2 version ([7c88a3f](https://github.com/thi-ng/umbrella/commit/7c88a3f))
|
|
241
|
-
- add CanvasHandlers interface
|
|
242
|
-
- update canvas component to pass component args to handlers
|
|
243
|
-
- add/compute `time` arg (in addition to `frame`)
|
|
244
|
-
- add support for `release` handlers to cleanup webgl resources
|
|
245
|
-
- add `canvasWebGL2`
|
|
246
|
-
- add/update docs
|
|
247
|
-
- BREAKING CHANGE: canvas user handlers passed as object and taking
|
|
248
|
-
different / more args
|
|
249
|
-
- update dropdown components ([0873832](https://github.com/thi-ng/umbrella/commit/0873832))
|
|
250
|
-
- BREAKING CHANGE: add hdom context arg as first arg to `dropdown` and
|
|
251
|
-
`groupedDropdown`
|
|
252
|
-
|
|
253
|
-
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@1.1.0) (2018-03-29)
|
|
254
|
-
|
|
255
|
-
#### 🚀 Features
|
|
256
|
-
|
|
257
|
-
- add svg line() ([6cbacec](https://github.com/thi-ng/umbrella/commit/6cbacec))
|
|
258
|
-
|
|
259
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hdom-components@1.0.0) (2018-03-03)
|
|
260
|
-
|
|
261
|
-
#### 🛑 Breaking changes
|
|
262
|
-
|
|
263
|
-
- rename package hiccup-dom-component => hdom-components ([752a78b](https://github.com/thi-ng/umbrella/commit/752a78b))
|
|
264
|
-
- BREAKING CHANGE: rename package hiccup-dom-component => hdom-components
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 201 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/hdom-components",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.151",
|
|
4
4
|
"description": "Raw, skinnable UI & SVG components for @thi.ng/hdom",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -33,25 +33,23 @@
|
|
|
33
33
|
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
34
|
"clean": "bun ../../tools/src/clean-package.ts utils",
|
|
35
35
|
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
-
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
37
36
|
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
38
37
|
"pub": "yarn npm publish --access public",
|
|
39
38
|
"test": "bun test",
|
|
40
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
44
|
-
"@thi.ng/canvas": "^1.0.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/math": "^5.11.
|
|
47
|
-
"@thi.ng/transducers": "^9.2.
|
|
48
|
-
"@thi.ng/transducers-stats": "^2.2.
|
|
42
|
+
"@thi.ng/api": "^8.11.19",
|
|
43
|
+
"@thi.ng/canvas": "^1.0.5",
|
|
44
|
+
"@thi.ng/checks": "^3.6.22",
|
|
45
|
+
"@thi.ng/math": "^5.11.19",
|
|
46
|
+
"@thi.ng/transducers": "^9.2.17",
|
|
47
|
+
"@thi.ng/transducers-stats": "^2.2.11"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
52
50
|
"esbuild": "^0.24.2",
|
|
53
51
|
"typedoc": "^0.27.6",
|
|
54
|
-
"typescript": "^5.7.
|
|
52
|
+
"typescript": "^5.7.3"
|
|
55
53
|
},
|
|
56
54
|
"keywords": [
|
|
57
55
|
"browser",
|
|
@@ -114,5 +112,5 @@
|
|
|
114
112
|
"status": "beta",
|
|
115
113
|
"year": 2018
|
|
116
114
|
},
|
|
117
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
|
|
118
116
|
}
|