@imfusion/web-ui 0.11.0 → 0.11.1-dev.1.g5777bd0b
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
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Agent skills — Nikolaus Brunner <brunner@imfusion.com>
|
|
8
|
+
- `imf-web-ui-conventions` exempts React components from the explicit return type on exported functions.
|
|
9
|
+
- The `imf-web-ui-conventions` audit checklist names the assets box "Photographs: WebP", like its topic heading.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
3
13
|
## `0.11.0` 2026.10.20
|
|
4
14
|
|
|
5
15
|
### Highlights
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ Prefer pure functions, immutable values, and side effects at the edges.
|
|
|
6
6
|
|
|
7
7
|
- Do not use `any`. Accept `unknown` at an untrusted boundary and narrow it.
|
|
8
8
|
- Infer local values; give exported functions explicit return types.
|
|
9
|
+
- React components return their inferred JSX type. An annotation there adds no contract a caller relies on.
|
|
9
10
|
- TanStack options factories (`queryOptions`, `mutationOptions`, and similar) return their helper's inferred type. Spelling
|
|
10
11
|
it out loses the typed query key (`DataTag`) or repeats the helper's own generics.
|
|
11
12
|
- Model states directly instead of filling a nullable value later.
|