@cosmicdrift/kumiko-framework 0.136.1 → 0.137.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-framework",
3
- "version": "0.136.1",
3
+ "version": "0.137.0",
4
4
  "description": "Framework core — engine, pipeline, API, DB, and every other bit that makes Kumiko go.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -189,7 +189,7 @@
189
189
  "zod": "^4.4.3"
190
190
  },
191
191
  "devDependencies": {
192
- "@cosmicdrift/kumiko-dispatcher-live": "0.136.1",
192
+ "@cosmicdrift/kumiko-dispatcher-live": "0.137.0",
193
193
  "bun-types": "^1.3.13",
194
194
  "pino-pretty": "^13.1.3"
195
195
  },
@@ -353,6 +353,16 @@ export type DashboardStatPanel = {
353
353
  readonly deltaField?: string;
354
354
  readonly deltaDirectionField?: string;
355
355
  readonly deltaToneField?: string;
356
+ /** Statisches Icon neben dem Label — anders als value/sub/delta variiert
357
+ * das Icon nicht pro Query-Result, sondern ist eine Author-Entscheidung
358
+ * wie das Panel selbst. Aufgelöst über dieselbe extensionSectionComponents-
359
+ * Registry wie custom-Panels; die registrierte Komponente ignoriert
360
+ * typischerweise entityName/entityId/filterParams (kein Entity-Kontext
361
+ * für ein reines Icon). */
362
+ readonly icon?: PlatformComponent;
363
+ /** Statischer CSS-Farbwert (z.B. "var(--color-debt)") für den Icon-Chip —
364
+ * Passthrough an die Kachel, keine Registry, kein Lookup. */
365
+ readonly accentColor?: string;
356
366
  };
357
367
 
358
368
  // Query-Result-Contract: `{ points: { atMs, value | null }[],