@cosmicdrift/kumiko-headless 0.233.0 → 0.234.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-headless",
3
- "version": "0.233.0",
3
+ "version": "0.234.0",
4
4
  "description": "Headless UI logic for Kumiko — Dispatcher contract, Form-Controller, View-Model, Nav-Resolver. Plattform- und React-frei; jeder Renderer (renderer, renderer-web, renderer-native, …) komponiert darauf.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -36,7 +36,7 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@cosmicdrift/kumiko-framework": "0.233.0",
39
+ "@cosmicdrift/kumiko-framework": "0.234.0",
40
40
  "temporal-polyfill": "^0.3.2",
41
41
  "zod": "^4.4.3"
42
42
  },
@@ -333,6 +333,7 @@ export function computeEditViewModel<
333
333
  }),
334
334
  columns: sectionSpec.columns ?? 1,
335
335
  fields,
336
+ ...(sectionSpec.icon !== undefined && { icon: sectionSpec.icon }),
336
337
  };
337
338
  });
338
339
 
@@ -3,6 +3,7 @@ import type {
3
3
  EditSectionSpec,
4
4
  FieldIconKey,
5
5
  FieldRenderer,
6
+ IconKey,
6
7
  ListColumnSpec,
7
8
  PlatformComponent,
8
9
  ScreenSlots,
@@ -261,6 +262,9 @@ export type EditFieldsSectionViewModel = {
261
262
  readonly description?: string;
262
263
  readonly columns: number;
263
264
  readonly fields: readonly EditFieldViewModel[];
265
+ /** From `EditFieldsSection.icon` — closed IconKey vocabulary, renders
266
+ * left of the title. No effect without `title`. */
267
+ readonly icon?: IconKey;
264
268
  };
265
269
 
266
270
  export type EditExtensionSectionViewModel = {