@cosmicdrift/kumiko-renderer 0.139.0 → 0.141.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-renderer",
3
- "version": "0.139.0",
3
+ "version": "0.141.0",
4
4
  "description": "Platform-agnostic React renderer for Kumiko screens. Contains the shared logic — primitives-contract, hooks, KumikoScreen, navigation & SSE abstractions — that any platform-specific renderer (web, native) composes. No DOM, no EventSource, no react-dom.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -15,8 +15,8 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@cosmicdrift/kumiko-framework": "0.139.0",
19
- "@cosmicdrift/kumiko-headless": "0.139.0",
18
+ "@cosmicdrift/kumiko-framework": "0.141.0",
19
+ "@cosmicdrift/kumiko-headless": "0.141.0",
20
20
  "react": "^19.2.6"
21
21
  },
22
22
  "devDependencies": {
@@ -72,6 +72,13 @@ export type ButtonProps = {
72
72
  /** Größe — default="md". "sm" für kompakte Inline-Aktionen (Toolbar,
73
73
  * Listen-Zeilen), "icon" für quadratische Icon-only-Buttons. */
74
74
  readonly size?: "sm" | "md" | "icon";
75
+ /** Barrierefreies Label — Pflicht bei icon-only-Buttons (children ist nur
76
+ * ein Icon/Zeichen), sonst hat der Button keinen zugänglichen Namen. */
77
+ readonly ariaLabel?: string;
78
+ /** Breite — default="auto" (inhaltsbreit). "full" streckt CTA-Buttons auf
79
+ * die Container-Breite (Karten/Panels). Andere Breiten sind Layout-Sache
80
+ * des Containers, kein Button-Prop (Kit hält arbiträres Sizing draußen). */
81
+ readonly width?: "full" | "auto";
75
82
  readonly children: ReactNode;
76
83
  readonly testId?: string;
77
84
  };